# ./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... 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... yes
checking whether gcc accepts -g... yes
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 sys/ioccom.h... no
checking for sys/sockio.h... no
checking for ifaddrs.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 freeifaddrs... yes
checking for strlcpy... no
checking if --disable-protochain option is specified... enabled
checking packet capture type... linux
checking if --enable-ipv6 option is specified... no
checking for netpacket/packet.h... yes
checking Linux kernel version... 2
checking for flex... no
checking for bison... no
checking for capable lex... insufficient
configure: error: 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 .
我刚装了7.04,但是发现在ubuntu上编译很困难,好像什么都缺!
我尝试下载了flex,但是也不能编译通过也提示缺少东西,唉……
编译libpcap时遇到的问题
-
- 帖子: 25
- 注册时间: 2007-06-06 14:55
- nihui
- 帖子: 1746
- 注册时间: 2006-10-21 12:03
- 来自: Shanghai
- 联系:
-
- 帖子: 4
- 注册时间: 2009-01-12 0:30