Bug #4152
closed
fatal error: 'gnu/stubs-32.h' file not found
Added by Donald Hoskins about 4 years ago.
Updated almost 4 years ago.
Label:
Needs backport to 6.0
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
- 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?
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 ?
Full build output.
This happens when I add the --enable-ebpf-build flag and not if I leave it off :)
Eric I believe Donald is cross compiling to misp64.
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 :)
- Status changed from Feedback to In Review
- Target version set to 7.0.0-beta1
- Status changed from In Review to Closed
- Label Needs backport to 6.0 added
- Copied to Bug #4313: fatal error: 'gnu/stubs-32.h' file not found added
Also available in: Atom
PDF