Project

General

Profile

Actions

Bug #701

closed

Mac OS X 10.6.8 build warning/error

Added by Victor Julien almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

gcc -DHAVE_CONFIG_H -I. -I..  -I../libhtp  -I/opt/local/include -DLOCAL_STATE_DIR=\"/usr/local/var\" -Wall -Wextra -Werror -ggdb -O0 -DRELEASE -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DOS_DARWIN -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DHAVE_LIBNET_ICMPV6_UNREACH  -I/opt/local/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -MT tm-threads.o -MD -MP -MF .deps/tm-threads.Tpo -c -o tm-threads.o tm-threads.c
tm-threads.c:76:1: error: "CPU_SET" redefined
In file included from threadvars.h:28,
                 from decode.h:32,
                 from detect-engine-alert.h:28,
                 from suricata-common.h:282,
                 from tm-threads.c:28:
util-affinity.h:44:1: error: this is the location of the previous definition
tm-threads.c:77:1: error: "CPU_ISSET" redefined
util-affinity.h:45:1: error: this is the location of the previous definition
tm-threads.c:78:1: error: "CPU_ZERO" redefined
util-affinity.h:46:1: error: this is the location of the previous definition
make[3]: *** [tm-threads.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Actions

Also available in: Atom PDF