[Oisf-devel] Suricata 1.2.1 + OpenBSD
Peter Manev
petermanev at gmail.com
Thu Apr 26 13:02:36 UTC 2012
Hi,
Just to make sure - have you seen the guide here:
https://redmine.openinfosecfoundation.org/projects/suricata/wiki/FreeBSD_8
Thanks
On Thu, Apr 26, 2012 at 2:53 PM, Henri Wahl <h.wahl at ifw-dresden.de> wrote:
> 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
>
>
> _______________________________________________
> Oisf-devel mailing list
> Oisf-devel at openinfosecfoundation.org
> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel
>
--
Regards,
Peter Manev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-devel/attachments/20120426/f15283be/attachment-0002.html>
More information about the Oisf-devel
mailing list