Menu

#1 no sinf in -lm

closed
Build (2)
5
2004-03-17
2004-02-24
No

hi,

i've tried to build your plugins, but got

checking for sinf... no
checking for sinf in -lm... no
configure: error: ** No sinf function found

in configure phase. Do you aware of a replacement lib
or solution for it?

Discussion

  • Stefan Sauer

    Stefan Sauer - 2004-02-24

    Logged In: YES
    user_id=250654

    have a look at
    http://gcc.gnu.org/ml/libstdc++/2000-06/msg00009.html

     
  • Mike Rawes

    Mike Rawes - 2004-03-11

    Logged In: YES
    user_id=540366

    Hi

    What libc and platform are you using? I'm using GNU libc6
    (glibc-2.3.2) on Linux.

    Do you have the sin function? I should really add a fallback
    to this (and other *f) if the float variant isn't found.

     
  • Mike Rawes

    Mike Rawes - 2004-03-11
    • assigned_to: nobody --> waxfrenzy
     
  • Stefan Sauer

    Stefan Sauer - 2004-03-11

    Logged In: YES
    user_id=250654

    I am using solaris here ;-)
    The fallbacks (probably as simple #defines) should do.

     
  • Mike Rawes

    Mike Rawes - 2004-03-17

    Logged In: YES
    user_id=540366

    I've changed the check to substitute the double variants if
    sinf is not found - it's done wholesale - if sinf isn't
    found, it's assumed that there's no cosf, fabsf, floorf etc.

    Current CVS has the changes (as well as quite a few others
    since the last release - I really need to get a new release
    out :)

     
  • Mike Rawes

    Mike Rawes - 2004-03-17
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB