[Snort-users] Compile error with latest CVS checkout

Fyodor fygrave at ...121...
Mon Mar 26 14:39:15 EST 2001


On Mon, Mar 26, 2001 at 12:09:54PM +0200, Ralf Hildebrandt wrote:
> On HP-ux 10.20 with gcc-2.95.2:
> 
> ... snip ...
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include    -O -I/users2/local/include -Wall -Wall -c snort.c
> In file included from snort.h:47,
>                  from snort.c:45:
> /usr/include/rpc/xdr.h:26: warning: `/*' within comment
> In file included from /users2/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/net/netmp.h:21,
>                  from /users2/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/net/if.h:27,
>                  from /usr/include/net/route.h:32,
>                  from plugbase.h:82,
>                  from snort.h:76,
>                  from snort.c:45:

There's nothing we could do about these warnings I guess, cuz these are in HP-UX includes.

> snort.c: In function `ParseCmdLine':
> snort.c:926: warning: implicit declaration of function `snprintf'
> snort.c: In function `GetIfrMTU':
> snort.c:1752: parse error before `else'
> snort.c:1756: warning: control reaches end of non-void function

And a fix for this stuff just has been comitted. Thanks for pointing out :)





More information about the Snort-users mailing list