[Oisf-devel] Error compiling on OS X

Harley H bobb.harley at gmail.com
Mon Oct 7 18:40:21 UTC 2013


Hello,
 I'm trying to compile Suricata 1.4.6 on OS X with --enable-profiling on.
But, I'm getting the following error.


gcc -DHAVE_CONFIG_H -I. -I..  -I../libhtp  -I/opt/local/include
-DLOCAL_STATE_DIR=\"/usr/local/var\" -DRELEASE -Wextra
-Werror-implicit-function-declaration -fno-tree-pre -Wall
-fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DOS_DARWIN
-DPROFILING -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
-DHAVE_NET_ETHERNET_H   -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -MT
suricata.o -MD -MP -MF .deps/suricata.Tpo -c -o suricata.o suricata.c
In file included from suricata.c:163:
util-profiling.h:35: error: thread-local storage not supported for this
target
make[3]: *** [suricata.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


The line output from running './configure --enable-profiling' shows
profiling has been successfully enabled.

Thanks,
  Harley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-devel/attachments/20131007/c41d1847/attachment.html>


More information about the Oisf-devel mailing list