<div class="gmail_extra">Hi,<br><br>Just to make sure - have you seen the guide here:<br><a href="https://redmine.openinfosecfoundation.org/projects/suricata/wiki/FreeBSD_8">https://redmine.openinfosecfoundation.org/projects/suricata/wiki/FreeBSD_8</a><br>
<br>Thanks<br><br><div class="gmail_quote">On Thu, Apr 26, 2012 at 2:53 PM, Henri Wahl <span dir="ltr"><<a href="mailto:h.wahl@ifw-dresden.de" target="_blank">h.wahl@ifw-dresden.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello world,<br>
I run Suricata on CentOS Linux 5.8 where it does a great job. I also<br>
want to run it on OpenBSD but there it fails badly. I tried to compile<br>
stable suricata 1.2.1 and unstable 1.3beta1 on OpenBSD 4.9, 5.0 and 5.1<br>
with gcc 4.2.1 and the result is always a break in compiling with this<br>
output:<br>
<br>
gcc -DHAVE_CONFIG_H -I. -I.. -I../libhtp -I/usr/local/include<br>
-I/usr/local/include/libnet-1.1 -DRELEASE -Wextra -Wall<br>
-fno-strict-aliasing -fno-tree-pre -Wno-unused-parameter -std=gnu99<br>
-D__OpenBSD__ -march=native -I/usr/local/include<br>
-DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -MT util-ioctl.o -MD -MP<br>
-MF .deps/util-ioctl.Tpo -c -o util-ioctl.o util-ioctl.c<br>
util-ioctl.c: In function 'GetIfaceMTU':<br>
util-ioctl.c:74: error: storage size of 'ifr' isn't known<br>
util-ioctl.c:83: error: invalid application of 'sizeof' to incomplete<br>
type 'struct ifreq'<br>
util-ioctl.c:74: warning: unused variable 'ifr'<br>
util-ioctl.c:97: warning: control reaches end of non-void function<br>
*** Error code 1<br>
<br>
Stop in /usr/src/suricata-1.2.1/src (line 92 of /usr/share/mk/<a href="http://sys.mk" target="_blank">sys.mk</a>).<br>
*** Error code 1<br>
<br>
Stop in /usr/src/suricata-1.2.1/src (line 735 of Makefile).<br>
*** Error code 1<br>
<br>
Stop in /usr/src/suricata-1.2.1 (line 350 of Makefile).<br>
*** Error code 1<br>
<br>
Stop in /usr/src/suricata-1.2.1 (line 257 of Makefile).<br>
<br>
Does anybody have any hint how to get it to compile?<br>
Best regards<br>
Henri Wahl<br>
<br>
--<br>
Henri Wahl<br>
<br>
IT Department<br>
Leibniz-Institut für Festkörper- u.<br>
Werkstoffforschung Dresden<br>
<br>
tel. (03 51) 46 59 - 797<br>
email: <a href="mailto:h.wahl@ifw-dresden.de">h.wahl@ifw-dresden.de</a><br>
<a href="http://www.ifw-dresden.de" target="_blank">http://www.ifw-dresden.de</a><br>
<br>
Nagios status monitor for your desktop:<br>
<a href="http://nagstamon.ifw-dresden.de" target="_blank">http://nagstamon.ifw-dresden.de</a><br>
<br>
IFW Dresden e.V., Helmholtzstraße 20, D-01069 Dresden<br>
VR Dresden Nr. 1369<br>
Vorstand: Prof. Dr. Ludwig Schultz, Dr. h.c. Dipl.-Finw. Rolf Pfrengle<br>
<br>
<br>_______________________________________________<br>
Oisf-devel mailing list<br>
<a href="mailto:Oisf-devel@openinfosecfoundation.org">Oisf-devel@openinfosecfoundation.org</a><br>
<a href="http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel" target="_blank">http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel</a><br></blockquote></div><br><br clear="all"><br>-- <br><div>
Regards,</div>
<div>Peter Manev</div><br>
</div>