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

James Lay jlay at ...12717...
Sat Feb 19 07:19:51 EST 2005

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
-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
`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!!!

More information about the Snort-users mailing list