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

loxilb build error missing gnu/stubs-32.h workaround #16

Open
vincentmli opened this issue May 12, 2024 · 0 comments
Open

loxilb build error missing gnu/stubs-32.h workaround #16

vincentmli opened this issue May 12, 2024 · 0 comments
Assignees

Comments

@vincentmli
Copy link
Owner

loxilb-ebpf program include <linux/if_arp.h> result in missing gnu/stubs-32.h error, workaround this by copy Ubuntu 22.04 host gnu/stubs-32.h to BPFire chroot build directory as:

cp /usr/include/x86_64-linux-gnu/gnu/stubs-32.h build/usr/include/gnu/

root@r210:/home/vincent/go/src/github.com/vincentmli/BPFire# ls -l build/usr/include/gnu/stubs-32.h 
-rw-r--r-- 1 root root 449 May 11 22:07 build/usr/include/gnu/stubs-32.h
@vincentmli vincentmli changed the title loxilb build error missing gnu/stubs-32.h loxilb build error missing gnu/stubs-32.h workaround May 12, 2024
vincentmli added a commit that referenced this issue May 13, 2024
build loxilb in BPFire requires golang 1.22.0,
but then had issue [0], run go mod vendor to
prepare the loxilb to download golang dependencies
package beforehand to avoid issue [0]

loxilb-ebpf build also requires gnu/stubs-32.h
use [1] as workaround

[0]: #18
[1]: #16

Signed-off-by: Vincent Li <[email protected]>
@vincentmli vincentmli self-assigned this Aug 27, 2024
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

No branches or pull requests

1 participant