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

noreply at ...12... noreply at ...12...
Thu Sep 27 23:34:03 EDT 2001


Bugs item #454063, was opened at 2001-08-21 19:49
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=103357&aid=454063&group_id=3357

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: tye hammerle (wtfo)
>Assigned to: Martin Roesch (roesch)
Summary: make fails on OpenBSD 2.9 if.h

Initial Comment:
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


Hints:
To build debugging-enabled snort: 

make distclean; ./configure --enable-debug; make

To debug some particular part of snort functionality:

export SNORT_DEBUG=<debuglevel> and run snort. See 
debug.h file
for details on debugging levels. (those could be 
combined, f.e.
if you want to see IP and TCP/UDP related info: 
debuglevel would
be: IPdebuglevel + TCPUDPdebuglevel)

Thanks!

    -Marty



----------------------------------------------------------------------

>Comment By: Martin Roesch (roesch)
Date: 2001-09-27 23:19

Message:
Logged In: YES 
user_id=18573

Fixed in CVS (build 80+).

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=103357&aid=454063&group_id=3357




More information about the Snort-devel mailing list