[mythtv-users] Debian AMD64: linker error

Willi Tonsern willi.tonsern at aon.at
Tue Mar 13 16:40:13 UTC 2007


On Tuesday 13 March 2007 03:56, Joel Jacobs wrote:
thanks for your answer
according to 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=397766 
we have to replace -ldts with -ldts_pic in the configure-file 
and/or ./libs/libavcodec/Makefile resp.
that works fine
Willi
> I struggled with this error too and finally gave up and just disabled
> dts with ./configure.  ac3 works just fine for me without dts support.
> Joel
>
> Willi Tonsern wrote:
> > on Debian-x86 I can make all mythtv components very well
> > now on Debian AMD64 (mobo: m2npv-vm; cpu: Athlon 64 X2; g++-4.1) I have a
> > lot of troubles:
> >
> >
> > this is the the linker statement for libmythavcodec-0.20.so (copied from
> > my make)
> >
> > g++ -shared -Wl,-soname,libmythavcodec-0.20.so.0 -o
> > libmythavcodec-0.20.so.0.20.0 bitstream.o utils.o allcodecs.o mpegvideo.o
> > jrevdct.o jfdctfst.o jfdctint.o mpegaudio.o ac3enc.o mjpeg.o
> > audresample.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
> > faandct.o parser.o g726.o vp3dsp.o bitstream_filter.o h264idct.o
> > rangecoder.o pnm.o h263.o msmpeg4.o h263dec.o dvdsub.o dvbsub.o
> > dvbsubdec.o dvdsubenc.o opt.o lzo.o myth_utils.o audioconvert.o aasc.o
> > alac.o asv1.o avs.o cavs.o cavsdsp.o cinepak.o cook.o cljr.o cyuv.o dv.o
> > 8bps.o ffv1.o flac.o flacenc.o flashsv.o flicvideo.o 4xm.o fraps.o h261.o
> > h264.o huffyuv.o idcinvideo.o indeo2.o indeo3.o interplayvideo.o kmvc.o
> > lcl.o loco.o mace.o msrle.o msvideo1.o png.o qdm2.o qdrw.o qpeg.o qtrle.o
> > ra144.o ra288.o roqvideo.o rpza.o rv10.o shorten.o smacker.o smc.o snow.o
> > sonic.o svq1.o truemotion1.o truemotion2.o truespeech.o tta.o tscc.o
> > cscd.o nuv.o rtjpeg.o ulti.o vc1.o vc1dsp.o vcr1.o vmdav.o vorbis.o vp3.o
> > vqavideo.o wmadec.o wnv1.o ws-snd1.o xan.o xl.o bmp.o mmvideo.o zmbv.o
> > a52dec.o bit_allocate.o a52_bitstream.o downmix.o imdct.o parse.o crc.o
> > resample.o dtsdec.o xvmcvideo.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 idct_mmx_xvid.o fft_3dn.o fft_3dn2.o
> > cavsdsp_mmx.o   -L/usr/share/qt3/lib -L/usr/X11R6/lib -L../libavutil
> > -lmythavutil-0.20 -ldts -lqt-mt -lXext -lX11 -lm -lpthread
> >
> > this is the linker's result:
> >
> > /usr/bin/ld:
> > /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libdts.a(parse.o):
> > relocation R_X86_64_32S against `a local symbol' can not be used when
> > making a shared object; recompile with -fPIC
> > /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libdts.a: could not
> > read symbols: Bad value
> >
> >
> > there is no difference (on first view) between the makefiles in both
> > Debian x86 and Debian AMD64
> >
> > maybe somebody has any advise for me?
> > thanks Willi
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

-- 
Willi Tonsern
Johannes-Filzer-Str. 18/24
A-5020 Salzburg


More information about the mythtv-users mailing list