[MPlayer-dev-eng] lround?

Charles Henrich henrich at sigbus.com
Sun Jun 16 00:30:40 CEST 2002


> > lround is a non-standard function call, only available on linux maybe??
> >
> > libao2/libao2.a(pl_eq.o): In function `init': pl_eq.o(.text+0x2b0):
> > undefined reference to `lround' pl_eq.o(.text+0x2d6): undefined reference
> > to `lround' pl_eq.o(.text+0x2f6): undefined reference to `lround'
> > pl_eq.o(.text+0x311): undefined reference to `lround'
> > libao2/libao2.a(pl_eq.o): In function `bp2': pl_eq.o(.text+0x6c4):
> > undefined reference to `lround' libao2/libao2.a(pl_eq.o)(.text+0x6e2):
> > more undefined references to `lround' follow gmake: *** [mplayer] Error 1
> 
> Just, checked various unix manapages and it seems this is linux-only.

Seems a simple replacement of this is to just add .5 to the value and assign
to an integer, why a function for it?

-Crh

       Charles Henrich         Eon Entertainment         henrich at msu.edu

                       http://www.sigbus.com:81/~henrich



More information about the MPlayer-dev-eng mailing list