我在Ubuntu 14.04.2下工作 我正在尝试安装名为“VideoSnarf”的软件 因为这个软件需要pcap,我输入
sudo apt-get install libpcap-dev
然后我输入
./configure
make && make install
但我收到错误
videosnarf.o: IN function 'mediasnarfStart':
videosnarf-0.62/src/videosnarf.c:74 undefined reference to 'pcap_open_offline'
videosnarf-0.62/src/videosnarf.c:88 undefined reference to 'pcap_datalink'
videosnarf-0.62/src/videosnarf.c:101 undefined reference to 'pcap_compile'
videosnarf-0.62/src/videosnarf.c:105 undefined reference to 'pcap_setfilter'
videosnarf-0.62/src/videosnarf.c:110 undefined reference to 'pcap_loop'
videosnarf-0.62/src/videosnarf.c:79 undefined reference to 'pcap_open_live'
videosnarf-0.62/src/videosnarf.c:102 undefined reference to 'pcap_open_geterr'
videosnarf-0.62/src/videosnarf.c:106 undefined reference to 'pcap_open_geterr'
这是由Makefile中的库顺序引起的吗? 如果是我该如何解决?我对Makefile不熟悉