zzbb 发表于 2019-1-26 11:47:23

安装ntop3.3遇到的问题及解决方法

checking if sockaddr_storage struct exists... yes  checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... no
  checking if unaligned accesses fail... no
  checking for a BSD-compatible install... /usr/bin/install -c
  configure: creating ./config.status
  config.status: creating Makefile
  config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
  config.status: creating config.h
  # make
  gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-li
  nux.c
  gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./fad-get
  ad.c
  In file included from ./fad-getad.c:67:
  /usr/include/linux/if_packet.h:52: error: expected specifier-qualifier-list befo
  re 鈥榑_u32鈥
  檓ake: *** Error 1
  解决:在/usr/include/linux/if_packet.h加入 #include

页: [1]
查看完整版本: 安装ntop3.3遇到的问题及解决方法