make时出错 " /usr/bin/ld: cannot find -lpcap"

来源:互联网 发布:淘宝热搜词排行榜 编辑:程序博客网 时间:2024/06/08 08:13

问题:虽然makefile里面没有 -lpcap 参数,但是make时出错 "  /usr/bin/ld: cannot find -lpcap"

分析:系统环境:Ubuntu9.04

-lpcap = libpcap

解决:新立得软件包管理器,libpcap安装了,版本是0.8,升级到1.0。OK!

原创粉丝点击