[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] chkrootkit on RAQ2
- Subject: Re: [cobalt-users] chkrootkit on RAQ2
- From: flash22@xxxxxxx
- Date: Fri Apr 13 14:43:00 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Fri, 13 Apr 2001, Casselman, Chad wrote:
> I am having trouble making chkrootkit. Can someone help?
> *** stoping make sense ***
> make[1]: Entering directory `/home/sites/site7/chkrootkit-0.31'
> /usr/include/linux/socket.h:42: warning: `AF_UNIX' redefined
Welcome to the Raq2 build environment ;)
Ok, horrible hack to make it compile....
1:) Edit the Make file, find the line that starts CFLAGS (line 6)
add to it so it looks thus:
CFLAGS = -DHAVE_LASTLOG_H -D_LINUX_SOCKET_H
ok, now the nasty part....you have to fix a booboo in one of the system
include files, fixing it breaks kernel compiles, so if you were gonna
compile a kernel , remember to put it back later ;)
in /usr/include/asm/posix_types.h
go down to line 32
typedef __SSIZE_TYPE__ __kernel_ssize_t;
change it to
//typedef __SSIZE_TYPE__ __kernel_ssize_t;
Now chkrootkit will build....
---
gsh