[Snort-users] Libnet & 'resp'

Brent Kearney brent at ...2359...
Thu Jun 21 11:13:02 EDT 2001


On Thu, Jun 21, 2001 at 07:57:06PM +0700, Fyodor wrote:
> On Wed, Jun 20, 2001 at 03:55:10PM -0700, Brent Kearney wrote:
> > snort.c: In function `LogMessage':
> > snort.c:2209: `__builtin_va_alist' undeclared (first use in this function)
> > snort.c:2207: warning: `ap' might be used uninitialized in this function
> > snort.c: In function `FatalError':
> > snort.c:2239: `__builtin_va_alist' undeclared (first use in this function)
> > snort.c:2237: warning: `ap' might be used uninitialized in this function
> > *** Error code 1
> > make: Fatal error: Command failed for target `snort.o'
> > 
> > Am I missing an important header file or something?
> > 
> > Though maybe sticking with gcc is a good plan, for this program;
> > changing the CC: line in the Makefile to 'cc' (from 'gcc') produces
> > piles of errors with virtually every header file, then bails with a:
> > fatal: too many errors
> > *** Error code 2
> > 
> 
> let me guess. This is Solaris 7 and snort 1.7 or something, right? :)

Yes indeed.  The snort 1.7 binary (pkg) I installed on solaris 7 has 
been working fine for some time.  I'm now trying to get it working
with Libnet, so I can use the 'resp' features.

Is there a known problem compiling with this combo? (sol7 + snort 1.7)
Is there a fix/workaround?

Thanks again,

-Brent






More information about the Snort-users mailing list