[Cialug] chkrootkit compile

David Champion dchampion at visionary.com
Thu Apr 27 10:13:53 CDT 2006


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



More information about the Cialug mailing list