Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: compiling dvdplayer




found it in Suse database: add -lm in line 12 of Makefile:

dvdplayer: $(dvdplayer_objs) $(ac3_objs) $(headers) $(ac3_headers)
        gcc -lm $(dvdplayer_objs) $(ac3_objs) $(DVB)/libdvb/OSD.o -o $@

        Matthias

On Fri, 23 Mar 2001, Matthias Weingart wrote:

> 
> I tried to compile dvdplayer 0.31 in my newly installed Suse 7.1 but with
> no success. It seems that the math libs are not installed.
> Compiling is ok, but linking all .o files together produces:
> 
> ac3dec/imdct.o: In function `imdct_init':
> ac3dec/imdct.o(.text+0x34): undefined reference to `cos'
> ac3dec/imdct.o(.text+0x4d): undefined reference to `sin'
> ac3dec/imdct.o(.text+0x90): undefined reference to `cos'
> 
> Any idea what lib I should use? (cos() and sin() are from math.h)
> 
> Thx
>         Matthias
> 
> 
> 
> 
> --- 
> Info:
> To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
> 
> 



--- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index