[MPlayer-cvslog] r22855 - in trunk: Makefile libdha libdha/Makefile
Diego Biurrun
diego at biurrun.de
Sun Apr 1 01:24:02 CEST 2007
On Sun, Apr 01, 2007 at 12:11:47AM +0200, Diego Biurrun wrote:
> On Sat, Mar 31, 2007 at 10:32:43PM +0200, Attila Kinali wrote:
> > On Sat, 31 Mar 2007 15:37:30 +0200 (CEST)
> > diego <subversion at mplayerhq.hu> wrote:
> >
> > > Log:
> > > Build libdha statically like all the other libraries.
> >
> > Breaks compilation on amd64:
>
> Works fine here on x86_32 ...
>
> > make[1]: Entering directory `/tmp/mplayer/trunk/vidix/drivers'
> > cc -fPIC -I../libavcodec -I../libavformat -Wdeclaration-after-statement -I. -I.. -I../libavutil -W -Wall -Wno-unused-parameter -O2 -march=k8 -mtune=k8 -g -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/include/ -I/usr/include -I/usr/include/dvdnav -I/usr/include/freetype2 -c -o cyberblade_vid.o cyberblade_vid.c
> > cc -shared cyberblade_vid.o -L../../libdha -ldha -lm -Wl,-soname,cyberblade_vid.so -o cyberblade_vid.so
> > /usr/bin/ld: ../../libdha/libdha.a(libdha.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
> > ../../libdha/libdha.a: could not read symbols: Bad value
> > collect2: ld returned 1 exit status
>
> Try commenting out the VIDIX_LIBS line from vidix/drivers/Makefile.
That seems to do the trick, but vidix/ is about to be converted into a
static lib like all the others anyway.
Diego
More information about the MPlayer-cvslog
mailing list