Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ramana@pw-sys.com
PostPosted: Apr 09, 2009 - 02:48 PM
Rookie


Joined: Mar 13, 2009
Posts: 38


Hi,

I am able to build MPlayer package with Atmel's buildroot-v2.2.1 and working perfectly. Because we need X-windows and GTK, moved to buildroot at <<http://code.google.com/p/buildroot/source/checkout>> and with this i could able to build X-windows and GTK successfully.

But i am getting the following error while building MPlayer package. Can you please help me in solving this. If it is not possible with this buildroot, then is there a way to use the Mplayer and it's associated binaries built with buildroot-v2.2.1. I tried to use the working Mplayer binay (from buildroot-v2.2.1) and got the error

"mplayer: can't resolve symbol '__avr32_f32_cmp_eq'
mplayer: can't resolve symbol 'snd_config_search_alias_hooks"


-------------------------------------------------------------------------
Google code buildroot - MPlayer build Error Log
-------------------------------------------------------------------------

xan.c: In function 'xan_decode_frame':
xan.c:416: warning: 'AVPaletteControl' is deprecated
/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc -DHAVE_AV_CONFIG_H -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -O2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/include --sysroot=/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/ -isysroot /root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2/freetype2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2 -c -o xl.o xl.c
/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc -DHAVE_AV_CONFIG_H -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -O2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/include --sysroot=/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/ -isysroot /root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2/freetype2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2 -c -o zmbv.o zmbv.c
/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc -DHAVE_AV_CONFIG_H -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -O2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/include --sysroot=/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/ -isysroot /root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2/freetype2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2 -c -o pcm.o pcm.c
/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc -DHAVE_AV_CONFIG_H -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -O2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/include --sysroot=/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/ -isysroot /root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2/freetype2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2 -c -o adpcm.o adpcm.c
/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc -DHAVE_AV_CONFIG_H -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -O2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/include --sysroot=/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/ -isysroot /root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2/freetype2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2 -c -o adx.o adx.c
/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc -DHAVE_AV_CONFIG_H -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -O2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/include --sysroot=/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/ -isysroot /root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2/freetype2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2 -c -o g726.o g726.c
/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc -DHAVE_AV_CONFIG_H -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -O2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/include --sysroot=/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/ -isysroot /root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2/freetype2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2 -c -o pthread.o pthread.c
/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc -DHAVE_AV_CONFIG_H -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -O2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/include --sysroot=/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/ -isysroot /root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2/freetype2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2 -c -o avr32/idct.o avr32/idct.S
/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc -DHAVE_AV_CONFIG_H -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -O2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/include --sysroot=/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/ -isysroot /root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2/freetype2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2 -c -o avr32/fdct.o avr32/fdct.S
/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc -DHAVE_AV_CONFIG_H -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -O2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/include --sysroot=/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/ -isysroot /root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2/freetype2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2 -c -o avr32/mc.o avr32/mc.S
/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc -DHAVE_AV_CONFIG_H -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -O2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/include --sysroot=/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/ -isysroot /root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2/freetype2 -I/root/buildroot_googlecode/buildroot-read-only/build_avr32/staging_dir/usr/include/freetype2 -c -o avr32/h264idct.o avr32/h264idct.S
rm -f libavcodec.a
ar rc libavcodec.a bitstream.o utils.o allcodecs.o mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o mjpeg.o resample.o resample2.o dsputil.o motion_est.o imgconvert.o mpeg12.o mpegaudiodec.o simple_idct.o ratecontrol.o eval.o error_resilience.o fft.o mdct.o raw.o golomb.o cabac.o faandct.o parser.o vp3dsp.o h264idct.o rangecoder.o pnm.o h263.o msmpeg4.o h263dec.o opt.o bitstream_filter.o audioconvert.o imgresample.o avr32/dsputil_avr32.o aasc.o ac3enc.o alac.o asv1.o avs.o bmp.o cavs.o cavsdsp.o cinepak.o cljr.o cook.o cscd.o lzo.o cyuv.o dsicinav.o dvbsubdec.o dvbsub.o dvdsub.o dvdsubenc.o dv.o 8bps.o ffv1.o huffyuv.o flac.o flacenc.o flashsv.o flicvideo.o 4xm.o fraps.o gifdec.o h261.o h264.o idcinvideo.o indeo2.o indeo3.o interplayvideo.o dpcm.o kmvc.o loco.o mace.o mmvideo.o mpegaudio.o msrle.o msvideo1.o lcl.o nuv.o rtjpeg.o png.o qdm2.o qdrw.o qpeg.o qtrle.o ra144.o ra288.o roqvideo.o rpza.o rv10.o shorten.o smacker.o smc.o snow.o sonic.o svq1.o targa.o vp3.o tiff.o truemotion1.o truemotion2.o truespeech.o tscc.o tta.o ulti.o vc1.o vc1dsp.o vcr1.o vmdav.o vmnc.o tiertexseqv.o vorbis.o vorbis_data.o vorbis_enc.o vp5.o vp56.o vp56data.o vp6.o vqavideo.o wavpack.o wmadec.o wnv1.o ws-snd1.o xan.o xl.o zmbv.o pcm.o adpcm.o adx.o g726.o pthread.o avr32/idct.o avr32/fdct.o avr32/mc.o avr32/h264idct.o
true libavcodec.a
make[2]: Leaving directory `/root/buildroot_googlecode/buildroot-read-only/build_avr32/MPlayer-1.0rc1/libavcodec'
make[1]: Leaving directory `/root/buildroot_googlecode/buildroot-read-only/build_avr32/MPlayer-1.0rc1'
make: *** [/root/buildroot_googlecode/buildroot-read-only/build_avr32/MPlayer-1.0rc1/mplayer] Error 2


Thanks,
Venkat
 
 View user's profile Send private message  
Reply with quote Back to top
ninevoltz9
PostPosted: Apr 14, 2009 - 05:23 PM
Resident


Joined: Feb 28, 2004
Posts: 976
Location: Ohio

try copying the mplayer.mk and whatever patches from the buildroot tree that worked for you. Your error is in the linking stage. The mplayer configure script is a horrible hack, and not really even compliant with autotools (which sucks in it's own way). You can also try looking in the makefiles and add -lstdc++ and -lasound to the linking stages.

snd_config_search_alias_hooks is exported by the alsa library
__avr32_f32_cmp_eq (I think) is part of libstdc++

_________________
I like cats, too. Let's exchange recipes.
 
 View user's profile Send private message  
Reply with quote Back to top
hce
PostPosted: Apr 14, 2009 - 07:05 PM
Raving lunatic


Joined: Jan 07, 2003
Posts: 4580
Location: Oslo, Norway

Quote:
__avr32_f32_cmp_eq (I think) is part of libstdc++

Nope, it is part of libgcc.
 
 View user's profile Send private message  
Reply with quote Back to top
khukhu
PostPosted: Jan 02, 2012 - 09:55 PM
Rookie


Joined: Dec 20, 2011
Posts: 33


I am facing a similar problem. If __avr32_f32_cmp_eq is part of libgcc then what should I do with libgcc. Should I copy libgcc to the lib folder of the target.
Where can I find libgcc?
 
 View user's profile Send private message  
Reply with quote Back to top
khukhu
PostPosted: Jan 06, 2012 - 09:23 PM
Rookie


Joined: Dec 20, 2011
Posts: 33


Problem solved by running sync version of the rootfilesystem on the target.

So the root file system on the build machine and the target must be synchronized.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits