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

fix missing blazesym head file #258

Merged
merged 1 commit into from
Mar 8, 2024
Merged

Conversation

hzhuang1
Copy link
Contributor

@hzhuang1 hzhuang1 commented Mar 8, 2024

There're some updates in Makefile in commit 4b20731. But it's not synchronized into CMakeLists.txt. It causes the error in below.

77%] Building C object CMakeFiles/profile.dir/profile.c.o
libbpf-bootstrap/examples/c/profile.c:17:10: fatal error: blazesym.h: No such file or directory
17 | #include "blazesym.h"
| ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/profile.dir/build.make:84: CMakeFiles/profile.dir/profile.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:520: CMakeFiles/profile.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

There're some updates in Makefile in commit 4b20731. But it's not
synchronized into CMakeLists.txt. It causes the error in below.

 77%] Building C object CMakeFiles/profile.dir/profile.c.o
libbpf-bootstrap/examples/c/profile.c:17:10: fatal error: blazesym.h: No such file or directory
   17 | #include "blazesym.h"
      |          ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/profile.dir/build.make:84: CMakeFiles/profile.dir/profile.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:520: CMakeFiles/profile.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Signed-off-by: Haojian Zhuang <[email protected]>
@danielocfb
Copy link
Collaborator

Looks good to me, thanks!

@anakryiko anakryiko merged commit eb88168 into libbpf:master Mar 8, 2024
10 of 13 checks passed
danielocfb pushed a commit to danielocfb/libbpf-bootstrap that referenced this pull request Mar 11, 2024
As libbpf#258 showed, we also have a CMake based build infrastructure lying
around for the examples. However, currently it is not used in CI and,
hence, prone to breakage.
Change that fact by building using CMake as part of the build workflow.

Signed-off-by: Daniel Müller <[email protected]>
danielocfb pushed a commit to danielocfb/libbpf-bootstrap that referenced this pull request Mar 11, 2024
As libbpf#258 showed, we also have a CMake based build infrastructure lying
around for the examples. However, currently it is not used in CI and,
hence, prone to breakage.
Change that fact by building using CMake as part of the build workflow.

Signed-off-by: Daniel Müller <[email protected]>
anakryiko pushed a commit that referenced this pull request Mar 11, 2024
As #258 showed, we also have a CMake based build infrastructure lying
around for the examples. However, currently it is not used in CI and,
hence, prone to breakage.
Change that fact by building using CMake as part of the build workflow.

Signed-off-by: Daniel Müller <[email protected]>
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

Successfully merging this pull request may close these issues.

3 participants