Skip to content

Using eUPF with Raspberry Pi 5 #536

Pinned Answered by pirog-spb
howardswe499 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Howard @howardswe499,

I've successfully built eUPF on MacOS (arm) and there was the same issue: no gcc-multilib for arm arch.

What I've made to overcome the issue:

  1. install gcc package instead of gcc-multilib
  2. install linux headers manually
  3. update symlinks to make it works
sudo apt install --no-install-recommends -y clang llvm gcc libbpf-dev
sudo apt install linux-headers-arm64
sudo ln -s /usr/include/aarch64-linux-gnu/asm/ /usr/include/asm
sudo ln -s /usr/include/aarch64-linux-gnu/sys/ /usr/include/sys
sudo ln -s /usr/include/aarch64-linux-gnu/bits/ /usr/include/bits
sudo ln -s /usr/include/aarch64-linux-gnu/gnu/ /usr/include/gnu

Hope it may help.

-- BR, Alex

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@howardswe499
Comment options

Answer selected by howardswe499
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants