Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

execise-3 missing 'bpf/net/bpf_filter.c' #20

Open
lonelyuan opened this issue Aug 2, 2023 · 0 comments
Open

execise-3 missing 'bpf/net/bpf_filter.c' #20

lonelyuan opened this issue Aug 2, 2023 · 0 comments

Comments

@lonelyuan
Copy link

I encountered the following error while learning execise-3, building libpcap:

$ make  --debug
Reading makefiles...
Updating makefiles....
Updating goal targets....
 File 'all' does not exist.
   File 'libpcap.a' does not exist.
       Prerequisite 'grammar.c' is newer than target 'grammar.h'.
      Must remake target 'grammar.h'.
      Successfully remade target file 'grammar.h'.
     File 'bpf_filter.o' does not exist.
       File 'bpf_filter.c' does not exist.
         File 'bpf/net/bpf_filter.c' does not exist.
        Must remake target 'bpf/net/bpf_filter.c'.
make: *** No rule to make target 'bpf/net/bpf_filter.c', needed by 'bpf_filter.c'.  Stop.

Since I cloned this repository directly, I went to check the libpcap repository direclty. And I found bpf/net/bpf_filter.c in it, but this repository does not. So I think it may be this file was accidentally deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant