[Cialug] chkrootkit compile
David Champion
dchampion at visionary.com
Thu Apr 27 11:09:46 CDT 2006
I did have glibc-devel, but not glibc-static-devel. Installed that, and
it worked.
Thanks for the nudge in the right direction...
-dc
Dave Weis wrote:
>
> Make sure you have glibc-devel installed
>
> On Thu, 27 Apr 2006, David Champion wrote:
>
>> Trying to compile chkrootkit-0.46a on a Mandriva 2006 box, it's
>> complaining about "/usr/bin/ld: cannot find -lc". Any ideas? Here's
>> the full transcript (after a "make clean") ...
>>
>> # make sense
>> gcc -DHAVE_LASTLOG_H -o chklastlog chklastlog.c
>> gcc -DHAVE_LASTLOG_H -o chkwtmp chkwtmp.c
>> chkwtmp.c: In function 'main':
>> chkwtmp.c:95: warning: incompatible implicit declaration of built-in
>> function 'exit'
>> gcc -DHAVE_LASTLOG_H -D_FILE_OFFSET_BITS=64 -o ifpromisc ifpromisc.c
>> gcc -o chkproc chkproc.c
>> chkproc.c: In function 'main':
>> chkproc.c:230: warning: incompatible implicit declaration of built-in
>> function 'strcpy'
>> gcc -o chkdirs chkdirs.c
>> gcc -o check_wtmpx check_wtmpx.c
>> gcc -static -o strings-static strings.c
>> /usr/bin/ld: cannot find -lc
>> collect2: ld returned 1 exit status
>> make: *** [strings-static] Error 1
>>
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> http://cialug.org/mailman/listinfo/cialug
>>
>
More information about the Cialug
mailing list