Snort mailing list archives

Re: question about flexresp snort plugin on openbsd


From: Neil Dickey <neil () geol niu edu>
Date: Thu, 16 Aug 2001 10:29:10 -0500 (CDT)


Malikai <malikai () darkgroove com>wrote asking:

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

This could be 'way off base, but I have a similar problem when I try
to compile with flexresponse enabled on a Sparc, running Solaris2.7,
and gcc2.95.2.  I don't blow up in the same module, but the complaints,
if I remember correctly, are similar.

What it boils down to in my case is that configure introduces a
reference to /usr/include in Makefile which shouldn't be there, so the
compiler finds header files which don't fit the program.  What I do to
get around it is edit Makefile ( after making a copy, of course ) to
remove the offending entry.  Do a search for 'CPPFLAGS' and remove
"-I/usr/include" from the string; then save, try compiling, and see
what happens.

Under some circumstances, 'make' will re-run configure even if you've
already run it manually.  That means you get a new Makefile with the
offending entry in CPPFLAGS when you try to compile.  If this happens,
and it usually only happens once, do a 'make clean'; then re-edit
Makefile and try again.

Caveat Lector:  This may not fix the problem on your platform, which
is different from mine.  If it doesn't, I apologize for the red
herring.

Best regards,

Neil Dickey, Ph.D.
Research Associate/Sysop
Geology Department
Northern Illinois University
DeKalb, Illinois
60115

_______________________________________________
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: