[MPlayer-cvslog] r22855 - in trunk: Makefile libdha libdha/Makefile

Attila Kinali attila at kinali.ch
Sat Mar 31 22:32:43 CEST 2007


On Sat, 31 Mar 2007 15:37:30 +0200 (CEST)
diego <subversion at mplayerhq.hu> wrote:

> Author: diego
> Date: Sat Mar 31 15:37:29 2007
> New Revision: 22855
> 
> Modified:
>    trunk/Makefile
>    trunk/libdha/   (props changed)
>    trunk/libdha/Makefile
> 
> Log:
> Build libdha statically like all the other libraries.


Breaks compilation on amd64:

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
cyberblade_vid.c: In function 'DumpRegisters':
cyberblade_vid.c:99: warning: unused variable 'val'
cyberblade_vid.c:99: warning: unused variable 'reg'
cyberblade_vid.c: In function 'vixConfigPlayback':
cyberblade_vid.c:386: warning: unused variable 'zoom'
cyberblade_vid.c:386: warning: unused variable 'shrink'
cyberblade_vid.c: At top level:
cyberblade_vid.c:70: warning: 'CRINW' defined but not used
cyberblade_vid.c:84: warning: 'SRINW' defined but not used
cyberblade_vid.c: In function 'vixConfigPlayback':
cyberblade_vid.c:391: warning: 'uv_pitch' may be used uninitialized in this function
cyberblade_vid.c:391: warning: 'y_pitch' may be used uninitialized in this function
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


			Attila Kinali
-- 
Linux ist... wenn man einfache Dinge auch mit einer kryptischen
post-fix Sprache loesen kann
                        -- Daniel Hottinger



More information about the MPlayer-cvslog mailing list