On Tue, Sep 30, 2008 at 9:52 PM, Stefan Ellenberger
<[EMAIL PROTECTED]> wrote:
>
> Hi list
>
> Can anyone help me around this xine-lib compile problem caused by a missing 
> math library?
>
> /bin/sh ../../libtool --tag=CC --mode=link gcc -O3 -ffast-math 
> -fexpensive-optimizations -mtune=pentiumpro -fvisibility=hidden 
> -I/usr/include/libdts -pipe -Wall -Wformat=2 -Wno-format-zero-length 
> -Wmissing-format-attribute -Werror-implicit-function-declaration 
> -Wstrict-aliasing=2 -Wchar-subscripts -Wmissing-declarations 
> -Wmissing-prototypes -Wwrite-strings -Wpointer-arith -g -Wl,-z,defs 
> -Wl,--gc-sections -avoid-version -module -g -o xineplug_decode_dts.la -rpath 
> /usr/lib/xine/plugins/2.0 xineplug_decode_dts_la-xine_dts_decoder.lo 
> ../../src/xine-engine/libxine.la -ldts_pic
> gcc -shared .libs/xineplug_decode_dts_la-xine_dts_decoder.o -Wl,--rpath 
> -Wl,/usr/src/xine-lib-1.2/src/xine-engine/.libs 
> ../../src/xine-engine/.libs/libxine.so -ldts_pic -mtune=pentiumpro -Wl,-z 
> -Wl,defs -Wl,--gc-sections -Wl,-soname -Wl,xineplug_decode_dts.so -o 
> .libs/xineplug_decode_dts.so
> /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libdts_pic.a(parse.o): In 
> function `dts_init':
> (.text+0x5ee): undefined reference to `cos'
> /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libdts_pic.a(parse.o): In 
> function `dts_init':
> (.text+0x66e): undefined reference to `cos'
> /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libdts_pic.a(parse.o): In 
> function `dts_init':
> (.text+0x6be): undefined reference to `cos'
> /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libdts_pic.a(parse.o): In 
> function `dts_init':
> (.text+0x70e): undefined reference to `sin'
> collect2: ld returned 1 exit status
> make[2]: *** [xineplug_decode_dts.la] Fehler 1
> make[2]: Verlasse Verzeichnis '/usr/src/xine-lib-1.2/src/audio_dec'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Verlasse Verzeichnis '/usr/src/xine-lib-1.2/src'
> make: *** [all-recursive] Fehler 1
>
> Full Log is attached...
>
> * OS is Xubuntu 8.04
> * FFMPEG library I built is the same you guys recommended (r 15261)
> * libm.so is installaded
> * configure log shows: (checking if gcc supports -ffast-math flag... yes)
>
> I had to set many CPPFlags to redirect configure to the new location of the 
> ffmpeg headers:
>
> ./autogen.sh --prefix=/usr --with-external-ffmpeg --with-xvmc-lib=XvMCNVIDIA 
> --with-xxmc-lib=XvMCNVIDIA CPPFLAGS="-I/usr/local/include/libavcodec 
> -I/usr/local/include/libavdevice -I/usr/local/include/libavformat 
> -I/usr/local/include/libavutil -I/usr/local/include/libpostproc 
> -I/usr/local/include/libyasm -I/usr/include"
>
> Otherwise configure would not find any ffmpeg header at all (looking at the 
> old place in /lib/include/ffmpeg)
>
> so ... how do I change my Ubuntu into a little "math juggling" Einstein? ;-)
>
> Thanks!
>
> _________________________________________________________________
> Werden Sie Mitglied der neuen Windows Live Messenger Familie!
> http://get.live.com
> _______________________________________________
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
>

Hi,
Well i didnt sow this problem before. You can use latest ffmpeg and
also xine-lib1.2 if you patch xine-lib1.2 with this patch:
http://vdr-wiki.de/wiki/index.php/Sidux_VDR_DVB-S2#xine-lib
Did you install *-dev library for ffmpeg and xine-lib1.2? On that page
you can see which are needed on sidux (Debian sid).

_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to