From: Toby C. <tco...@pl...> - 2009-05-07 07:55:43
|
Incidentally the correct option for a function to use in the lib test is one that the application actually uses, that way if it is absent from the implementation then you dont want to enable support anyway. I would pick something like atan2 which is pretty standard and I am sure is used in player in several places. Toby 2009/5/7 Piotr Trojanek <pio...@gm...> > Hi, > > roundf() is available on QNX, please check at: > > http://www.qnx.com/developers/docs/6.3.2/dinkum_en/c99/math.html#roundf > > I could only test on QNX-6.4.0 and QNX-6.4.1, but according to this webpage > this function is available also on QNX-6.3.2 version, which Paul use. > > According to linux man page, roundf(): > > CONFORMING TO > C99, POSIX.1-2001. > > So I belive, there should be no problem with availability. Maybe the > problem > is because the test, that configure script performs? > > > On Thu, May 7, 2009 at 02:17, gbiggs <gb...@ki...> wrote: > >> Paul Osmialowski wrote: >> >>> I wonder how cmake looks for libm, I can't find it without doing >> deeper >> >>> investigation. >> >> It does a standard library-exists check by testing if it can compile a >> >> small program using roundf() and linking in libm. The choice of >> roundf() >> >> for the test was arbitrary, perhaps QNX doesn't have this function in >> libm? >> >> >> > >> > gcc -Wall -o test test.c -lm >> > test.c: In function `main': >> > test.c:5: warning: implicit declaration of function `roundf' >> > /tmp/cc5uCT9d.o: In function `main': >> > /tmp/cc5uCT9d.o(.text+0x7): undefined reference to `roundf' >> > collect2: ld returned 1 exit status >> > >> > roundf() is C99 function, while gcc on QNX Neutrino is pre-C99 (that's >> why >> > I had to patch rtk2, it was partially written in C99 style). Can we >> change >> > this to something else? >> >> Yep. We just need a suitable function from libm that's in QNX as well. >> Suggestions? >> >> Geoff >> >> >> ------------------------------------------------------------------------------ >> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your >> production scanning environment may not be a perfect world - but thanks to >> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK >> i700 >> Series Scanner you'll get full speed at 300 dpi even with all image >> processing features enabled. http://p.sf.net/sfu/kodak-com >> _______________________________________________ >> Playerstage-developers mailing list >> Pla...@li... >> https://lists.sourceforge.net/lists/listinfo/playerstage-developers >> > > > > -- > Piotr Trojanek > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Playerstage-developers mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-developers > > -- This email is intended for the addressee only and may contain privileged and/or confidential information |