Skip to content

Instantly share code, notes, and snippets.

@Grommish
Created March 19, 2021 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Grommish/7c772cf05980cfcf597cec61f03019ec to your computer and use it in GitHub Desktop.
Save Grommish/7c772cf05980cfcf597cec61f03019ec to your computer and use it in GitHub Desktop.
configure:16715: checking for pcap.h
configure:16715: mipsel-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/home/grommish/openwrt/build_dir/target-mipsel_24kc_musl/suricata-6.0.2=suricata-6.0.2 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -std=c11 -I/home/grommish/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-10.2.0_musl/usr/include -I/home/grommish/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-10.2.0_musl/include/fortify -I/home/grommish/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-10.2.0_musl/include conftest.c >&5
In file included from /home/grommish/openwrt/staging_dir/target-mipsel_24kc_musl/usr/include/pcap/pcap.h:133,
from /home/grommish/openwrt/staging_dir/target-mipsel_24kc_musl/usr/include/pcap.h:43,
from conftest.c:159:
/home/grommish/openwrt/staging_dir/target-mipsel_24kc_musl/usr/include/pcap/bpf.h:96:9: error: unknown type name 'u_int'
96 | typedef u_int bpf_u_int32;
| ^~~~~
/home/grommish/openwrt/staging_dir/target-mipsel_24kc_musl/usr/include/pcap/bpf.h:116:2: error: unknown type name 'u_int'
116 | u_int bf_len;
| ^~~~~
In file included from /home/grommish/openwrt/staging_dir/target-mipsel_24kc_musl/usr/include/pcap/pcap.h:133,
from /home/grommish/openwrt/staging_dir/target-mipsel_24kc_musl/usr/include/pcap.h:43,
from conftest.c:159:
/home/grommish/openwrt/staging_dir/target-mipsel_24kc_musl/usr/include/pcap/bpf.h:250:2: error: unknown type name 'u_short'
250 | u_short code;
| ^~~~~~~
/home/grommish/openwrt/staging_dir/target-mipsel_24kc_musl/usr/include/pcap/bpf.h:251:2: error: unknown type name 'u_char'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment