[Snort-users] Problems with make (flexresp).

VALUENETUK john at ...7696...
Sun Dec 8 12:44:03 EST 2002


Hi,

I've seen this problem posted on the group but have not been able to find a
satisfactory answer or reason to why it happens anywhere.

I'm running make and get the compile errors as outlined below. Initially I
thought libnet might be missing something, but after downloading a new
version several times still the same problem. I've also subsequently edited
the ./configure script to make sure it's pointed at the right libnet
libraries etc. The code still errors out. It only happens when creating
using flexresp, otherwise no problem. Can someone point me in the right
direction?

Thanks.

----------------------------------------------------------------------------

sp_react.c: In function `ReactInit':
sp_react.c:146: warning: implicit declaration of function
`libnet_open_raw_sock'
sp_react.c: In function `SendTCP':
sp_react.c:444: `IP_H' undeclared (first use in this function)
sp_react.c:444: (Each undeclared identifier is reported only once
sp_react.c:444: for each function it appears in.)
sp_react.c:444: `TCP_H' undeclared (first use in this function)
sp_react.c:456: warning: implicit declaration of function `libnet_build_ip'
sp_react.c:458: `PRu16' undeclared (first use in this function)
sp_react.c:478: warning: passing arg 8 of `libnet_build_tcp' makes integer
from pointer without a cast
sp_react.c:478: too few arguments to function `libnet_build_tcp'
sp_react.c:480: warning: passing arg 1 of `libnet_do_checksum' from
incompatible pointer type
sp_react.c:480: warning: passing arg 2 of `libnet_do_checksum' makes pointer
from integer without a cast
sp_react.c:480: too few arguments to function `libnet_do_checksum'
sp_react.c:482: warning: implicit declaration of function `libnet_write_ip'
sp_react.c:484: warning: implicit declaration of function `libnet_error'
sp_react.c:484: `LIBNET_ERR_CRITICAL' undeclared (first use in this
function)
sp_react.c:488: warning: implicit declaration of function
`libnet_destroy_packet'
make[3]: *** [sp_react.o] Error 1
make[3]: Leaving directory `/usr/local/snort-1.9.0/src/detection-plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/snort-1.9.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/snort-1.9.0'
make: *** [all-recursive-am] Error 2






More information about the Snort-users mailing list