[MPlayer-users] crosscompile for arm 9

Konstantin Kletschke lists at ku-gbr.de
Mon Jun 20 14:36:13 CEST 2005


Hi people!

Actually I am trying to generate a binary for a arm-linux system running
on an ARM9 CPU.

My crosscompiler is a gcc-3.4.3 uClibc-0.9.27 toolchain generated by
buildroot.

arm-linux-gcc (GCC) 3.4.3

The compiler bails out at:

arm-linux-gcc -I../libvo -I../../libvo  -O4   -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64  -I.            -o mplayer mplayer.o mp_msg.o
cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o
vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o
parser-cfg.o m_struct.o edl.o unrarlib.o mixer.o parser-mpcmd.o
subopt-helper.o libvo/libvo.a libao2/libao2.a
libmpcodecs/libmpcodecs.a   libaf/libaf.a libmpdemux/libmpdemux.a
input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2
-lmpdvdkit libavcodec/libavcodec.a libavformat/libavformat.a
-lz        -lnsl        libfaad2/libfaad2.a  mp3lib/libMP3.a
liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a   -lnsl
-ldl    -lm
libaf/libaf.a(af_tools.o)(.text+0x2d8): In function `af_softclip':
af_tools.c: undefined reference to `sinf'                  
libavcodec/libavcodec.a(ac3enc.o)(.text+0xa10): In function
`AC3_encode_init':
ac3enc.c: undefined reference to `cosf'                    
libavcodec/libavcodec.a(ac3enc.o)(.text+0xa5c):ac3enc.c: undefined
reference to `sinf'
libavcodec/libavcodec.a(ac3enc.o)(.text+0xb30):ac3enc.c: undefined
reference to `cosf'
libavcodec/libavcodec.a(ac3enc.o)(.text+0xb80):ac3enc.c: undefined
reference to `sinf'
libavcodec/libavcodec.a(mdct.o)(.text+0xe0): In function `ff_mdct_init':
mdct.c: undefined reference to `cosf'                      
libavcodec/libavcodec.a(mdct.o)(.text+0xfc):mdct.c: undefined reference
to `sinf'
libavcodec/libavcodec.a(fft.o)(.text+0x9c): In function `ff_fft_init':
fft.c: undefined reference to `cosf'                       
libfaad2/libfaad2.a(cfft.o)(.text+0x31b0): In function `cffti':
cfft.c: undefined reference to `cosf'                      
libfaad2/libfaad2.a(cfft.o)(.text+0x31d4):cfft.c: undefined reference to
`sinf'
libfaad2/libfaad2.a(sbr_fbt.o)(.text+0x398): In function
`master_frequency_table':
sbr_fbt.c: undefined reference to `logf'                   
libfaad2/libfaad2.a(sbr_fbt.o)(.text+0x50c):sbr_fbt.c: undefined
reference to `logf'
libfaad2/libfaad2.a(sbr_fbt.o)(.text+0x82c): In function
`derived_frequency_table':
sbr_fbt.c: undefined reference to `logf'                   
collect2: ld returned 1 exit status                        
make: *** [mplayer] Error 1


I also wan't to mention, that this and another toolchain broke on
compiling snow.c wit -O4 optimisation. The compiler hangs there starting
to occupy all aviable memory (memory leak) before it gets killed because
of no more memory available. snow.c got compiled with -Os then though.

After that the above mentioned thing happens...

Regards, Konstantin Kletschke

-- 




More information about the MPlayer-users mailing list