[mythtv] can't compile cvs mythtv on amd64

Christopher N. Deckard cnd at ecn.purdue.edu
Tue Nov 30 16:26:56 UTC 2004


I'm getting this linker error when trying to build MythTV CVS (current 
as of 11:20am EST November 30th).  I've tried for a week to get this 
resolved and haven't figured anything out.  Any ideas?

Thanks,
-Chris

g++ -shared -Wl,-soname,libmythavcodec-0.16.so.0 -o 
libmythavcodec-0.16.so.0.16.0 common.o utils.o mem.o allcodecs.o 
mpegvideo.o h263.o jrevdct.o jfdctfst.o mpegaudio.o ac3enc.o mjpeg.o 
audresample.o dsputil.o motion_est.o imgconvert.o imgresample.o 
msmpeg4.o mpeg12.o h263dec.o svq1.o rv10.o mpegaudiodec.o pcm.o 
simple_idct.o ratecontrol.o adpcm.o eval.o jfdctint.o dv.o 
error_resilience.o wmadec.o fft.o mdct.o mace.o huffyuv.o opts.o cyuv.o 
golomb.o h264.o raw.o indeo3.o asv1.o vp3.o 4xm.o cabac.o ra144.o 
ra288.o vcr1.o cljr.o roqvideo.o dpcm.o tscc.o interplayvideo.o xan.o 
rpza.o cinepak.o msrle.o msvideo1.o vqavideo.o idcinvideo.o adx.o 
rational.o faandct.o snow.o sonic.o 8bps.o parser.o smc.o flicvideo.o 
truemotion1.o vmdav.o lcl.o qtrle.o g726.o flac.o vp3dsp.o integer.o 
h261.o resample2.o h264idct.o png.o pnm.o qdrw.o qpeg.o rangecoder.o 
ulti.o xl.o postprocess.o a52dec.o bit_allocate.o bitstream.o downmix.o 
imdct.o parse.o crc.o resample.o fdct_mmx.o cputest.o dsputil_mmx.o 
mpegvideo_mmx.o idct_mmx.o motion_est_mmx.o simple_idct_mmx.o fft_sse.o 
vp3dsp_mmx.o vp3dsp_sse2.o   -L/usr/share/qt3/lib -L/usr/X11R6/lib 
-lqt-mt -lXext -lX11 -lm -lpthread
/usr/bin/ld: postprocess.o: relocation R_X86_64_32S can not be used when 
making a shared object; recompile with -fPIC
postprocess.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libmythavcodec-0.16.so.0.16.0] Error 1
make[2]: Leaving directory `/root/mythtv/mythtv/libs/libavcodec'
make[1]: *** [sub-libavcodec] Error 2
make[1]: Leaving directory `/root/mythtv/mythtv/libs'
make: *** [sub-libs] Error 2


More information about the mythtv-dev mailing list