Snort mailing list archives

Re: snort 2.1.0 + OpenBSD = no compile


From: Dirk Geschke <Dirk_Geschke () genua de>
Date: Tue, 30 Dec 2003 17:52:17 +0100

Hi spoofy,

anyone else having this problem? If so how do i resolve  the issue? Here 
is output from the error i am getting.



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 'util_net.c' || echo './'`util_net.c
In file included from util_net.c:16:
util_net.h:14: stdint.h: No such file or directory

simply edit util_net.h and remove in line 14 the line

#include <stdint.h>

This file does not exist on OpenBSD and is not needed there.

The same counts for  

./src/preprocessors/flow/flow.h:4: stdint.h
./src/preprocessors/flow/portscan/flowps.h:9 stdint.h
./src/event_wrapper.h:4: stdint.h
./src/preprocessors/flow/flow_stat.h:5: stdint.h

Maybe sometimes someone will wrap these include lines
with 

#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif

The check for this header is already there but
someone was too lazy to use this wrapper...

Best regards

Dirk
--
+-------------------------------------------------------------+
| Dr. Dirk Geschke            | E-mail: geschke () genua de      |
| Gesellschaft fuer Netzwerk  | Tel.  : +49-(0)-89-991950-131 |
| und Unix Administration mbH | Fax   : +49-(0)-89-991950-999 |
| 85551 Kirchheim / Germany   | Domagkstrasse 7               |
+-------------------------------------------------------------+




-------------------------------------------------------
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: