Skip to content

Instantly share code, notes, and snippets.

@ivanoats
Created February 7, 2011 22:55
Show Gist options
  • Save ivanoats/815456 to your computer and use it in GitHub Desktop.
Save ivanoats/815456 to your computer and use it in GitHub Desktop.
chkrootkit output
ivan:~/src/chkrootkit-0.49 → make sense
gcc -DHAVE_LASTLOG_H -o chklastlog chklastlog.c
chklastlog.c:85: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96)
chklastlog.c: In function ‘main’:
chklastlog.c:97: warning: ‘lastlog’ is deprecated (declared at /usr/include/utmp.h:90)
chklastlog.c:98: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96)
chklastlog.c:154: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96)
chklastlog.c:155: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96)
chklastlog.c:166: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘int’
chklastlog.c:166: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘uid_t’
chklastlog.c:167: warning: incompatible implicit declaration of built-in function ‘exit’
chklastlog.c:172: warning: ‘lastlog’ is deprecated (declared at /usr/include/utmp.h:90)
chklastlog.c:173: warning: ‘lastlog’ is deprecated (declared at /usr/include/utmp.h:90)
chklastlog.c:175: warning: ‘lastlog’ is deprecated (declared at /usr/include/utmp.h:90)
chklastlog.c: At top level:
chklastlog.c:206: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96)
chklastlog.c: In function ‘read_pwd’:
chklastlog.c:240: warning: incompatible implicit declaration of built-in function ‘malloc’
gcc -DHAVE_LASTLOG_H -o chkwtmp chkwtmp.c
chkwtmp.c: In function ‘main’:
chkwtmp.c:57: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96)
chkwtmp.c:79: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96)
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
gcc -o chkdirs chkdirs.c
gcc -o check_wtmpx check_wtmpx.c
gcc -static -o strings-static strings.c
ld: library not found for -lcrt0.o
collect2: ld returned 1 exit status
make: *** [strings-static] Error 1
ivan:~/src/chkrootkit-0.49 →
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment