Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

undefined symbol: _sincos



Hello,
    I'm attempting to compile liboil 0.3.3, an optimised inner loop
library, for a new cross platform program I'm working on.

http://www.schleef.org/liboil/

Unfortunately I can not get it to link at the moment. it claims
I have an undefined symbol, _sincos.

gcc -dynamiclib -o .libs/liboiltmp1.0.0.0.dylib -all_load ./.libs/liboilfunctions.a -lm -install_name /opt/cairo//lib/liboiltmp1.0.dylib -compatibility_version 1 -current_version 1.0
ld: Undefined symbols:
_sincos
/usr/bin/libtool: internal link edit command failed
make[3]: *** [liboiltmp1.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2



Does OSX support sincos? I've found references to it on the developer website as a GCC 4.0 builtin function so I would have thought so.
The program links in libm were sincos usually gets defined, so
I'm stuck.


I'm running tiger 10.4.2, XCode 2.1

Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.