Closed maindoor closed 5 years ago
Because if BPFd uses runtime libraries...they may not be available on the target if it is built with an ubuntu based toolchain. But if I build it with an Openwrt toolchain then those libraries will be present on the target system because other applications too are built with Openwrt toolchain and they run just fine.
Just verified that the executable is statically linked so compiling on an ubuntu machine and moving it to an arm64 embedded board worked. closing issue.
I'm trying to build BPFd using openwrt toolchain that I'm already using to build other applications that run on my target board. but I get the following linker error:
My question is, do I have to use the same openwrt toolchain or can I just get another ubuntu machine and follow the steps you gave to build BPFd ? My target is a IPQ806x board running armv8 core.