[Ffmpeg-devel] ffmpeg cross-compile for big-endian armv5
John Clonts
john
Fri May 26 05:47:13 CEST 2006
Hello again,
I am trying to compile the more recent 20060519 snapshot on
openembedded for my NSLU. The error below occurs when trying to link
the executable with the libraries. I have spot checked the
supposedly-missing references and they are in the libraries, e.g.
'avcodec_decode_subtitle' :
nm libavcodec.a | grep avcodec_decode_subtitle
00000984 T avcodec_decode_subtitle
I'm no gcc guru, and even less with openembedded. Can anyone point me
in some direction? :) Sorry if it's a dumb question!
Thanks!
John
---------------------------------------------------------- Error log
armeb-linux-gcc -march=armv5te -mtune=xscale -mthumb-interwork
-mno-thumb -Wl,--warn-common -rdynamic -Wl,--as-needed
-Wl,-rpath-link,/media/hda8/slug/openslug/tmp/work/ffmpeg-20060519-r1/ffmpeg-20060519/libavcodec
-Wl,-rpath-link,/media/hda8/slug/openslug/tmp/work/ffmpeg-20060519-r1/ffmpeg-20060519/libavformat
-Wl,-rpath-link,/media/hda8/slug/openslug/tmp/work/ffmpeg-20060519-r1/ffmpeg-20060519/libavutil
-L/media/hda8/slug/openslug/tmp/staging/armeb-linux/lib
-Wl,-rpath-link,/media/hda8/slug/openslug/tmp/staging/armeb-linux/lib
-Wl,-O1 -lm -la52
-L/media/hda8/slug/openslug/tmp/staging/armeb-linux/lib
-Wl,-rpath-link,/media/hda8/slug/openslug/tmp/staging/armeb-linux/lib
-Wl,-O1 -lm -la52 -g -o ffmpeg_g ffmpeg.o cmdutils.o -L./libavformat
-lavformat -L./libavcodec -lavcodec -L./libavutil -lavutil
-L/media/hda8/slug/openslug/tmp/staging/armeb-linux/lib
-Wl,-rpath-link,/media/hda8/slug/openslug/tmp/staging/armeb-linux/lib
-Wl,-O1 -lm -la52 -lz -ldl -lpthread
ffmpeg.o: In function `output_packet':
ffmpeg.c:(.text+0xe58): undefined reference to `avcodec_decode_subtitle'
ffmpeg.c:(.text+0x19a8): undefined reference to `av_destruct_packet_nofree'
ffmpeg.c:(.text+0x1d14): undefined reference to `img_crop'
ffmpeg.c:(.text+0x1d70): undefined reference to `img_crop'
ffmpeg.c:(.text+0x1ea0): undefined reference to `img_pad'
ffmpeg.c:(.text+0x2254): undefined reference to `av_destruct_packet_nofree'
ffmpeg.c:(.text+0x25d0): undefined reference to `avcodec_encode_subtitle'
ffmpeg.c:(.text+0x2988): undefined reference to `av_parser_change'
ffmpeg.c:(.text+0x2a8c): undefined reference to `av_destruct_packet'
ffmpeg.c:(.text+0x2a94): undefined reference to `av_destruct_packet_nofree'
ffmpeg.o: In function `opt_input_file':
ffmpeg.c:(.text+0x43e0): undefined reference to `av_get_double'
ffmpeg.c:(.text+0x4428): undefined reference to `av_set_double'
ffmpeg.c:(.text+0x4490): undefined reference to `av_get_double'
ffmpeg.c:(.text+0x44d8): undefined reference to `av_set_double'
ffmpeg.o: In function `new_video_stream':
ffmpeg.c:(.text+0x49f0): undefined reference to `av_guess_codec'
ffmpeg.c:(.text+0x4a40): undefined reference to `av_get_double'
ffmpeg.c:(.text+0x4a88): undefined reference to `av_set_double'
ffmpeg.o: In function `new_audio_stream':
ffmpeg.c:(.text+0x5284): undefined reference to `av_guess_codec'
ffmpeg.c:(.text+0x52b4): undefined reference to `av_get_double'
ffmpeg.c:(.text+0x52fc): undefined reference to `av_set_double'
ffmpeg.o: In function `opt_new_subtitle_stream':
ffmpeg.c:(.text+0x5518): undefined reference to `av_get_double'
ffmpeg.c:(.text+0x5560): undefined reference to `av_set_double'
ffmpeg.o: In function `opt_default':
ffmpeg.c:(.text+0x5c60): undefined reference to `av_set_string'
ffmpeg.o: In function `show_help':
ffmpeg.c:(.text+0x6454): undefined reference to `av_opt_show'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1
FATAL: oe_runmake failed
----------------------------------------------------------- Configure output
NOTE: Running /media/hda8/slug/openslug/tmp/work/ffmpeg-20060519-r1/ffmpeg-20060519/configure
--build=i686-linux --host=armeb-linux
--target=armeb-linux --prefix=/usr --exec_prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/libexec --datadir=/usr/share
--sysconfdir=/etc --sharedstatedir=/usr/com
--localstatedir=/var --libdir=/usr/lib
--includedir=/usr/include --oldincludedir=/usr/include
--infodir=/usr/share/info --mandir=/usr/share/man
--enable-mp3lame --enable-vorbis --enable-libogg --enable-faac
--enable-a52 --enable-a52bin --enable-pp --enable-shared
--enable-pthreads --enable-gpl --disable-audio-beos
--disable-dv1394 --disable-debug --disable-ffserver
--disable-ffplay --cross-prefix=armeb-linux-
--extra-cflags=$(TARGET_CFLAGS) --extra-ldflags=$(TARGET_LDFLAGS)
--extra-libs=$(TARGET_LDFLAGS) --cpu=armeb
--prefix=/media/hda8/slug/openslug/tmp/work/ffmpeg-20060519-r1/image/usr
--mandir=/media/hda8/slug/openslug/tmp/work/ffmpeg-20060519-r1/image/usr/share/man
...
Unknown option "--build=i686-linux".
Unknown option "--host=armeb-linux".
Unknown option "--target=armeb-linux".
Unknown option "--exec_prefix=/usr".
Unknown option "--bindir=/usr/bin".
Unknown option "--sbindir=/usr/sbin".
Unknown option "--libexecdir=/usr/libexec".
Unknown option "--datadir=/usr/share".
Unknown option "--sysconfdir=/etc".
Unknown option "--sharedstatedir=/usr/com".
Unknown option "--localstatedir=/var".
Unknown option "--includedir=/usr/include".
Unknown option "--oldincludedir=/usr/include".
Unknown option "--infodir=/usr/share/info".
install prefix /media/hda8/slug/openslug/tmp/work/ffmpeg-20060519-r1/image/usr
source path
/media/hda8/slug/openslug/tmp/work/ffmpeg-20060519-r1/ffmpeg-20060519
C compiler armeb-linux-gcc -march=armv5te -mtune=xscale
-mthumb-interwork -mno-thumb
make make
CPU unknown (generic)
big-endian no
inttypes.h yes
broken inttypes.h no
gprof enabled no
zlib enabled yes
lzo enabled no
libgsm enabled no
mp3lame enabled yes
libogg enabled yes
Vorbis enabled yes
Theora enabled no
FAAD enabled no
faadbin enabled no
FAAC enabled yes
XviD enabled no
x264 enabled no
a52 support yes
a52 dlopened yes
DTS support no
pp support yes
debug symbols no
strip symbols yes
optimize yes
static yes
shared yes
video hooking no
SDL support no
Sun medialib support no
pthreads support yes
AMR-NB float support no
AMR-NB fixed support no
AMR-WB float support no
AMR-WB IF2 support no
network support yes
IPv6 support yes
License: GPL
Creating config.mak and config.h...
More information about the ffmpeg-devel
mailing list