libpcap1.0.0移植到arm开发板上

本文介绍了将libpcap1.0.0移植到ARM开发板的步骤,包括下载源码、修改configure文件、执行configure、定制Makefile、编译与安装,并强调了在跨编译过程中需要注意的问题。
摘要由CSDN通过智能技术生成

在移植的过程中,主要参考了这篇博文http://blog.sina.com.cn/s/blog_4bec945b010009r2.html

1、从http://www.tcpdump.org/官方网址上下载libpcap1.0.0源码压缩包,进行解压。

2、修改confiugre文件,把下面两段注释掉,在6249行和6587行,为什么要这样做,没有深入了解其原因。

#if test -z "$with_pcap" && test "$cross_compiling" = yes; then
 # { { echo "$as_me:$LINENO: error: pcap type not determined when cross-compiling; use --with-pcap=..." >&5
 #echo "$as_me: error: pcap type not determined when cross-compiling; use --with-

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值