[Snort-users] snort-2.3.2 build fails on FC3

Florin Andrei florin at ...13138...
Sun Mar 27 12:38:21 EST 2005


Sorry, nevermind, this is a snort-inline FAQ item.

On Sun, 2005-03-27 at 12:15 -0800, Florin Andrei wrote:
> While building 2.3.2 on Linux Fedora Core 3:
> 
> ###################################################
> $ ./configure --enable-perfmonitor --enable-linux-smp-stats --enable-
> inline
> [snip]
> $ make
> [snip]
> make[3]: Entering directory `/home/florin/work/snort-2.3.2/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 -DUSE_SF_STATS -DLINUX_SMP -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 `/home/florin/work/snort-2.3.2/src/output-
> plugins'
> ###################################################
> 
> I will try to identify the cause and fix it, but of course any
> suggestion is welcome.
> 
-- 
Florin Andrei

http://florin.myip.org/





More information about the Snort-users mailing list