------- Comment #2 from joseph at codesourcery dot com 2009-06-10 00:58 ------- Subject: Re: New: cos gets replaced by sincos somehow, which doesn't exist on system
On Tue, 9 Jun 2009, thekevinday at gmail dot com wrote: > When I compiling lcms or ncurses I get: undefined reference to `sincos' > uClibc-0.9.28.3 or uClibc-0.30.1 > GCC build triplet: i686-pc-linux-gnu > GCC host triplet: i686-pc-linux-gnu > GCC target triplet: i686-pc-linux-gnu i686-pc-linux-gnu is not correct for a uClibc system; you should be using i686-pc-linux-uclibc. linux.h correctly defines TARGET_HAS_SINCOS to (OPTION_GLIBC) to disable use of sincos if you have a toolchain correctly configured for uClibc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40393