Snort mailing list archives
Re: snort 2.1.0 does not compile on FreeBSD 4.8
From: Bamm Visscher <bamm () satx rr com>
Date: Fri, 19 Dec 2003 09:49:47 -0600
Okay, had to chance to look at things. From the man page for socket(2): SYNOPSIS #include <sys/types.h> #include <sys/socket.h> So, if you: *** ipobj.c.orig Wed Dec 3 09:22:23 2003 --- ipobj.c Fri Dec 19 09:40:44 2003 *************** *** 19,24 **** --- 19,25 ---- #include <string.h> #ifndef WIN32 + #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> That will get you to the point where you can tackle the stdint.h problems that have been discussed on snort-devel for 'a while' now. To fix the stdint.h problems, you can try this patch: http://people.su.se/~andreaso/snort210-stdint.diff I haven't had a chance to get to that yet, but if it works, let the rest of the world know too :) Bammkkkk On Fri, Dec 19, 2003 at 09:07:22AM -0600, Bamm Visscher wrote:
Seems snort-2.1.0 compiles fine on FreeBSD 5.1 (RELEASE and CURRENT). I am following RELENG_4 and have the same problems as you. http://homefries.333tech.com:8888/52 *tap* *tap* Is this thing on? Bammkkkk On Fri, Dec 19, 2003 at 09:34:27AM +0100, henk () wevers org wrote:Hi, The dirty details. gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I../../src/sfutil -I../../src/output-plugins -I../../src/detection-plugins -I../../src/preprocessors -I../../src/preprocessors/flow -I../../src/preprocessors/portscan -I../../src/preprocessors/flow/int-snort -I../../src/preprocessors/HttpInspect/include -I/usr/local/include -g -O2 -Wall -c `test -f 'ipobj.c' || echo './'`ipobj.c In file included from ipobj.c:22: /usr/include/sys/socket.h:52: syntax error before `sa_family_t' /usr/include/sys/socket.h:52: warning: type defaults to `int' in declaration of `sa_family_t' /usr/include/sys/socket.h:52: warning: data definition has no type or storage class /usr/include/sys/socket.h:163: syntax error before `u_char' /usr/include/sys/socket.h:174: syntax error before `u_short' /usr/include/sys/socket.h:188: syntax error before `u_char' /usr/include/sys/socket.h:190: `int64_t' undeclared here (not in a function) /usr/include/sys/socket.h:190: `u_char' undeclared here (not in a function) /usr/include/sys/socket.h:190: size of array `__ss_pad1' is too large /usr/include/sys/socket.h:191: syntax error before `int64_t' /usr/include/sys/socket.h:192: `u_char' undeclared here (not in a function) Please could someone fix this? Thnx, Henk ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ 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------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ 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
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ 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:
- snort 2.1.0 does not compile on FreeBSD 4.8 henk (Dec 19)
- Re: snort 2.1.0 does not compile on FreeBSD 4.8 Bamm Visscher (Dec 19)
- Re: snort 2.1.0 does not compile on FreeBSD 4.8 Bamm Visscher (Dec 19)
- Re: Re: [Snort-users] snort 2.1.0 does not compile on FreeBSD 4.8 Jeremy Hewlett (Dec 19)
- Re: snort 2.1.0 does not compile on FreeBSD 4.8 Bamm Visscher (Dec 19)
- Re: snort 2.1.0 does not compile on FreeBSD 4.8 Bamm Visscher (Dec 19)