ubuntu - Error with 'pcap-lex' while using make for Android OS compilation -
when run
. build/envsetup.sh lunch full-eng make
i following error
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 'pcap_lex' collect2: ld returned 1 exit status make: *** [out/target/product/generic/obj/executables/tcpdump_intermediates/linked/tcpdump] error 1
i have flex , bison installed. i'm running ubuntu 11.10 on 32 bit machine. how solve error?
Comments
Post a Comment