[Snort-users] snort CVS checkout fails to build

Ralf Hildebrandt Ralf.Hildebrandt at ...3909...
Sun Jun 16 03:00:02 EDT 2002


On my HP-UX box the recent CVS snapshot doen't build anymore:

...
Making all in preprocessors
make[3]: Entering directory /mnt/disk4/gnu/snort/src/preprocessors'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I/usr/local/include -I../../src/output-plugins
-I../../src/detection-plugins -I../../src/preprocessors
   -O -I/users2/local/include -Wall -c test -f 'spp_portscan2.c' || echo './'spp_portscan2.c
In file included from /usr/include/net/netmp.h:23,
                 from /usr/include/net/if.h:27,
                 from ../../src/decode.h:38,
                 from ../../src/snort.h:32,
                 from spp_portscan2.h:27,
                 from spp_portscan2.c:34:
/usr/include/sys/rw_lock.h:118: parse error before "is"
In file included from /usr/include/sys/mp.h:27,
                 from /usr/include/net/netmp.h:24,
                 from /usr/include/net/if.h:27,
                 from ../../src/decode.h:38,
                 from ../../src/snort.h:32,
                 from spp_portscan2.h:27,
                 from spp_portscan2.c:34:
/usr/include/sys/vmmeter.h:61: parse error before '}' token
spp_portscan2.c: In function nodepool_init':
spp_portscan2.c:607: warning: implicit declaration of function bzero'
spp_portscan2.c: In function dumpPacketStats':
spp_portscan2.c:975: warning: implicit declaration of function snprintf'
make[3]: *** [spp_portscan2.o] Error 1
make[3]: Leaving directory /mnt/disk4/gnu/snort/src/preprocessors'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /mnt/disk4/gnu/snort/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory /mnt/disk4/gnu/snort'
make: *** [all] Error 2

To build it, I used:
cvs -d:pserver:anonymous at cvs.snort.sourceforge.net:/cvsroot/snort login
cvs -z3 -d:pserver:anonymous at cvs.snort.sourceforge.net:/cvsroot/snort
co snort
cd /users2/gnu/snort
aclocal
autoconf
automake
./configure --prefix=/users2/local --without-openssl --without-mysql
cd /users2/gnu/snort
make -k

-- 
Ralf Hildebrandt (Im Auftrag des Referat V A)   Ralf.Hildebrandt at ...3909...
Charite Campus Virchow-Klinikum                 Tel.  +49 (0)30-450 570-155
Referat V A - Kommunikationsnetze -             Fax.  +49 (0)30-450 570-916
Why you can't find your system administrators:
(S)he's out by the turnpike waiting for a case of Jolt to bounce out of the truck after it hits the speed bump. 





More information about the Snort-users mailing list