[Ffmpeg-user-old] Re: [Ffmpeg-user] Compiling ffmpeg on amd64 linux with mmx
Romlido, Did you ever solve this? I get the same error. Regards, Mark markrages at gmail On 3/12/05, romildo at uber.com.br <romildo at uber.com.br> wrote:
Hello.
I am trying to compile ffmpeg from cvs in my amd64 system (Gentoo Linux), with mmx enabled, and I am getting an error:
relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object
Has anybody here succeeded in compiling ffmpeg from cvs in amd64 on Linux with mmx enabled? If so, I would apreciate any help.
Romildo
Command output:
$ gcc --version | head -n 1 gcc (GCC) 3.4.3 20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7)
$ export CFLAGS="-march=k8 -pipe -O2"
$ ./configure --enable-pp --enable-gpl --enable-mp3lame --enable-ogg --enable-vorbis --enable-faad --enable-faadbin --enable-faac --enable-a52 --enable-shared --disable-debug --disable-altivec --prefix=/var/tmp/TEST --extra-cflags="-fPIC" Install prefix /var/tmp/TEST Source path /var/tmp/ffmpeg-cvs/ffmpeg C compiler gcc make make CPU x86_64 (generic) Big Endian no inttypes.h yes broken inttypes.h no MMX enabled yes Vector Builtins yes gprof enabled no zlib enabled yes mp3lame enabled yes ogg enabled yes vorbis enabled yes theora enabled no faad enabled yes faadbin enabled yes faac enabled yes xvid enabled no x264 enabled no a52 support yes a52 dlopened no dts support no pp support yes debug symbols no strip symbols yes optimize yes shared pp no Video hooking yes SDL support yes Imlib2 support yes freetype support yes Sun medialib support no pthreads support no 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 config.h is unchanged
$ make [...] gcc -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 dv.o error_resilience.o fft.o mdct.o mace.o huffyuv.o cyuv.o raw.o h264.o golomb.o vp3.o asv1.o 4xm.o cabac.o ffv1.o ra144.o ra288.o vcr1.o cljr.o roqvideo.o dpcm.o interplayvideo.o xan.o rpza.o cinepak.o msrle.o msvideo1.o vqavideo.o idcinvideo.o adx.o rational.o faandct.o 8bps.o smc.o parser.o flicvideo.o truemotion1.o vmdav.o lcl.o qtrle.o g726.o flac.o vp3dsp.o integer.o snow.o tscc.o sonic.o ulti.o h264idct.o qdrw.o xl.o rangecoder.o png.o pnm.o qpeg.o vc9.o h263.o h261.o msmpeg4.o h263dec.o svq1.o rv10.o wmadec.o indeo3.o shorten.o loco.o alac.o a52dec.o liba52/bit_allocate.o liba52/bitstream.o liba52/downmix.o liba52/imdct.o liba52/parse.o liba52/crc.o liba52/resample.o faad.o faac.o libpostproc/postprocess.o mp3lameaudio.o oggvorbis.o i386/fdct_mmx.o i386/cputest.o i386/dsputil_mmx.o i386/mpegvideo_mmx.o i386/idct_mmx.o i386/motion_est_mmx.o i386/simple_idct_mmx.o i386/fft_sse.o i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o -lm -lz -ldl -lfaac -lmp3lame -logg -lvorbis -lvorbisenc -Wl,--warn-common -rdynamic /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: libpostproc/postprocess.o: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC libpostproc/postprocess.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [libavcodec.so] Error 1 make[1]: Leaving directory `/var/tmp/ffmpeg-cvs/ffmpeg/libavcodec' make: *** [lib] Error 2
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&opclick _______________________________________________ Ffmpeg-user mailing list Ffmpeg-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ffmpeg-user
-- You think that it is a secret, but it never has been one. - fortune cookie ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Ffmpeg-user mailing list Ffmpeg-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ffmpeg-user
participants (1)
-
markrages@gmail.com