Snort mailing list archives
Repost: snort 2.0.1 compilation errors on openbsd 2.9
From: Bill Schwanitz <bilsch () secureinteriors com>
Date: Mon, 11 Aug 2003 14:43:44 +0000
Sorry for the re-post, I just wanted to see if this caught anyones attention this time around.
-----Has anyone else had difficulties compiling snort 2.0.1 on openbsd 2.9 WITH flexresp?
configure line: ./configure --enable-flexresp I get the following errors from the compiler:gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I../../src/output-plugins -I../../src/detection-plugins -I../../src/preprocessors -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -g -O2 -Wall -c `test -f 'sp_react.c' || echo './'`sp_react.c
In file included from ../../src/decode.h:38, from ../../src/rules.h:29, from sp_react.c:58: /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 ../../src/decode.h:38, from ../../src/rules.h:29, from sp_react.c:58: /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 /swap-d/snort-2.0.1/src/detection-plugins. *** Error code 1 Stop in /swap-d/snort-2.0.1/src (line 254 of Makefile). *** Error code 1 Stop in /swap-d/snort-2.0.1 (line 258 of Makefile). *** Error code 1 Stop in /swap-d/snort-2.0.1 (line 150 of Makefile).I have tried compiling from the same tarball on OpenBSD 3.1 with success, it just does not want to compile on 2.9.
Any suggestions? Bill Schwanitz ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ 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:
- Repost: snort 2.0.1 compilation errors on openbsd 2.9 Bill Schwanitz (Aug 11)