[Snort-users] Snort & Flexresp & Libnet

Mike Johnson mike at ...874...
Tue Nov 28 22:10:46 EST 2000


Tye F. Hammerle [thammer at ...445...] wrote:
> Make clean then make got me farther and came up with this. I also did
> a make clean and make of libnet.

A -ha-!  I'm having the -exact- same problem and am having a bear
of a time tracking it down.  I noticed the -DBSD stuff in your make.
OpenBSD?  I'm running OBSD 2.8 (well, a horribly recent snapshot)
and snort from CVS (as of Thursday of last week).  I think I
refreshed the source from CVS on Monday.  Anyways, snort reports
itself as 1.7-beta5.

> In file included from plugbase.h:92,
>                  from snort.h:70,
>                  from sp_respond.h:23,
>                  from sp_respond.c:35:
> /usr/include/net/if.h:79: redefinition of `struct if_data'
> /usr/include/net/if.h:107: redefinition of `struct ifnet_head'
> /usr/include/net/if.h:116: redefinition of `struct ifnet'
> /usr/include/net/if.h:140: redefinition of `struct ifqueue'
> /usr/include/net/if.h:233: redefinition of `struct ifaddr'
> /usr/include/net/if.h:254: redefinition of `struct ifprefix'
> /usr/include/net/if.h:266: redefinition of `struct if_msghdr'
> /usr/include/net/if.h:280: redefinition of `struct ifa_msghdr'
> /usr/include/net/if.h:296: redefinition of `struct ifreq'
> /usr/include/net/if.h:316: redefinition of `struct ifaliasreq'
> /usr/include/net/if.h:324: redefinition of `struct ifmediareq'
> /usr/include/net/if.h:341: redefinition of `struct ifconf'
> /usr/include/net/if.h:354: redefinition of `struct if_laddrreq'
> /usr/include/net/if.h:363: redefinition of `struct if_nameindex'
> In file included from /usr/include/net/if.h:377,
>                  from plugbase.h:92,
>                  from snort.h:70,
>                  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 /work/snort.


Mike
-- 
The revolution will be synthesized. -- MDFMK



More information about the Snort-users mailing list