xine-lib-1.2 compile problem

serge pecher <[email protected]>
Newsgroups gmane.comp.video.xine.user
Message-ID <[email protected]>
 Hello,


 


I am trying to compile xine-lib-1.2 on a kubuntu 8.04 system.


I had errors during the make. I did looked at the output of autogen.sh
(configure part) and installed almost every package that was not present
(checking xxxxx : no).


I also had some missing .h files in /usr/include, and I solved that problem
with ln -s ...


Now when I compile I have :


<span class="Apple-style-span" style="border-collapse: collapse; color:
rgb(51, 51, 51); font-family: 'Lucida Grande'; font-size: 13px; line-height:
18px; -webkit-border-horizontal-spacing: 2px;
-webkit-border-vertical-spacing: 2px; ">make[2]: Entering directory
`/usr/local/src/xine-lib-cvs-709/src/audio_dec'<br style="margin-top: 0px;
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px;
padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
/bin/bash ../../libtool --tag=CC --mode=link gcc -O3 -ffast-math
-fexpensive-optimizations -mtune=pentiumpro -fvisibility=hidden -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/local/lib/xine/plugins/2.0
xineplug_decode_dts_la-xine_dts_decoder.lo ../../src/xine-engine/libxine.la
-ldts_pic<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px;
margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px;
padding-left: 0px; " />
gcc -shared .libs/xineplug_decode_dts_la-xine_dts_decoder.o -Wl,--rpath
-Wl,/usr/local/src/xine-lib-cvs-709/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<br style="margin-top: 0px; margin-right: 0px;
margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px;
padding-bottom: 0px; padding-left: 0px; " />
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libdts_pic.a(parse.o): In
function `dts_init':<br style="margin-top: 0px; margin-right: 0px;
margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px;
padding-bottom: 0px; padding-left: 0px; " />
(.text+0x5ee): undefined reference to `cos'<br style="margin-top: 0px;
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px;
padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libdts_pic.a(parse.o): In
function `dts_init':<br style="margin-top: 0px; margin-right: 0px;
margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px;
padding-bottom: 0px; padding-left: 0px; " />
(.text+0x66e): undefined reference to `cos'<br style="margin-top: 0px;
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px;
padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libdts_pic.a(parse.o): In
function `dts_init':<br style="margin-top: 0px; margin-right: 0px;
margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px;
padding-bottom: 0px; padding-left: 0px; " />
(.text+0x6be): undefined reference to `cos'<br style="margin-top: 0px;
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px;
padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libdts_pic.a(parse.o): In
function `dts_init':<br style="margin-top: 0px; margin-right: 0px;
margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px;
padding-bottom: 0px; padding-left: 0px; " />
(.text+0x70e): undefined reference to `sin'<br style="margin-top: 0px;
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px;
padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
collect2: ld returned 1 exit status<br style="margin-top: 0px; margin-right:
0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right:
0px; padding-bottom: 0px; padding-left: 0px; " />
make[2]: *** [xineplug_decode_dts.la] Error 1<br style="margin-top: 0px;
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px;
padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
make[2]: Leaving directory
`/usr/local/src/xine-lib-cvs-709/src/audio_dec'<br style="margin-top: 0px;
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px;
padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
make[1]: *** [all-recursive] Error 1<br style="margin-top: 0px;
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px;
padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
make[1]: Leaving directory `/usr/local/src/xine-lib-cvs-709/src'<br
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px;
padding-left: 0px; " />
make: *** [all-recursive] Error 1</span>


As far as I understand I am missing a link to a math library. I tried to add
-lm in the Makefile on a line libdts = -ldts_pic -lm, but I can't see any
difference.


Any idea how I have to bind that library ?


Thanks,


 


sp

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
xine-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.