fatal error: 'gnu/stubs-32.h' file not found
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?
Updated by Eric Leblond almost 2 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 2 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 :)