From: James B. <jl...@bo...> - 2005-10-24 14:33:21
|
On 25/10/2005, at 12:09 AM, Jason wrote: > I did not use the 2.3.0-RC1 inline port. I used snort proper from > snort.org with it's native inline capabilities. You will need to > provide > a config.guess for the OS X box or just use fink to install the > libnet. Have just installed Fink and used it to install libnet 1.1.0-3 and now I have got the ./configure line to work. Running make now! Lots of warnings about pointers differing in signness. Actually, it has now failed: inline.c:420: warning: passing argument 1 of 'libnet_do_checksum' from incompatible pointer type inline.c:420: warning: passing argument 2 of 'libnet_do_checksum' makes pointer from integer without a cast inline.c:420: error: too few arguments to function 'libnet_do_checksum' inline.c:422: warning: implicit declaration of function 'libnet_error' inline.c:422: error: 'LIBNET_ERR_CRITICAL' undeclared (first use in this function) inline.c:427: warning: implicit declaration of function 'libnet_write_ip' inline.c:451: error: 'ICMP_UNREACH_H' undeclared (first use in this function) inline.c:460: warning: passing argument 1 of 'libnet_do_checksum' from incompatible pointer type inline.c:460: warning: passing argument 2 of 'libnet_do_checksum' makes pointer from integer without a cast inline.c:460: error: too few arguments to function 'libnet_do_checksum' inline.c: In function 'HandlePacket': inline.c:699: warning: unused variable 'status' make[3]: *** [inline.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Any suggestions? Thanks, James. > > James Brown wrote: > >> Have just tried to install snort_inline-2.3.0-RC1 as per Nick's >> instructions. Unfortunately, after typing ./configure --enable-- >> inline >> --enable-ipfw I get: >> >> checking for pcre_compile in -lpcre... yes >> checking "for libnet.h version 1.0.x"... >> >> ********************************************** >> ERROR: unable to find libnet 1.0.x (libnet.h) >> checked in the following places >> ********************************************** |