Bug #4152
closedfatal error: 'gnu/stubs-32.h' file not found
Description
Built from master@95729e923f39b5adda31e4843a1b6ee06edbb0c8
Error shows fatal error: 'gnu/stubs-32.h' file not found when attempting to build with --enable-ebpf-build
Host is x86_64-unknown-linux-gnu, Target is mips64-unknown-linux-muslabi64sf
Both systems are 64-bit systems, is it an error that Suricata is trying to find 32-bit header files?
Files
Updated by Victor Julien almost 4 years ago
- Status changed from New to Feedback
- Assignee set to Eric Leblond
I believe the ebpf compilation uses 32 bit for some things. Eric, any comments?
Updated by Eric Leblond almost 4 years ago
Victor Julien wrote in #note-1:
I believe the ebpf compilation uses 32 bit for some things. Eric, any comments?
It should find the architecture at configure time (it is using '-I/usr/include/$(build_cpu)-$(build_os)/').
What is the complete output of build error ?
Updated by Donald Hoskins almost 4 years ago
- File suricata-build.log.tgz suricata-build.log.tgz added
Full build output.
This happens when I add the --enable-ebpf-build flag and not if I leave it off :)
Updated by Victor Julien almost 4 years ago
Eric I believe Donald is cross compiling to misp64.
Updated by Donald Hoskins almost 4 years ago
Victor Julien wrote in #note-4:
Eric I believe Donald is cross compiling to misp64.
Correct - Sorry, I forget that isn't ordinary :)
Build System is x86_64-unknown-linux-gnu (Ubuntu 20.04, in my case) and Host/Target system is mips64-unknown-linux-muslabi64sf
This is being done inside of an OpenWrt build environment. But since the Build and Host/Target are both 64-bit.. That is why the question :)
Updated by Victor Julien almost 4 years ago
- Status changed from Feedback to In Review
- Target version set to 7.0.0-beta1
Updated by Victor Julien almost 4 years ago
Updated by Victor Julien almost 4 years ago
- Status changed from In Review to Closed
- Label Needs backport to 6.0 added
Updated by Jeff Lucovsky over 3 years ago
- Copied to Bug #4313: fatal error: 'gnu/stubs-32.h' file not found added