Snort mailing list archives

Snort 2.3.0 RC2 with INLINE compilation problems


From: "Julio E. Gonzalez P." <jegp () netvision com py>
Date: Thu, 16 Dec 2004 11:54:15 -0300

*I trying to compile snort 2.3.0rc2 with inline support, in a Fedora Core 2 distro.

First I install libnet-1.0.2a.tar.gz  (./configure ; make ; make install ).

Then, I install snort-2.3.0RC2.tar.gz (./configure --enable-inline ; make )... but the compile fails with this messages....*
*Anyone know why this happens?

Julio.*

--------------------------------------------------------------------------------------------------------------------------------
Making all in output-plugins
make[3]: Entering directory `/root/snort/snort-2.3.0RC2/src/output-plugins'
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/include/pcre -I/usr/include -g -O2 -Wall -DGIDS -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f 'spo_alert_fast.c' || echo './'`spo_alert_fast.c
In file included from /usr/include/linux/netfilter_ipv4/ip_queue.h:10,
                from /usr/include/libipq.h:37,
                from ../../src/inline.h:8,
                from ../../src/snort.h:36,
                from spo_alert_fast.c:51:
/usr/include/linux/if.h:59: error: redefinition of `struct ifmap'
/usr/include/linux/if.h:77: error: redefinition of `struct ifreq'
/usr/include/linux/if.h:126: error: redefinition of `struct ifconf'
make[3]: *** [spo_alert_fast.o] Error 1
make[3]: Leaving directory `/root/snort/snort-2.3.0RC2/src/output-plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/snort/snort-2.3.0RC2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/snort/snort-2.3.0RC2'
make: *** [all] Error 2
-----------------------------------------------------------------------------------------------------------------------------------


Current thread: