[Oisf-devel] Suricata 1.2.1 + OpenBSD

Victor Julien victor at inliniac.net
Tue May 1 07:11:23 UTC 2012


On 04/27/2012 04:10 PM, Eric Leblond wrote:
> Hello,
> 
> Le vendredi 27 avril 2012 à 15:38 +0200, Eric Leblond a écrit :
>> Hello,
>>
>> I've got it. I've just made a fresh install of OpenBSD 5.0 and I've
>> reproduced the problem.
>>
>> OpenBSD sucks as usual with the includes and they even manage to change
>> between every versions.
>>
>> I cook a fix and send a patch as reply to this mail in a few minutes.
> 
> The attached patch fixes the compilation on a fresh OpenBSD 5.0 install.

Applied, thanks Eric!

Cheers,
Victor

> BR,
>>
>> BR,
>>
>> Le vendredi 27 avril 2012 à 15:03 +0200, Henri Wahl a écrit :
>>> Meanwhile I tried it with the git version as described at
>>> https://home.regit.org/2011/04/building-suricata-under-openbsd/ but the
>>> result is all the same:
>>>
>>> gcc -DHAVE_CONFIG_H -I. -I..  -I../libhtp   -I/usr/local/include
>>> -I/usr/local/include/libnet-1.1  -g -O2 -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 -DUNITTESTS
>>> -DREVISION="e6dea5c" -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'
>>> *** Error code 1
>>>
>>> Stop in /usr/src/oisf/src (line 92 of /usr/share/mk/sys.mk).
>>> *** Error code 1
>>>
>>> Stop in /usr/src/oisf/src (line 764 of Makefile).
>>> *** Error code 1
>>>
>>> Stop in /usr/src/oisf (line 316 of Makefile).
>>> *** Error code 1
>>>
>>> Stop in /usr/src/oisf (line 222 of Makefile).
>>>
>>>
>>> _______________________________________________
>>> Oisf-devel mailing list
>>> Oisf-devel at openinfosecfoundation.org
>>> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel
>>
>> _______________________________________________
>> Oisf-devel mailing list
>> Oisf-devel at openinfosecfoundation.org
>> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel
> 
> 
> 
> _______________________________________________
> Oisf-devel mailing list
> Oisf-devel at openinfosecfoundation.org
> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel


-- 
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------




More information about the Oisf-devel mailing list