[Snort-users] snort 2.1.0 + OpenBSD = no compile

Dirk Geschke Dirk_Geschke at ...1344...
Tue Dec 30 08:53:02 EST 2003


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 at ...1344...      |
| Gesellschaft fuer Netzwerk  | Tel.  : +49-(0)-89-991950-131 |
| und Unix Administration mbH | Fax   : +49-(0)-89-991950-999 |
| 85551 Kirchheim / Germany   | Domagkstrasse 7               |
+-------------------------------------------------------------+






More information about the Snort-users mailing list