Snort mailing list archives

snort CVS checkout fails to build


From: Ralf Hildebrandt <Ralf.Hildebrandt () charite de>
Date: Sun, 16 Jun 2002 11:59:19 +0200

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 () cvs snort sourceforge net:/cvsroot/snort login
cvs -z3 -d:pserver:anonymous () 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 () charite de
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. 


_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: