[vdr] problem compiling libxine(vdr-patched) under gentoo

Thomas Glomann mailinglists at glomann.de
Sat Jun 3 10:14:01 CEST 2006


On Wednesday 31 May 2006 18:17, Thomas Glomann wrote:
> Hi all,
>
> I cannot compile a patched lib-xine using the most recent version available
> in gentoos portage tree. libxine compiles fine without the patch from R.
> Nissl. there is something about "@XINE_PLUGIN_MIN_SYMS@" but I don't know
> what that means. I tried to remove this tag in the Makefile, but then there
> is some other errors..
> Does anyone know how to solve this?
>
> Here is the compile log:
>
> Making all in vdr
> make[3]: Entering directory
> `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r7/work/xine-lib-1.1.2cvs/src/
>vdr' /bin/sh ../../libtool-nofpic --mode=compile
> i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../..
> -I../../include -I../../include -I../../src -I../../src/xine-engine
> -I../../src/xine-engine -I../../src/xine-utils  -I../../src/input
> -I../../src/input  -I../../lib   -D_LARGEFILE64_SOURCE -DNDEBUG
> -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -DENABLE_IPV6
> -march=pentium4 -O2 -pipe -frename-registers -ffunction-sections -c -o
> input_vdr.lo `test -f 'input_vdr.c' || echo './'`input_vdr.c
> mkdir .libs
>
> i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../..
> -I../../include -I../../include -I../../src -I../../src/xine-engine
> -I../../src/xine-engine -I../../src/xine-utils -I../../src/input
> -I../../src/input -I../../lib -D_LARGEFILE64_SOURCE -DNDEBUG -D_REENTRANT
> -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -DENABLE_IPV6 -march=pentium4 -O2
> -pipe -frename-registers -ffunction-sections -c input_vdr.c  -fPIC -DPIC -o
> .libs/input_vdr.o
> /bin/sh ../../libtool-nofpic --mode=link
> i686-pc-linux-gnu-gcc -D_LARGEFILE64_SOURCE -DNDEBUG -D_REENTRANT
> -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -DENABLE_IPV6 -march=pentium4 -O2
> -pipe -frename-registers -ffunction-sections   -o xineplug_inp_vdr.la
> -rpath /usr/lib/xine/plugins/1.1.2 -avoid-version -module
> @XINE_PLUGIN_MIN_SYMS@ input_vdr.lo ../../src/xine-engine/libxine.la
> libtool-nofpic: link: warning:
> `/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../..//libfreetype.la' seems to be
> moved
> i686-pc-linux-gnu-gcc -shared  .libs/input_vdr.o  -Wl,--rpath
> -Wl,/var/tmp/portage/xine-lib-1.1.2_pre20060328-r7/work/xine-lib-1.1.2cvs/s
>rc/xine-engine/.libs ../../src/xine-engine/.libs/libxine.so
> -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../  -march=pentium4
> @XINE_PLUGIN_MIN_SYMS@ -Wl,-soname -Wl,xineplug_inp_vdr.so -o
> .libs/xineplug_inp_vdr.so
>
> i686-pc-linux-gnu-gcc: @XINE_PLUGIN_MIN_SYMS@: No such file or directory
>
>
> Thank you!
>
> greetings
> Thomas Glomann
>
> _______________________________________________
> vdr mailing listr
> vdr at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


It seems that patch number 237 in the gentoo ebuild for xine-lib messes around 
with the " @XINE_PLUGIN_MIN_SYMS@" tag. it seems to remove all these ones 
from all Makefile.ams. I let portage skip this patch (once again via patching 
the respective sources and rebuilding the digest file). Now it is compiling 
fine :)
Hope this little HOWTO helps all other Gentoo users out there :)

greetings
Thomas Glomann



More information about the vdr mailing list