Project

General

Profile

Actions

Bug #755

closed

pcap related build failure

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

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

Description

gcc -DHAVE_CONFIG_H -I. -I..  -I../libhtp   -DLOCAL_STATE_DIR=\"/opt/suricata-git/var\" -g -O2 -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -DPROFILING -DLIBPCAP_VERSION_MAJOR=0 -DREVISION="cc51eec" -MT source-pcap.o -MD -MP -MF .deps/source-pcap.Tpo -c -o source-pcap.o source-pcap.c
source-pcap.c: In function 'PcapTryReopen':
source-pcap.c:185: error: 'LIBPCAP_SNAPLEN' undeclared (first use in this function)
source-pcap.c:185: error: (Each undeclared identifier is reported only once
source-pcap.c:185: error: for each function it appears in.)
source-pcap.c: In function 'ReceivePcapThreadInit':
source-pcap.c:551: error: 'LIBPCAP_SNAPLEN' undeclared (first use in this function)
make[3]: *** [source-pcap.o] Error 1
make[3]: Leaving directory `/home/victor/build/oisf/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/victor/build/oisf/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/victor/build/oisf'
make: *** [all] Error 2

Note: LIBPCAP_VERSION_MAJOR=0

Actions

Also available in: Atom PDF