[Libav-user] androidL undefined reference to 'posix_memalign'

Dmitry Adjiev adjiev.dmitry at gmail.com
Tue Jul 7 21:53:18 CEST 2015


Hi everyone.
I trying to link QtAV with static ffmpeg. Here is build options:

./configure --arch=arm --host-os=linux --disable-programs --disable-shared
--enable-static
--cross-prefix=/home/dmitry/cerbero/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-
--sysroot=/home/dmitry/cerbero/android-ndk-r10d/platforms/android-16/arch-arm
--target-os=android --enable-pic --enable-hwaccels --disable-postproc

After this when I try to link with these libs I have link error:

libavutil/mem.c:95: error: undefined reference to 'posix_memalign'
collect2: error: ld returned 1 exit status

What I do wrong?

-- 
Regards,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20150707/b7558387/attachment.html>


More information about the Libav-user mailing list