xine-lib-1.2 compile problem

View: New views
3 Messages — Rating Filter:   Alert me  

xine-lib-1.2 compile problem

by specher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 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 :

make[2]: Entering directory `/usr/local/src/xine-lib-cvs-709/src/audio_dec'
/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
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
/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] Error 1
make[2]: Leaving directory `/usr/local/src/xine-lib-cvs-709/src/audio_dec'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/xine-lib-cvs-709/src'
make: *** [all-recursive] Error 1

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
xine-user@...
https://lists.sourceforge.net/lists/listinfo/xine-user

Re: xine-lib-1.2 compile problem

by Matthias Ringwald :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi Serge

On 11.09.2008, at 11:37, serge pecher wrote:

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

what symlinks did you create?

you should not need to create anything to compile.

I've compiled it on ubuntu without "fixing" anything.

maybe you can have a look at the ubuntu xine lib package to see, if  
there are other packages which are needed, e.g., which might contain  
the devel stuff for cos/sin..

matthias

-------------------------------------------------------------------------
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
xine-user@...
https://lists.sourceforge.net/lists/listinfo/xine-user

Re: xine-lib-1.2 compile problem

by specher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Matthias Ringwald" <mringwal@...> wrote:
> hi Serge
>
> On 11.09.2008, at 11:37, serge pecher wrote:
>
>>
>> I also had some missing .h files in /usr/include, and I solved that  
>> problem with ln -s ...
>
> what symlinks did you create?
from what I remember, avcodec.h, rational.h, base64.h and maybe a few
others, but I don't have my machine in front of me.
>
> you should not need to create anything to compile.
>
> I've compiled it on ubuntu without "fixing" anything.
>
> maybe you can have a look at the ubuntu xine lib package to see, if  
> there are other packages which are needed, e.g., which might contain  
> the devel stuff for cos/sin..
good idea, I will  take a look
>
> matthias
>



-------------------------------------------------------------------------
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
xine-user@...
https://lists.sourceforge.net/lists/listinfo/xine-user
LightInTheBox - Buy quality products at wholesale price!