Error compiling vls-0.5.6-r2 dvb-plugin
Posted: 06 Jul 2005 15:53
Hi all,
I'm trying to compile vls-0.5.6-r2 on a gentoo amd64 box. It works well without the dvb-plugin but with dvb I get the following error:
My system is:
Any help appreciated,
grassu
I'm trying to compile vls-0.5.6-r2 on a gentoo amd64 box. It works well without the dvb-plugin but with dvb I get the following error:
Code: Select all
Generating dependancies for dvbinput.cpp...
Compiling dvbinput.cpp...
x86_64-pc-linux-gnu-g++ -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DCONFIG_PATH='"/etc/videolan/vls"' -DBUGGY_VLC -DYY_NO_UNPUT -DSYSLOG -I/usr/lib/include -I/usr/lib -D__PLUGIN__ -fPIC -o obj/dvbinput.o -c dvbinput.cpp
In file included from ../../core/core.h:143,
from dvbinput.cpp:33:
../../core/hashtable.cpp: In member function `uint32_t C_HashMethod<void*>::Hash(void*) const':
../../core/hashtable.cpp:100: warning: cast from pointer to integer of different size
Linking ../../../bin/dvbinput.so...
x86_64-pc-linux-gnu-g++ -D_REENTRANT -shared -L/usr/lib -o ../../../bin/dvbinput.so obj/dvbinput.o -ldvb
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libdvb.a(DVB.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libdvb.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [../../../bin/dvbinput.so] Error 1
make[1]: Leaving directory `/var/tmp/portage/vls-0.5.6-r2/work/vls-0.5.6/src/modules/dvbinput'
make: *** [dvbinput] Error 2
Code: Select all
Portage 2.0.51.22-r1 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.12-gentoo-r3 x86_64)
grassu