[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: "Casselman, Chad" <chad.casselman@xxxxxxxxxx>
- Date: Sat Apr 14 02:11:00 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> Sent: Saturday, April 14, 2001 12:59 AM
> 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
WOW! Don't know how you figured that one out but thank you so much.
chad