[Snort-users] Problem compiling snort 1.8.7 with --enable-flexresp

Colin Wu wucolin at ...2181...
Wed Sep 25 10:38:03 EDT 2002


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.






More information about the Snort-users mailing list