[Snort-users] Compile error with latest CVS checkout
Ralf.Hildebrandt at ...821...
Mon Mar 26 05:09:54 EST 2001
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,
/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,
/users2/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/sys/spinlock.h:226: warning: `/*' within comment
/users2/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/sys/spinlock.h:227: warning: `/*' within comment
In file included from /users2/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/net/if.h:399,
/users2/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/net/if_arp.h:54: warning: `/*' within comment
/users2/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/net/if_arp.h:55: warning: `/*' within comment
/users2/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/net/if_arp.h:56: warning: `/*' within comment
/users2/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/net/if_arp.h:57: warning: `/*' within comment
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
snort.c: At top level:
snort.c:1758: warning: type defaults to `int' in declaration of `close'
snort.c:1758: warning: parameter names (without types) in function declaration
snort.c:1758: warning: data definition has no type or storage class
snort.c:1760: parse error before `return'
make: *** [snort.o] Error 1
ralf.hildebrandt at ...821... innominate AG
System Engineer Don't be afraid of what you see -
Diplom-Informatiker be afraid of what you don't see!
tel: +49.(0)7000.POSTFIX fax: +49.(0)30.308806-698
More information about the Snort-users