[Oisf-users] Error building suricata 1.1 under OpenBSD 5.0
Victor Julien
victor at inliniac.net
Mon Nov 14 08:50:30 UTC 2011
On 11/14/2011 09:45 AM, carlopmart wrote:
> Hi all,
>
> I am trying to build suricata 1.1 under OpenBSD 5.0 but make returns
> these errors:
>
> Making all in test
> Making all in src
> make all-am
> gcc -DHAVE_CONFIG_H -I. -I.. -I../libhtp -I/usr/local/include
> -I/usr/local/include/libnet-1.1 -I/usr/local/include/libnet-1.1 -g -O2
> -Wextra -Wall -fno-strict-aliasing -fno-tree-pre -Wno-unused-parameter
> -std=gnu99 -D__OpenBSD__ -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE
> -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBPCAP_VERSION_MAJOR=0
> -DPROFILING -MT suricata.o -MD -MP -MF .deps/suricata.Tpo -c -o
> suricata.o suricata.c
> In file included from suricata.c:137:
> util-profiling.h:34: error: thread-local storage not supported for this
> target
> *** Error code 1
>
> Stop in /tmp/oo/suricata-1.1/src (line 92 of /usr/share/mk/sys.mk).
> *** Error code 1
>
> Stop in /tmp/oo/suricata-1.1/src (line 700 of Makefile).
> *** Error code 1
>
> Stop in /tmp/oo/suricata-1.1 (line 353 of Makefile).
> *** Error code 1
>
> Stop in /tmp/oo/suricata-1.1 (line 260 of Makefile).
It seems OpenBSD doesn't support thread local storage. This means that
right now you can't use profiling on OpenBSD.
Can you retry compilation after removing --enable-profiling from your
configure options?
Cheers,
Victor
--
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------
More information about the Oisf-users
mailing list