问答详情
源自:3-1 hping介绍及安装

安装hping时出错

[root@Jalon hping-master]# make gcc -c -O2 -Wall    -g  main.c gcc -c -O2 -Wall    -g  getifname.c gc gcc -c -O2 -Wall    -g  parseoptions.c gcc -c -O2 -Wall    -g  datafiller.c libpcap_stuff.c:19:21: error: net/bpf.h: No such file or directory make: *** [libpcap_stuff.o] Error 1 make 的时候出错,求解答

提问者:755306123 2015-05-01 16:54

个回答

  • JyshingDk
    2019-01-03 15:16:05

    libpcap_stuff.c:19:21: 致命错误:net/bpf.h:没有那个文件或目录


  • 潘帅0129
    2016-09-07 14:23:09

    Makefile:66: recipe for target 'libpcap_stuff.o' failed

  • laien
    2016-01-23 12:18:28

    ltcl -lm -lpthread

    /usr/bin/ld: cannot find -ltcl

    collect2: ld returned 1 exit status

    make: *** [hping3] Error 1


  • cosmos3919
    2015-12-19 17:10:38

    $ ln -snf /usr/include/pcap-bpf.h /usr/include/net/bpf.h

  • 好帮手慕珊
    2015-05-04 10:10:15

     查看一下是否安装了libpcap及libpcap-devel 


  • 755306123
    2015-05-01 16:56:18

    libpcap_stuff.c:19:21: error: net/bpf.h: No such file or directory

    make: *** [libpcap_stuff.o] Error 1