Answer the question
In order to leave comments, you need to log in
How to solve linking problems when cross-compiling under ARM using GN and Ninja?
We are trying to make a video stream using WebRTC. AllWinner video source on ARM, which successfully streams video in H264 using Software compression, but eats a lot of resources. When trying to compress with a hardware codec, problems occur.
There are ready-made .so libs for AllWinner to work with the encoder. When trying to put them in a Ninja file, the assembly for ARM on Ubuntu is fine. But when running on AllWinner, it drops out:
./peerconnection_client: symbol lookup error: /usr/local/lib/cedarx/libvencoder.so: undefined symbol: SecureMemAdapterOpen
/usr/local/lib/cedarx/libvencoder.so: error: undefined reference to 'MemAdapterClose'
/usr/local/lib/cedarx/libvencoder.so: error: undefined reference to 'MemAdapterGetPhysicAddress'
/usr/local/lib/cedarx/libvencoder.so: error: undefined reference to 'MemAdapterGetPhysicAddressCpu'
/usr/local/lib/cedarx/libvencoder.so: error: undefined reference to 'MemAdapterOpen'
/usr/local/lib/cedarx/libvencoder.so: error: undefined reference to 'MemAdapterPalloc'
/usr/local/lib/cedarx/libvencoder.so: error: undefined reference to 'SecureMemAdapterClose'
/usr/local/lib/cedarx/libvencoder.so: error: undefined reference to 'MemAdapterGetVirtualAddress'
/usr/local/lib/cedarx/libvencoder.so: error: undefined reference to 'MemAdapterPfree'
/usr/local/lib/cedarx/libvencoder.so: error: undefined reference to 'SecureMemAdapterOpen'
/usr/local/lib/cedarx/libvencoder.so: error: undefined reference to 'MemAdapterFlushCache'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question