Actions
Bug #701
closedMac OS X 10.6.8 build warning/error
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
Updated by Victor Julien almost 13 years ago
- Status changed from New to Assigned
- Assignee set to Victor Julien
- Target version set to 1.4.1
Updated by Victor Julien almost 13 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Fixed by:
commit 34d063adeac6e7693feb97ebb0b141c49f25c86d
Author: Victor Julien <victor@inliniac.net>
Date: Tue Jan 8 13:47:14 2013 +0100
Fix double definition of CPU_* macro's for Darwin/OSX. Bug 701.
Actions