Snort mailing list archives

Re: Problem compiling snort 1.8.7 with --enable-flexresp


From: Jim Cliver <jim.c () aptalaska net>
Date: Wed, 25 Sep 2002 10:37:03 -0800

Hello Colin,

Forgive my Solaris ignorance.  Within the the linux realm this feature
also requires the presence of the libnet library.  I am doubting my
mention of it here as the possible solution because I don't see it in
your compiler complaints, but offer it any way in recognition of my own
Solaris limitations.

If in fact you do need it, it is available here:
http://www.packetfactory.net/libnet/

Avoid the Latest Version: 1.1.0 as it it not supported by snort.  The
version you would be looking for is 1.0.2a listed under the Deprecated
Tree section.

Regards,
clive



Colin Wu wrote:

BTW,

./configure --with-mysql=/usr/local
make

worked fine. What's special about flexresp?

Colin Wu wrote:

Hi all,

I asked this once before and Erek suggested installing gnu grep but
that hasn't helped. I'm trying to install snort 1.8.7 on a SPARC
Solaris 8 machine and am getting the following errors on 'make'. It
looks like some needed include file is not being included.

The compiler is gcc 3.2, and the command lines leading up to this are:

make distclean
aclocal
./configure --with-mysql=/usr/local --enable-flexresp
make

------------------- excerpt of error messages ------------------

[ A lot of "warning: ignoring #pragma ident" messages before this point]

snort.c: In function `main':
snort.c:72: `sigset_t' undeclared (first use in this function)
snort.c:72: (Each undeclared identifier is reported only once
snort.c:72: for each function it appears in.)
snort.c:72: parse error before "set"
snort.c:74: warning: implicit declaration of function `sigemptyset'
snort.c:74: `set' undeclared (first use in this function)
snort.c:79: warning: implicit declaration of function `sigprocmask'
snort.c:142: warning: implicit declaration of function `strlcpy'
snort.c: In function `ParseCmdLine':
snort.c:696: warning: implicit declaration of function `getopt'
snort.c:709: warning: implicit declaration of function `strncasecmp'
snort.c:928: warning: implicit declaration of function `strcasecmp'
snort.c:965: warning: implicit declaration of function `strdup'
snort.c:965: warning: assignment makes pointer from integer without a
cast
snort.c:1139: warning: implicit declaration of function `snprintf'
snort.c: In function `InterfaceThread':
snort.c:1698: warning: unsigned int format, time_t arg (arg 2)
snort.c:1698: warning: unsigned int format, suseconds_t arg (arg 3)
snort.c: In function `InitProtoNames':
snort.c:2769: warning: assignment makes pointer from integer without a
cast
snort.c:2779: warning: assignment makes pointer from integer without a
cast
snort.c: In function `ErrorMessage':
snort.c:2842: `__builtin_va_alist' undeclared (first use in this
function)
snort.c:2846: warning: implicit declaration of function `vsnprintf'
snort.c: In function `LogMessage':
snort.c:2874: `__builtin_va_alist' undeclared (first use in this
function)
snort.c: In function `FatalError':
snort.c:2905: `__builtin_va_alist' undeclared (first use in this
function)
snort.c: In function `SigUSR1Wrap':
snort.c:3066: `sigset_t' undeclared (first use in this function)
snort.c:3066: parse error before "set"
snort.c:3068: `set' undeclared (first use in this function)
make[2]: *** [snort.o] Error 1
make[2]: Leaving directory `/usr/local/snort-1.8.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/snort-1.8.7'
make: *** [all] Error 2

------------------------- end of excerpt ----------------------------


--
   __     _             _            Network Analyst
  /  )   //            ' )   /       Computing & Information Services
 /    __|/  o ____      / / / . .    McMaster University
(__/ (_) \_<_/ / <_    (_(_/ (_/_    (905)525-9140 ext 24050
                                     http://netman.McMaster.CA
Only get into a life boat if you have to step UP to get into it.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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: