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
[-DBUILD_SHARED_LIBS=ON] "error: driver/syscall_compat_x86_64.h: No such file or directory" at build time #1820
Comments
The same happens when attempting to build from the latest commit: |
Seems related to the use of
|
This was resolved by adding |
I've made some progress on this. I'm now encountering:
|
* driver/CMakeLists.txt (DRIVER_SOURCES): Add missing headers. * userspace/libscap/engine/gvisor/CMakeLists.txt [BUILD_SHARED_LIBS]: Add missing include directories. * test/libscap/CMakeLists.txt (LIBSCAP_TESTS_LIBRARIES): Add ${PROTOBUF_LIB}. Fixes: falcosecurity#1820
* driver/CMakeLists.txt (DRIVER_SOURCES): Add missing headers. * userspace/libscap/engine/gvisor/CMakeLists.txt [BUILD_SHARED_LIBS]: Add missing include directories. * test/libscap/CMakeLists.txt (LIBSCAP_TESTS_LIBRARIES): Add ${PROTOBUF_LIB}. Fixes: falcosecurity#1820 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* driver/CMakeLists.txt (DRIVER_SOURCES): Add missing headers. * userspace/libscap/engine/gvisor/CMakeLists.txt [BUILD_SHARED_LIBS]: Add missing include directories. * test/libscap/CMakeLists.txt (LIBSCAP_TESTS_LIBRARIES): Add ${PROTOBUF_LIB}. Fixes: falcosecurity#1820 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* driver/CMakeLists.txt (DRIVER_SOURCES): Add missing headers. * userspace/libscap/engine/gvisor/CMakeLists.txt [BUILD_SHARED_LIBS]: Add missing include directories. * test/libscap/CMakeLists.txt (LIBSCAP_TESTS_LIBRARIES): Add ${PROTOBUF_LIB}. Fixes: falcosecurity#1820 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Describe the bug
Hi! I'm trying to build from the latest 0.15.1 git tag on my Guix System machine, and I'm getting this build failure:
How to reproduce it
I'm building using system libraries only and with the following CMake flags:
"../source" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DCMAKE_INSTALL_PREFIX=/gnu/store/qvsb1bb8q71xgm1x93p6dwpm7phmcppj-falcosecurity-libs-0.15.1" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPATH=/gnu/store/qvsb1bb8q71xgm1x93p6dwpm7phmcppj-falcosecurity-libs-0.15.1/lib" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DUSE_BUNDLED_DEPS=OFF" "-DBUILD_DRIVER=OFF" "-DBUILD_LIBSINSP_EXAMPLES=OFF" "-DBUILD_LIBSCAP_EXAMPLES=OFF" "-DBUILD_SHARED_LIBS=ON" "-DENABLE_LIBSCAP_TESTS=ON" "-DFALCOSECURITY_LIBS_VERSION=0.15.1"
Expected behaviour
Build should succeed.
0.15.1
From source.
The text was updated successfully, but these errors were encountered: