[Snort-users] cvs from today
fygrave at ...121...
Tue Oct 31 06:34:48 EST 2000
On Mon, Oct 30, 2000 at 01:59:16PM -0600, Jeff Beley wrote:
> I'm having problems with snort(cvsed recently). I'm getting the following
> errors on compile:
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL
> -I/usr/include -DENABLE_SSL -I/usr/local/include -c snprintf.c
> In file included from snprintf.c:28:
> snprintf.h:41: syntax error before `tTdvect'
> snprintf.h:41: warning: data definition has no type or storage class
> snprintf.c: In function `vsnprintf':
> snprintf.c:110: `u_char' undeclared (first use in this function)
> snprintf.c:110: (Each undeclared identifier is reported only once
> snprintf.c:110: for each function it appears in.)
> snprintf.c:110: syntax error before `2'
> snprintf.c: In function `sm_dopr':
> snprintf.c:146: conflicting types for `sys_errlist'
> /usr/include/stdio.h:225: previous declaration of `sys_errlist'
> gmake: *** [snprintf.o] Error 1
I have fixed these problems (committed to CVS tree minute ago :)), so check it
out if it works for you. However, all FreeBSD versions (including 4.0-STABLE)
should have snprintf in libc and configure was supposed to detect it for the first
place. Strange that it didn't, is it possible to show us configure output as well?
More information about the Snort-users