[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

error in compiling satan



Hello all, I got some problem while compiling satan, at 

gulp#perl ./reconfig
	.
	. every thing is okay, until
checking for all commands
can not find  ypcat
can not find  ypwhich

please tell me where can I get those..?

furthermore.. when I do "make" as root, I got error as below

make[2]: Entering directory `/root/satan-1.1.1/src/port_scan'
cc -O -I/root/satan-1.1.1/include -DAUTH_GID_T=int   -c tcp_scan.c -o
tcp_scan.o
tcp_scan.c: In function `receive_icmp':
tcp_scan.c:495: `ICMP_MINLEN' undeclared (first use this function)
tcp_scan.c:495: (Each undeclared identifier is reported only once
tcp_scan.c:495: for each function it appears in.)
tcp_scan.c:502: dereferencing pointer to incomplete type
tcp_scan.c:502: `ICMP_UNREACH' undeclared (first use this function)
tcp_scan.c:508: dereferencing pointer to incomplete type
tcp_scan.c:508: dereferencing pointer to incomplete type
tcp_scan.c:512: dereferencing pointer to incomplete type
tcp_scan.c:532: dereferencing pointer to incomplete type
tcp_scan.c:533: `ICMP_UNREACH_NET' undeclared (first use this function)
tcp_scan.c:534: `ICMP_UNREACH_PROTOCOL' undeclared (first use this
function)
tcp_scan.c:537: `ICMP_UNREACH_PORT' undeclared (first use this function)
tcp_scan.c:538: `ICMP_UNREACH_HOST' undeclared (first use this function)
make[2]: *** [tcp_scan.o] Error 1
make[2]: Leaving directory `/root/satan-1.1.1/src/port_scan'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/satan-1.1.1'
make: *** [linux] Error 2

can somebody tell me what should I do to make my satan work? Please..

thanks
kusuma
make[2]: Entering directory `/root/satan-1.1.1/src/port_scan'
cc -O -I/root/satan-1.1.1/include -DAUTH_GID_T=int   -c tcp_scan.c -o tcp_scan.o
tcp_scan.c: In function `receive_icmp':
tcp_scan.c:495: `ICMP_MINLEN' undeclared (first use this function)
tcp_scan.c:495: (Each undeclared identifier is reported only once
tcp_scan.c:495: for each function it appears in.)
tcp_scan.c:502: dereferencing pointer to incomplete type
tcp_scan.c:502: `ICMP_UNREACH' undeclared (first use this function)
tcp_scan.c:508: dereferencing pointer to incomplete type
tcp_scan.c:508: dereferencing pointer to incomplete type
tcp_scan.c:512: dereferencing pointer to incomplete type
tcp_scan.c:532: dereferencing pointer to incomplete type
tcp_scan.c:533: `ICMP_UNREACH_NET' undeclared (first use this function)
tcp_scan.c:534: `ICMP_UNREACH_PROTOCOL' undeclared (first use this function)
tcp_scan.c:537: `ICMP_UNREACH_PORT' undeclared (first use this function)
tcp_scan.c:538: `ICMP_UNREACH_HOST' undeclared (first use this function)
make[2]: *** [tcp_scan.o] Error 1
make[2]: Leaving directory `/root/satan-1.1.1/src/port_scan'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/satan-1.1.1'
make: *** [linux] Error 2

Reply to: