Explicitly disable everything your target doesn't have.
Run file libvpx.so :
Cross-compiling turns that 45 minutes into . But only if you know the incantations. Step 2: The Toolchain Trap You need a cross-compiler. For S01 (Cortex-A53), I recommend aarch64-linux-gnu-gcc . cross s01 libvpx
Now run a decode test on the S01:
ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked Perfect. Explicitly disable everything your target doesn't have