[Ffmpeg-devel] 64bit support

msh.onliners.dk at webmail.pil.dk msh.onliners.dk
Sun Jun 26 22:03:12 CEST 2005


Hi,

I dont know if this is a know issue but ffmpeg fails to build on 64 bit
machins  - I've tried on two.

The result is like this:

...

rm -f libavcodec.a
ar rc libavcodec.a common.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 opts.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 h263.o h261.o msmpeg4.o h263dec.o svq1.o rv10.o
wmadec.o indeo3.o
ranlib libavcodec.a
gcc -shared -o libavcodec.so common.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 opts.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 h263.o h261.o msmpeg4.o h263dec.o svq1.o rv10.o
wmadec.o indeo3.o  -lm -lz -ldl  -Wl,--warn-common -rdynamic
/usr/bin/ld: common.o: relocation R_X86_64_32 against `a local symbol' can
not be used when making a shared object; recompile with -fPIC
common.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libavcodec.so] Error 1
make[1]: Leaving directory `/usr/src/ffmpeg-0.4.9-pre1/libavcodec'
make: *** [lib] Error 2


I would be happy to grant you access to a 64 bit machine using ssh if that
would be of any help!

Please let me know if there is something I can do to assist you !





More information about the ffmpeg-devel mailing list