Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Location
    Germany
    Posts
    69

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


    Hi,
    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
    Just Joined!
    Join Date
    May 2006
    Posts
    1
    ln -sf /usr/local/include/pcap-bpf.h /usr/local/include/bpf.h

  3. #3
    Banned
    Join Date
    Apr 2006
    Posts
    35

    ERROR: net/bpf.h

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

    .::BuSiNdRe::.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Aug 2006
    Posts
    1
    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
  •