Bug #35
closedbuilding on OS X failes: fmemopen is missing
Description
gcc -g -O2 -Wall -fno-strict-aliasing -DOS_DARWIN -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I /opt/local/include -DLIBPCAP_VERSION_MAJOR=1 -DUNITTESTS -DDEBUG -L/opt/local/lib -o suricata suricata.o runmodes.o packet-queue.o threads.o source-nfq.o source-pcap.o source-pcap-file.o source-pfring.o decode.o decode-ethernet.o decode-sll.o decode-gre.o decode-ppp.o decode-pppoe.o decode-ipv4.o decode-ipv6.o decode-icmpv4.o decode-icmpv6.o decode-tcp.o decode-udp.o flow.o flow-queue.o flow-hash.o flow-util.o flow-var.o flow-bit.o flow-alert-sid.o pkt-var.o host.o detect.o detect-engine-sigorder.o detect-engine.o detect-rpc.o detect-isdataat.o detect-window.o detect-ftpbounce.o detect-engine-address.o detect-engine-threshold.o detect-engine-address-ipv4.o detect-engine-address-ipv6.o detect-engine-proto.o detect-engine-port.o detect-engine-siggroup.o detect-engine-mpm.o detect-engine-iponly.o detect-parse.o detect-ack.o detect-seq.o detect-content.o detect-uricontent.o detect-flowbits.o detect-flowvar.o detect-flowint.o detect-pktvar.o detect-pcre.o detect-depth.o detect-nocase.o detect-fast-pattern.o detect-recursive.o detect-rawbytes.o detect-bytetest.o detect-bytejump.o detect-sameip.o detect-ipproto.o detect-within.o detect-distance.o detect-offset.o detect-sid.o detect-priority.o detect-rev.o detect-classtype.o detect-reference.o detect-tag.o detect-threshold.o detect-metadata.o detect-msg.o detect-id.o detect-flow.o detect-dsize.o detect-stream_size.o detect-decode-event.o detect-ipopts.o detect-flags.o detect-fragbits.o detect-gid.o detect-noalert.o detect-csum.o detect-ttl.o detect-itype.o detect-icode.o detect-http-cookie.o detect-tls-version.o detect-icmp-id.o detect-dce-iface.o detect-dce-opnum.o detect-dce-stub-data.o util-print.o util-mpm.o util-binsearch.o util-mpm-wumanber.o util-mpm-b2g.o util-mpm-b3g.o util-cidr.o util-unittest.o util-hash.o util-hashlist.o util-bloomfilter.o util-bloomfilter-counting.o util-pool.o util-time.o util-var.o util-var-name.o util-byte.o util-debug.o util-debug-filters.o util-error.o util-enum.o util-radix-tree.o util-host-os-info.o util-rule-vars.o util-fix_checksum.o util-daemon.o util-random.o util-classification-config.o tm-modules.o tm-queues.o tm-queuehandlers.o tm-threads.o tmqh-simple.o tmqh-nfq.o tmqh-packetpool.o tmqh-flow.o alert-fastlog.o alert-debuglog.o alert-unified-log.o alert-unified-alert.o alert-unified2-alert.o log-httplog.o stream.o stream-tcp.o stream-tcp-reassemble.o respond-reject.o respond-reject-libnet11.o conf.o conf-yaml-loader.o counters.o app-layer.o app-layer-detect-proto.o app-layer-parser.o app-layer-htp.o app-layer-tls.o app-layer-smb.o app-layer-smb2.o app-layer-dcerpc.o app-layer-ftp.o defrag.o -lhtp -lpcap -lnet -lpthread -lyaml -lpcre
Undefined symbols:
"_fmemopen", referenced from:
_SCClassConfGenerateInValidDummyClassConfigFD03 in util-classification-config.o
_SCClassConfGenerateInValidDummyClassConfigFD02 in util-classification-config.o
_SCClassConfGenerateValidDummyClassConfigFD01 in util-classification-config.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [suricata] Error 1
Files