Snort mailing list archives

question about flexresp snort plugin on openbsd


From: Malikai <malikai () darkgroove com>
Date: Thu, 16 Aug 2001 03:39:01 -0500

Hello,

I am attempting to install snort with the flex response plugin on
openbsd. When I try to compile it I get the following errors:

gcc -DHAVE_CONFIG_H -I. -I. -I.   -DENABLE_SSL -I/usr/include  -g -O2 -Wall -DENABLE_SMB_ALERTS -DENABLE_RESPONSE 
-DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c sp_respond.c
In file included from snort.h:50,
                 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:50,
                 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/snort.
[root@x:ttyp2][10:05pm:54:1][/root/snort]#

My system consists of the following:
openbsd 2.9 w/ latest CVS patches installed
Snort 1.8.1
Libnet 1.0.2


I am wondering if anyone may know of what may be going wrong with this
install.

Thanks all!

-- 
ciau,
Malikai
malikai () darkgroove com
http://www.darkgroove.com


_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
http://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: