[Oisf-devel] Suricata 1.2.1 + OpenBSD
Henri Wahl
h.wahl at ifw-dresden.de
Thu Apr 26 12:53:17 UTC 2012
Hello world,
I run Suricata on CentOS Linux 5.8 where it does a great job. I also
want to run it on OpenBSD but there it fails badly. I tried to compile
stable suricata 1.2.1 and unstable 1.3beta1 on OpenBSD 4.9, 5.0 and 5.1
with gcc 4.2.1 and the result is always a break in compiling with this
output:
gcc -DHAVE_CONFIG_H -I. -I.. -I../libhtp -I/usr/local/include
-I/usr/local/include/libnet-1.1 -DRELEASE -Wextra -Wall
-fno-strict-aliasing -fno-tree-pre -Wno-unused-parameter -std=gnu99
-D__OpenBSD__ -march=native -I/usr/local/include
-DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -MT util-ioctl.o -MD -MP
-MF .deps/util-ioctl.Tpo -c -o util-ioctl.o util-ioctl.c
util-ioctl.c: In function 'GetIfaceMTU':
util-ioctl.c:74: error: storage size of 'ifr' isn't known
util-ioctl.c:83: error: invalid application of 'sizeof' to incomplete
type 'struct ifreq'
util-ioctl.c:74: warning: unused variable 'ifr'
util-ioctl.c:97: warning: control reaches end of non-void function
*** Error code 1
Stop in /usr/src/suricata-1.2.1/src (line 92 of /usr/share/mk/sys.mk).
*** Error code 1
Stop in /usr/src/suricata-1.2.1/src (line 735 of Makefile).
*** Error code 1
Stop in /usr/src/suricata-1.2.1 (line 350 of Makefile).
*** Error code 1
Stop in /usr/src/suricata-1.2.1 (line 257 of Makefile).
Does anybody have any hint how to get it to compile?
Best regards
Henri Wahl
--
Henri Wahl
IT Department
Leibniz-Institut für Festkörper- u.
Werkstoffforschung Dresden
tel. (03 51) 46 59 - 797
email: h.wahl at ifw-dresden.de
http://www.ifw-dresden.de
Nagios status monitor for your desktop:
http://nagstamon.ifw-dresden.de
IFW Dresden e.V., Helmholtzstraße 20, D-01069 Dresden
VR Dresden Nr. 1369
Vorstand: Prof. Dr. Ludwig Schultz, Dr. h.c. Dipl.-Finw. Rolf Pfrengle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4706 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-devel/attachments/20120426/816c1662/attachment.bin>
More information about the Oisf-devel
mailing list