[FFmpeg-user] libfaac Not Found While Cross Compiling FFMPEG on ARM

Nishant Rajput nishant at huskerit.com
Fri Jun 17 13:38:56 CEST 2011


Hello,

I am trying to cross compile ffmpeg on ARCH "ARM" to get libfaac support to
encode raw PCM data to AAC. I have latest source of ffmpeg downloded from
SVN. The error is "*libfaac not found*".

*Here is my Script* :

#!/bin/sh
./configure --prefix=/usr/ \
    --target-os=linux \
    --arch=arm \
    --enable-libfaac \
    --enable-libmp3lame \
    --enable-gpl \
    --enable-nonfree \
    --enable-shared \
    --enable-encoders \
    --enable-avfilter \
    --enable-cross-compile \

--cc=/home/admin1/Desktop/android/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin/arm-eabi-gcc
\

--cross-prefix=/home/admin1/Desktop/android/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin/arm-eabi-
\

--nm=/home/admin1/Desktop/android/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin/arm-eabi-nm
\
    --extra-cflags="-fPIC -DANDROID" \
    --enable-neon \
    --enable-armv5te \

--extra-ldflags="-Wl,-T,/home/admin1/Desktop/android/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/arm-eabi/lib/ldscripts/armelf.x
-Wl,-rpath-link=/home/admin1/Desktop/android/android-ndk-r5b/platforms/android-8/arch-arm/usr/lib
-L/home/admin1/Desktop/android/android-ndk-r5b/platforms/android-8/arch-arm/usr/lib
-nostdlib
/home/admin1/Desktop/android/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/lib/gcc/arm-eabi/4.4.0/crtbegin.o
/home/admin1/Desktop/android/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/lib/gcc/arm-eabi/4.4.0/crtend.o
-lc -lm -ldl"

*I have Attached copy of config.log*

Thanks,
-Nishant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 138763 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20110617/6da1744b/attachment.bin>


More information about the ffmpeg-user mailing list