Snort mailing list archives
Problems with make (flexresp).
From: "VALUENETUK" <john () valuenetuk com>
Date: Sun, 8 Dec 2002 20:43:37 -0000
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 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Problems with make (flexresp). VALUENETUK (Dec 08)
- Re: Problems with make (flexresp). James-lists (Dec 08)
- Re: Problems with make (flexresp). John D. Caine (Dec 09)
- Re: Problems with make (flexresp). James-lists (Dec 08)