Page 1 of 1

Error compiling vls-0.5.6-r2 dvb-plugin

Posted: 06 Jul 2005 15:53
by grassu
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:

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
My system is:

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)
Any help appreciated,

grassu

Re: Error compiling vls-0.5.6-r2 dvb-plugin

Posted: 06 Jul 2005 23:39
by fkuehne
Are you sure that you really need to use VLS?

VLC is much better maintained and compilable for all platforms. It features almost the same stuff as VLS now and is much easier to use.

Posted: 07 Jul 2005 10:03
by Guest
Thanks for the tip, I will try it.

Is it possible to run vlc on commandline? I don't have any xserver.

Posted: 07 Jul 2005 10:26
by fkuehne
Yes, sure. You can use simple command-line options or the rc-interface for real-time controlling through the command-line. The RC-interface can even be used through a telnet-connection over a network.
Additionally, a ncurses-interface exists, which is a GUI-like interface composed of ascii-letters. It does not need X as well.