[Snort-devel] make fails on OpenBSD 2.9 if.h

Eugene Tsyrklevich eugene at ...223...
Sat Aug 25 14:26:39 EDT 2001


you are missing the following patch
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/if.h.diff?r1=1.25&r2=1.26


On Tue, Aug 21, 2001 at 09:52:08PM +0500, Tye F. Hammerle wrote:
> Bug reports should be sent to roesch at ...16..., cc to
> snort-devel at lists.sourceforge.net (Snort Developers mailing list)
> 
> Please include the following information with your report:
> 
> System Architecture = x86
> Operating System and version = OpenBSD 2.9 release
> What rules (if any) you were using = none
> What command line switches you were using = none
> Any Snort error messages = none
> Compile error messages = only if --enable-flexresp is used 
> 
> libnet-1.0.2a installed
> 
> ./configure --enable-flexresp   
> 
> make
> {last line of output prior to errors}
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -DENABLE_SSL -I/usr/include  -g -O2 -
> Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c 
> sp_respond.c
> In file included from snort.h:54,
>                  from sp_respond.h:23,
>                  from sp_respond.c:35:
> /usr/include/net/if.h:80: redefinition of `struct if_data'
> /usr/include/net/if.h:116: redefinition of `struct ifnet_head'
> /usr/include/net/if.h:125: redefinition of `struct ifnet'
> /usr/include/net/if.h:149: redefinition of `struct ifqueue'
> /usr/include/net/if.h:251: redefinition of `struct ifaddr'
> /usr/include/net/if.h:272: redefinition of `struct ifprefix'
> /usr/include/net/if.h:284: redefinition of `struct if_msghdr'
> /usr/include/net/if.h:298: redefinition of `struct ifa_msghdr'
> /usr/include/net/if.h:314: redefinition of `struct ifreq'
> /usr/include/net/if.h:334: redefinition of `struct ifaliasreq'
> /usr/include/net/if.h:342: redefinition of `struct ifmediareq'
> /usr/include/net/if.h:359: redefinition of `struct ifconf'
> /usr/include/net/if.h:372: redefinition of `struct if_laddrreq'
> /usr/include/net/if.h:381: redefinition of `struct if_nameindex'
> In file included from /usr/include/net/if.h:395,
>                  from snort.h:54,
>                  from sp_respond.h:23,
>                  from sp_respond.c:35:
> /usr/include/net/if_arp.h:49: redefinition of `struct arphdr'
> /usr/include/net/if_arp.h:79: redefinition of `struct arpreq'
> *** Error code 1
> 
> Stop in /root/apps/snort-1.8.1-RELEASE.
> 
> also tried 
> 
> make distclean
> make clean
> same errors
> 
> 
> 
> 
> -- 
> Tye




More information about the Snort-devel mailing list