linux ./configure

[root@localhostlibpcap-0.8.1]#./configureloadingcache./config.cachecheckinghostsystem... [root@localhost libpcap-0.8.1]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking gcc version... (cached) 4
checking for inline... (cached) inline
checking for __attribute__... (cached) no
checking for u_int8_t using gcc... (cached) yes
checking for u_int16_t using gcc... (cached) yes
checking for u_int32_t using gcc... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for sys/ioccom.h... (cached) no
checking for sys/sockio.h... (cached) no
checking for ifaddrs.h... (cached) yes
checking for limits.h... (cached) yes
checking for netinet/if_ether.h... (cached) yes
checking for ANSI ioctl definitions... (cached) yes
checking for ether_hostton... (cached) yes
checking for strerror... (cached) yes
checking for strlcpy... (cached) no
checking for vsnprintf... (cached) yes
checking for snprintf... (cached) yes
checking if --disable-protochain option is specified... enabled
checking packet capture type... linux
checking for getifaddrs... (cached) yes
checking if --enable-ipv6 option is specified... no
checking whether to build optimizer debugging code... no
checking whether to build parser debugging code... no
checking Linux kernel version... (cached) 2
checking if if_packet.h has tpacket_stats defined... (cached) yes
checking whether we have /proc/net/dev... yes
checking whether we have DAG API... no
checking for flex... (cached) flex
checking for flex 2.4 or higher... (cached) yes
checking for bison... no
configure: warning: don't have both flex and bison; reverting to lex/yacc
checking for capable lex... (cached) yes
checking for ranlib... (cached) ranlib
checking if sockaddr struct has sa_len member... (cached) no
checking if sockaddr_storage struct exists... (cached) yes
checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... (cached) no
checking if unaligned accesses fail... (cached) no
checking for a BSD compatible install... (cached) /usr/bin/install -c
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
[root@localhost libpcap-0.8.1]# make
yacc -d grammar.y
make: yacc:命令未找到
make: *** [grammar.c] 错误 127
[root@localhost libpcap-0.8.1]#
帮忙解决下,谢谢了。
展开
 我来答
dawnco
2009-10-18 · TA获得超过324个赞
知道小有建树答主
回答量:789
采纳率:0%
帮助的人:404万
展开全部
安装 yacc

yacc(Yet Another Compiler Compiler),是Unix/Linux上一个用来生成编译器的编译器(编译器代码生成器)。
威孚半导体技术
2024-08-19 广告
威孚(苏州)半导体技术有限公司是一家专注生产、研发、销售晶圆传输设备整机模块(EFEM/SORTER)及核心零部件的高科技半导体公司。公司核心团队均拥有多年半导体行业从业经验,其中技术团队成员博士、硕士学历占比80%以上,依托丰富的软件底层... 点击进入详情页
本回答由威孚半导体技术提供
liuxht
2009-10-18 · TA获得超过2010个赞
知道小有建树答主
回答量:561
采纳率:0%
帮助的人:733万
展开全部
命令提示:装yacc
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式