交叉编译时出错,急等!
求教:
我预将 应用程序(ntop)烧入开发板, 它需要 libpcap的支持,在libpcap 的makefile文件中 gcc 改为 arm-linux-gcc(交叉编译gcc) 后, 正常安装了。
但 安装应用程序时 执行 .configure 提示 :
ERROR: pcap header, bpf or library routines are missing
* (yes means it was found, no means it was not found)
*
* pcap.h...yes
* net/bpf.h...no
* pcap-bpf.h...yes
* pcap_open_live() in -lpcap...no
* pcap_findalldevs() in -lpcap...no
*
* (One of the bpf files is required, but either will do)
*
*>>> No way to proceed.
*
*??? 1. Install libpcap (http://www.tcpdump.org/)
*??? and Rerun ./configure
*??? or 2. Use the --with-pcap-root= option
急等解决办法!!