I have been trying to install chkrootkit in a sun 2.6 server. When I first
tried I did not have gcc installed, so I have installed
When I then ran the make sense I received the following error....
[sinclair]/opt/chkrootkit-0.39a > /usr/xpg4/bin/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'
*** Error code 1
make: Fatal error: Command failed for target `chklastlog'
Thanks for your help.