Snort mailing list archives

Re: solaris 2.8 compile error on snort 1.9b6


From: "Michael Scheidell" <scheidell () secnap net>
Date: Thu, 3 Oct 2002 17:43:55 -0400

----- Original Message -----
From: "Chris Green" <cmg () sourcefire com>
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 () secnap net> 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':





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