1

当我跑

. build/envsetup.sh
lunch full-eng
make

我收到以下错误

target Executable: tcpdump (out/target/product/generic/obj/EXECUTABLES/tcpdump_intermediates/LINKED/tcpdump)
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/generic/obj/STATIC_LIBRARIES/libpcap_intermediates/libpcap.a(grammar.o): in function pcap_parse:y.tab.c:1711: error: undefined reference to 'pcap_lex'
collect2: ld returned 1 exit status
make: *** [out/target/product/generic/obj/EXECUTABLES/tcpdump_intermediates/LINKED/tcpdump] Error 1

我安装了 flex 和 bison。我在 32 位机器上运行 Ubuntu 11.10。我该如何解决这个错误?

4

0 回答 0