[mythtv] Re: Mythtv CVS possibly borked on amd64

Ian Forde ian at duckland.org
Sun Jan 9 00:18:38 EST 2005


On Sat, 2005-01-08 at 18:35 -0800, Ian Forde wrote:
> Instead of R_X86_64_32S I'm seeing the following:
> 
> /usr/bin/ld: utils.o: relocation R_X86_64_32 against `a local symbol'
> can not be used when making a shared object; recompile with -fPIC

Just a little more detail:  The last info printed was:

rm -f libmythavcodec-0.16.so.0.16.0 libmythavcodec-0.16.so
libmythavcodec-0.16.so.0 libmythavcodec-0.16.so.0.16
g++ -shared -Wl,-soname,libmythavcodec-0.16.so.0 -o
libmythavcodec-0.16.so.0.16.0 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 bitstream.o postprocess.o
a52dec.o bit_allocate.o a52_bitstream.o downmix.o imdct.o parse.o crc.o
resample.o   -L/usr/lib64/qt-3.3/lib -L/usr/X11R6/lib64 -lqt-mt -lXext -
lX11 -lm -lpthread
/usr/bin/ld: utils.o: relocation R_X86_64_32 against `a local symbol'
can not be used when making a shared object; recompile with -fPIC
utils.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
`/usr/local/src/myth/cvs.20050108/mythtv/libs/libavcodec'
make[1]: *** [sub-libavcodec] Error 2
make[1]: Leaving directory
`/usr/local/src/myth/cvs.20050108/mythtv/libs'
make: *** [sub-libs] Error 2

So it looks like the local libavcodec that's failing.  I edited the
Makefile in mythtv/libs/libavcodec/ to make sure that both CFLAGS and
CXXFLAGS have -fPIC on them, did a make in that directory and it went
through.  Went back up 2 dirs, did a make, and watched it bomb in
libmythsoundtouch.  Changed the CFLAGS and CXXFLAGS to both have -fPIC,
ran a make in that dir successfully, then back up 2 dirs once again.
The make completed, but running mythfrontend within gdb bombed with a
"The program no longer exists" error.

	-I



More information about the mythtv-dev mailing list