Snort mailing list archives

RE: Unable to compile snort with inline enabled


From: James Lay <jlay () ameriben com>
Date: Sat, 19 Feb 2005 08:36:14 -0700

Yea ok solved....never use --enable-inline and --enable-ipfw on the SAME
LINE =D  Thanks to Will Metcalf for the quick fix.

James

-----Original Message-----
From: James Lay [mailto:jlay () ameriben com]
Sent: Saturday, February 19, 2005 8:21 AM
To: Snort-Users (E-mail)
Subject: [Snort-users] Unable to compile snort with inline enabled


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 () 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


-------------------------------------------------------
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 () 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: