[Snort-users] Unable to compile snort with inline enabled

Will Metcalf william.metcalf at ...11827...
Sat Feb 19 07:28:27 EST 2005


what are you passing to ./configure?  and what are you trying to
compile inline support for?    FreeBSD or linux?  You cannot use both
the --enable-inline and --enable-ipfw configure options.  The
--enable-inline option is for use with Linux and iptables.  The
--enable-ipfw option is for FreeBSD and ipfw.

Regards,

Will


On Sat, 19 Feb 2005 08:20:56 -0700, James Lay <jlay at ...12717...> wrote:
> Here's the info:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil
> -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins
> -I../src/preprocessors -I../src/preprocessors/flow
> -I../src/preprocessors/portscan  -I../src/preprocessors/flow/int-snort
> -I../src/preprocessors/HttpInspect/include  -I/usr/local/mysql/include/mysql
> -DENABLE_MYSQL -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
> -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include
> -O2 -march=i486 -mcpu=i686 -Wall -DUSE_SF_STATS -DGIDS -DIPFW -D_BSD_SOURCE
> -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c
> `test -f 'inline.c' || echo './'`inline.c
> inline.c: In function `InitInline':
> inline.c:194: warning: unused variable `status'
> inline.c: In function `IpfwLoop':
> inline.c:302: `IPPROTO_DIVERT' undeclared (first use in this function)
> inline.c:302: (Each undeclared identifier is reported only once
> inline.c:302: for each function it appears in.)
> inline.c: In function `HandlePacket':
> inline.c:684: warning: unused variable `status'
> make[3]: *** [inline.o] Error 1
> make[3]: Leaving directory `/home/jlay/temp/snort-2.3.0/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/jlay/temp/snort-2.3.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/jlay/temp/snort-2.3.0'
> make: *** [all] Error 2
> 
> Anyway to find out how to fix this?  Thanks!
> 
> James Lay
> Network Manager/Security Officer
> AmeriBen Solutions/IEC Group
> Semper Vigilans!!!
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Snort-users mailing list
> Snort-users at 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
>




More information about the Snort-users mailing list