[prev in list] [next in list] [prev in thread] [next in thread] 

List:       chkrootkit-users
Subject:    Re: [crt-users] Feedback on chkrootkit on Solaris 8
From:       Nelson Murilo <nelson () pangeia ! com ! br>
Date:       2003-02-17 21:32:24
[Download RAW message or body]


Hi Ted,

try you uncomment solaris lines in Makefile? 

> >I've tried downloading and installing chkrootkit 0.39a on Solaris 8 from
> >the source, obtained from www.chkrootkit.org.  I'm running Solaris 8 on a
> >SunFire 280R.  As per the README, I just tried running 'make sense' to
> >build it.  Here are the results: bash-2.03# make sense
> >gcc -DHAVE_LASTLOG_H -o chklastlog chklastlog.c
> >chklastlog.c:86: parse error before `struct'
> >chklastlog.c: In function `main':
> >chklastlog.c:98: storage size of `lastlog_ent' isn't known
> >chklastlog.c:135: `O_RDONLY' undeclared (first use in this function)
> >chklastlog.c:135: (Each undeclared identifier is reported only once
> >chklastlog.c:135: for each function it appears in.)
> >chklastlog.c:173: sizeof applied to an incomplete type
> >chklastlog.c:174: sizeof applied to an incomplete type
> >chklastlog.c:176: sizeof applied to an incomplete type
> >chklastlog.c: At top level:
> >chklastlog.c:205: parse error before `struct'
> >make: *** [chklastlog] Error 1
> >bash-2.03#
> >
> >Here's the version of gcc I'm using:
> >bash-2.03# gcc -v
> >Reading specs from
> >/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs gcc version
> >2.95.3 20010315 (release)
> >
> >I then tried getting the package from www.sunfreeware.com's mirror at
> >unc.edu:
> >ftp://metalab.unc.edu/pub/solaris/freeware/sparc/8/chkrootkit-0.39-sol8-s
> >pa rc-local.gz
> >
> >I can decompress the file with gzip -d, but my system doesn't even seem
> >to recognize it as a package file.  But it looks like one.  Here are the
> >results from 'head chkrootkit-0.39-sol8-sparc-local':
> ># PaCkAgE DaTaStReAm
> >SMCchkroot 1 730
> ># end of header
> >NAME=chkrootkit
> >ARCH=sparc
> >VERSION=0.39
> >CATEGORY=application
> >VENDOR=Nelson Murilo
> >EMAIL=steve@smc.vnet.net
> >PSTAMP=Steve Christensen
> >
> >So just for the heck of it, I downloaded and installed an older version,
> >v0.35, from the same site:
> >ftp://metalab.unc.edu/pub/solaris/freeware/sparc/8/chkrootkit-0.35-sol8-s
> >pa rc-local.gz, and that one installs fine.
> >
> >So I guess something has changed in how the 0.35 and 0.39 packages are
> >built?  Or maybe pkgadd changed between releases?  What do I need to
> >change to get the program to compile?  A different version of gcc, or ...?
> >
> >Thanks,
> >Ted Fines
> >Macalester College
> >
> 
> 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic