[Snort-users] solaris 2.8 compile error on snort 1.9b6

Michael Scheidell scheidell at ...5171...
Thu Oct 3 14:45:05 EDT 2002


----- Original Message -----
From: "Chris Green" <cmg at ...1935...>
Newsgroups: local.snort.users
Sent: Thursday, October 03, 2002 4:01 PM
Subject: Re: [Snort-users] solaris 2.8 compile error on snort 1.9b6


> "Michael Scheidell" <scheidell at ...5171...> writes:
>
> >
> > where should I start looking?
>
> Probably missing "signal.h"

inlcuded the crap out of signal.h, in config.h, in src/snort.c (and util.c)
same thing.

finally put this at top of both snort.c and util.c:
typedef struct {                /* signal set type */
        unsigned int    __sigbits[4];
} sigset_t;

(and obviously missing something else important because, now:

now, it does compile snort.c, dies on util.c:
util.c: In function `DefineIfaceVar':
util.c:193: warning: implicit declaration of function `snprintf'
util.c: In function `ts_print':
util.c:282: warning: implicit declaration of function `bzero'
util.c: In function `ErrorMessage':
util.c:532: `__builtin_va_alist' undeclared (first use in this function)
util.c:532: (Each undeclared identifier is reported only once
util.c:532: for each function it appears in.)
util.c:536: warning: implicit declaration of function `vsnprintf'
util.c: In function `LogMessage':
util.c:564: `__builtin_va_alist' undeclared (first use in this function)
util.c: In function `FatalError':







More information about the Snort-users mailing list