Kev King
15th July 2008, 11:59
Am following the Chkrootkit-Portsentry-Howto and have encountered the following error:
rymach:/tmp# tar xvfz portsentry-1.2.tar.gz
portsentry_beta/
portsentry_beta/portsentry.c
portsentry_beta/portsentry.h
portsentry_beta/portsentry_io.c
portsentry_beta/portsentry_io.h
portsentry_beta/portsentry_util.c
portsentry_beta/portsentry_util.h
portsentry_beta/portsentry_config.h
portsentry_beta/portsentry_tcpip.h
portsentry_beta/portsentry.ignore
portsentry_beta/portsentry.conf
portsentry_beta/Makefile
portsentry_beta/README.COMPAT
portsentry_beta/README.install
portsentry_beta/README.methods
portsentry_beta/README.stealth
portsentry_beta/CHANGES
portsentry_beta/CREDITS
portsentry_beta/LICENSE
portsentry_beta/ignore.csh
rymach:/tmp# cd portsentry_beta/
rymach:/tmp/portsentry_beta# make linux
SYSTYPE=linux
Making
cc -O -Wall -DLINUX -DSUPPORT_STEALTH -o ./portsentry ./portsentry.c \
./portsentry_io.c ./portsentry_util.c
./portsentry.c: In function âPortSentryModeTCPâ:
./portsentry.c:1187: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness
./portsentry.c: In function âPortSentryModeUDPâ:
./portsentry.c:1384: warning: pointer targets in passing argument 6 of ârecvfromâ differ in signedness
./portsentry.c: In function âUsageâ:
./portsentry.c:1584: error: missing terminating " character
./portsentry.c:1585: error: âsourceforgetâ undeclared (first use in this function)
./portsentry.c:1585: error: (Each undeclared identifier is reported only once
./portsentry.c:1585: error: for each function it appears in.)
./portsentry.c:1585: error: expected â)â before âdotâ
./portsentry.c:1585: error: stray â\â in program
./portsentry.c:1585: error: missing terminating " character
./portsentry.c:1595: error: expected â;â before â}â token
make: *** [linux] Error 1
Chkrootkit installed no problem, cant seem to find any error's.
Have re-downloaded Portsentry, but still the same problem.
Any suggestions. Running Debian etch.
Thanks Kev King
I think I have installed it, it still comes up with the above error when installing. But it has been set up in the directory as per the Howto.
Will give it a couple of days and see what the output is to see if its working.
rymach:/tmp# tar xvfz portsentry-1.2.tar.gz
portsentry_beta/
portsentry_beta/portsentry.c
portsentry_beta/portsentry.h
portsentry_beta/portsentry_io.c
portsentry_beta/portsentry_io.h
portsentry_beta/portsentry_util.c
portsentry_beta/portsentry_util.h
portsentry_beta/portsentry_config.h
portsentry_beta/portsentry_tcpip.h
portsentry_beta/portsentry.ignore
portsentry_beta/portsentry.conf
portsentry_beta/Makefile
portsentry_beta/README.COMPAT
portsentry_beta/README.install
portsentry_beta/README.methods
portsentry_beta/README.stealth
portsentry_beta/CHANGES
portsentry_beta/CREDITS
portsentry_beta/LICENSE
portsentry_beta/ignore.csh
rymach:/tmp# cd portsentry_beta/
rymach:/tmp/portsentry_beta# make linux
SYSTYPE=linux
Making
cc -O -Wall -DLINUX -DSUPPORT_STEALTH -o ./portsentry ./portsentry.c \
./portsentry_io.c ./portsentry_util.c
./portsentry.c: In function âPortSentryModeTCPâ:
./portsentry.c:1187: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness
./portsentry.c: In function âPortSentryModeUDPâ:
./portsentry.c:1384: warning: pointer targets in passing argument 6 of ârecvfromâ differ in signedness
./portsentry.c: In function âUsageâ:
./portsentry.c:1584: error: missing terminating " character
./portsentry.c:1585: error: âsourceforgetâ undeclared (first use in this function)
./portsentry.c:1585: error: (Each undeclared identifier is reported only once
./portsentry.c:1585: error: for each function it appears in.)
./portsentry.c:1585: error: expected â)â before âdotâ
./portsentry.c:1585: error: stray â\â in program
./portsentry.c:1585: error: missing terminating " character
./portsentry.c:1595: error: expected â;â before â}â token
make: *** [linux] Error 1
Chkrootkit installed no problem, cant seem to find any error's.
Have re-downloaded Portsentry, but still the same problem.
Any suggestions. Running Debian etch.
Thanks Kev King
I think I have installed it, it still comes up with the above error when installing. But it has been set up in the directory as per the Howto.
Will give it a couple of days and see what the output is to see if its working.