编译libpcap-0.8.3出错

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
marscrazy
帖子: 40
注册时间: 2005-09-11 15:06
送出感谢: 0
接收感谢: 0

编译libpcap-0.8.3出错

#1

帖子 marscrazy » 2005-09-12 14:03

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking gcc version... 3
checking for inline... inline
checking for __attribute__... yes
checking for u_int8_t using gcc... yes
checking for u_int16_t using gcc... yes
checking for u_int32_t using gcc... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/ioccom.h usability... no
checking sys/ioccom.h presence... no
checking for sys/ioccom.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for netinet/if_ether.h... yes
checking for ANSI ioctl definitions... yes
checking for ether_hostton... yes
checking for strerror... yes
checking for strlcpy... no
checking for vsnprintf... yes
checking for snprintf... yes
checking if --disable-protochain option is specified... enabled
checking packet capture type... linux
checking for getifaddrs... 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... 2
checking if if_packet.h has tpacket_stats defined... yes
checking whether we have /proc/net/dev... yes
checking whether we have DAG API... no
checking for flex... no
checking for bison... no
checking for capable lex... insufficient
Your operating system's lex is insufficient to compile
libpcap. flex is a lex replacement that has many advantages, including
being able to compile libpcap. For more information, see
http://www.gnu.org/software/flex/flex.html
头像
leal
帖子: 1119
注册时间: 2005-08-29 14:49
来自: 杭州
送出感谢: 0
接收感谢: 3 次
联系:

Re: 编译libpcap-0.8.3出错

#2

帖子 leal » 2005-09-12 15:13

marscrazy 写了:checking build system type...
checking for flex... no
checking for bison... no
checking for capable lex... insufficient
Your operating system's lex is insufficient to compile
libpcap. flex is a lex replacement that has many advantages, including
being able to compile libpcap. For more information, see
http://www.gnu.org/software/flex/flex.html


看提示啊,安装lex或者flex。
用心×恒 | 豆瓣 | 门户 | Blog
marscrazy
帖子: 40
注册时间: 2005-09-11 15:06
送出感谢: 0
接收感谢: 0

#3

帖子 marscrazy » 2005-09-12 22:16

看着英文就烦。
搞定了,谢了!
happy_gadbee
帖子: 3
注册时间: 2006-10-18 10:56
送出感谢: 0
接收感谢: 0

#4

帖子 happy_gadbee » 2006-10-18 11:13

为什么我在装了flex后还是不行呢,在运行make install-man总是提示make: *** No rule to make target `install-man'. Stop.

呢?书上写,后面还要运行make install-incl也出现相同的问题
happy_gadbee
帖子: 3
注册时间: 2006-10-18 10:56
送出感谢: 0
接收感谢: 0

#5

帖子 happy_gadbee » 2006-10-18 11:17

对了我安装的是libpcap0.9.1版本 ,而且make指令也能运行
回复

回到 “办公、图像、机械电子设计等”