Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005

    can't compile hping3- net/bpf.h: No such file or directory

    I need a little help
    I try to compile hping3-alfa-2 under FC3.
    make returns the following error:
    gcc -c -O2 -Wall -DUSE_TCL -g libpcap_stuff.c
    libpcap_stuff.c:20:21: net/bpf.h: No such file or directory
    make: *** [libpcap_stuff.o] Error 1

    Where shoul be net/bpf.h ?
    On my system there is no bpf.h. But there is: /usr/include/pcap-bpf.h

    Thanks for your help.

  2. #2
    ln -sf /usr/local/include/pcap-bpf.h /usr/local/include/bpf.h

  3. #3

    ERROR: net/bpf.h

    ln -sf /usr/local/include/pcap-bpf.h /usr/local/include/net/bpf.h
    Esta es la Solucion


  4. $spacer_open
  5. #4
    Actually, I had to make a /usr/local/include/net directory
    then do the link

    ln -sf /usr/include/pcap-bpf.h /usr/local/include/net/bpf.h

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts