[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] chkrootkit (ifpromisc compile problems)
- Subject: [cobalt-users] chkrootkit (ifpromisc compile problems)
- From: Michael Schumacher <cobaltraq@xxxxxxxx>
- Date: Fri Feb 16 09:33:47 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Has anyone successfully compiled ifpromisc on thier RAQ? I keep getting a
boatload of compile errors.(see below, if you care)
BTW, I had to modify chkwtmp.c and chklastlog.c to look in the /var/admtemp
directory instead of /var/adm in order to get them to run properly.
Also, I put a file in cron.hourly with the path to chkrootkit and it sent
the admin of the box an e-mail with the output. Cool!
Here are the compile errors for ifpromisc:
[root chkrootkit-0.22]# make ifpromisc
gcc -DHAVE_LASTLOG_H -Wall -o ifpromisc ifpromisc.c
In file included from /usr/include/linux/if.h:23,
from ifpromisc.c:28:
/usr/include/linux/socket.h:41: warning: `AF_UNSPEC' redefined
/usr/include/socketbits.h:55: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:42: warning: `AF_UNIX' redefined
/usr/include/socketbits.h:56: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:43: warning: `AF_INET' redefined
/usr/include/socketbits.h:59: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:44: warning: `AF_AX25' redefined
/usr/include/socketbits.h:60: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:45: warning: `AF_IPX' redefined
/usr/include/socketbits.h:61: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:46: warning: `AF_APPLETALK' redefined
/usr/include/socketbits.h:62: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:47: warning: `AF_NETROM' redefined
/usr/include/socketbits.h:63: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:48: warning: `AF_BRIDGE' redefined
/usr/include/socketbits.h:64: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:49: warning: `AF_AAL5' redefined
/usr/include/socketbits.h:65: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:50: warning: `AF_X25' redefined
/usr/include/socketbits.h:66: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:54: warning: `AF_MAX' redefined
/usr/include/socketbits.h:72: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:57: warning: `PF_UNSPEC' redefined
/usr/include/socketbits.h:36: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:58: warning: `PF_UNIX' redefined
/usr/include/socketbits.h:37: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:59: warning: `PF_INET' redefined
/usr/include/socketbits.h:40: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:60: warning: `PF_AX25' redefined
/usr/include/socketbits.h:41: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:61: warning: `PF_IPX' redefined
/usr/include/socketbits.h:42: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:62: warning: `PF_APPLETALK' redefined
/usr/include/socketbits.h:43: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:63: warning: `PF_NETROM' redefined
/usr/include/socketbits.h:44: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:64: warning: `PF_BRIDGE' redefined
/usr/include/socketbits.h:45: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:65: warning: `PF_AAL5' redefined
/usr/include/socketbits.h:46: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:66: warning: `PF_X25' redefined
/usr/include/socketbits.h:47: warning: this is the location of the previous
definition
/usr/include/linux/socket.h:70: warning: `PF_MAX' redefined
/usr/include/socketbits.h:52: warning: this is the location of the previous
definition
In file included from /usr/include/linux/if.h:23,
from ifpromisc.c:28:
/usr/include/linux/socket.h:9: redefinition of `struct sockaddr'
/usr/include/linux/socket.h:14: redefinition of `struct linger'
/usr/include/linux/socket.h:26: redefinition of `struct msghdr'
ifpromisc.c: In function `main':
ifpromisc.c:131: warning: unused variable `ap'
ifpromisc.c:130: warning: unused variable `sa'
make: *** [ifpromisc] Error 1
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup