交叉编译时出错,急等!

caojian_21 2008-03-05 11:59:54
求教:

我预将 应用程序(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



急等解决办法!!
...全文
125 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
geopower 2008-03-12
  • 打赏
  • 举报
回复
注意看提示就好
caojian_21 2008-03-11
  • 打赏
  • 举报
回复
自己回复一下 , 解决了

将libpcap 重新编译,用 ./configure --host=arm-linux 即可
cryincold 2008-03-05
  • 打赏
  • 举报
回复
UP

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧