[Ffmpeg-devel] Compiling problem on ia64

Pablo Toharia pablo.toharia
Wed Jul 27 09:59:52 CEST 2005


That worked fine!!!!

Thanks a lot.
Pablo

Pablo Toharia said:
 > Hi! I have been using ffmpeg devel libraries for a while on x86 based
 > computers. Lately I had the chance of using an ia64 SGI Altix and tried
 > to compile ffmpeg with the shared option enabled. The compiling process
 > was fine until this:
 >
 >     make[1]: Entering directory `/home/ptoharia/ffmpeg/libavcodec'
 >     /usr/bin/gcc296 -shared -o libavcodec.so bitstream.o utils.o mem.o
 > allcodecs.o mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o mpegaudio.o
 > ac3enc.o mjpeg.o     resample.o resample2.o dsputil.o motion_est.o
 > imgconvert.o imgresample.o mpeg12.o mpegaudiodec.o pcm.o simple_idct.o
 > ratecontrol.o adpcm.o eval.o     error_resilience.o fft.o mdct.o raw.o
 > golomb.o cabac.o dpcm.o adx.o rational.o faandct.o parser.o g726.o
 > vp3dsp.o integer.o h264idct.o rangecoder.o         pnm.o h263.o
 > msmpeg4.o h263dec.o dvdsub.o dvbsub.o dvbsubdec.o aasc.o alac.o asv1.o
 > cinepak.o cljr.o cyuv.o dv.o 8bps.o ffv1.o flac.o flicvideo.o
 >     4xm.o fraps.o h261.o h264.o huffyuv.o idcinvideo.o indeo2.o indeo3.o
 > interplayvideo.o lcl.o loco.o mace.o msrle.o msvideo1.o png.o qdrw.o
 > qpeg.o qtrle.o     ra144.o ra288.o roqvideo.o rpza.o rv10.o shorten.o
 > smc.o snow.o sonic.o svq1.o truemotion1.o tscc.o ulti.o vc9.o vcr1.o
 > vmdav.o vorbis.o vp3.o                     vqavideo.o wmadec.o wnv1.o
 > ws-snd1.o xan.o xl.o   -lm -lz -ldl  -Wl,--warn-common -rdynamic
 >     /usr/bin/ld: utils.o: @gprel relocation against dynamic symbol
 > first_avcodec
 >     /usr/bin/ld: utils.o: @gprel relocation against dynamic symbol
 > first_avcodec
 >     /usr/bin/ld: utils.o: @gprel relocation against dynamic symbol
 > first_avcodec
 >     /usr/bin/ld: utils.o: @gprel relocation against dynamic symbol
 > first_avcodec
 >     /usr/bin/ld: utils.o: @gprel relocation against dynamic symbol
 > first_avcodec
 >     /usr/bin/ld: utils.o: @gprel relocation against dynamic symbol
 > first_avcodec
 >     /usr/bin/ld: utils.o: @gprel relocation against dynamic symbol
 > first_avcodec
 >     collect2: ld returned 1 exit status
 >     make[1]: *** [libavcodec.so] Error 1
 >     make[1]: Leaving directory `/home/ptoharia/ffmpeg/libavcodec'
 >     make: *** [lib] Error 2
 >     Exit 2
 >
 > Does anybody knows how to fix that??
 >
 > The configuration command I used was (but I have tried few others ;-)):
 >     ./configure --cpu=ia64 --enable-shared

Try adding --extra-cflags=-fPIC.  That usually helps with such errors.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list