[FS#346] libpcap: error: 'compiler_state_t {aka struct _compiler_state}' has no member named 'ai'
LEDE Bugs
lede-bugs at lists.infradead.org
Thu Dec 22 04:42:50 PST 2016
A new Flyspray task has been opened. Details are below.
User who did this - Konstantin Shalygin (k0ste)
Attached to Project - LEDE Project
Summary - libpcap: error: 'compiler_state_t {aka struct _compiler_state}' has no member named 'ai'
Task Type - Build Failure
Category - Packages
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - High
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - make[4]: Entering directory '/srv/raid/filez/builder/lede/build_dir/target-mips_24kc_musl-1.1.15/libpcap-1.8.1'
mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-var
iable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap /srv/raid/filez/builder/lede/build_dir/target-mips_24kc_musl-1.1.15/lib
pcap-1.8.1:libpcap-1.8.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sec
tions -I/srv/raid/filez/builder/lede/build_dir/target-mips_24kc_musl-1.1.15/linux/include -I. -DBUILDING_PCAP -D_BSD_SOURCE -DHAVE_CONFIG_H -D_U_="_
_attribute__((unused))" -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variabl
e -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap /srv/raid/filez/builder/lede/build_dir/target-mips_24kc_musl-1.1.15/libpcap
-1.8.1:libpcap-1.8.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-section
s -c ./gencode.c
./gencode.c: In function 'pcap_compile':
./gencode.c:693:8: error: 'compiler_state_t {aka struct _compiler_state}' has no member named 'ai'
cstate.ai = NULL;
^
./gencode.c: In function 'gen_gateway':
./gencode.c:4914:13: error: 'cstate' undeclared (first use in this function)
bpf_error(cstate, "direction applied to 'gateway'");
^
./gencode.c:4914:13: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [Makefile:495: gencode.o] Error 1
make[4]: Leaving directory '/srv/raid/filez/builder/lede/build_dir/target-mips_24kc_musl-1.1.15/libpcap-1.8.1'
make[3]: *** [Makefile:98: /srv/raid/filez/builder/lede/build_dir/target-mips_24kc_musl-1.1.15/libpcap-1.8.1/.built] Error 2
make[3]: Leaving directory '/srv/raid/filez/builder/lede/package/libs/libpcap'
make[2]: *** [package/Makefile:133: package/libs/libpcap/compile] Error 2
make[2]: Leaving directory '/srv/raid/filez/builder/lede'
make[1]: *** [package/Makefile:128: /srv/raid/filez/builder/lede/staging_dir/target-mips_24kc_musl-1.1.15/stamp/.package_compile] Error 2
make[1]: Leaving directory '/srv/raid/filez/builder/lede'
make: *** [/srv/raid/filez/builder/lede/include/toplevel.mk:199: world] Error 2
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=346
More information about the lede-bugs
mailing list