[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Linking gives errors
From: Thomas Nemeth ####@####.#### Date: 13 Apr 2006 13:29:27 +0100 Message-Id: <200604131429.23267.thomas.nemeth@betatech.fr> Hi, When compiling either with shared libs or not, I get an error when linking to libmw.so about not found references to sinf() and cosf(). I'm Using gcc-3.4.3 for ARM with uClibc 0.9.27. I tought it may be uClibc not having these functions and wanted to replace them with cos() and sin() but a simple find/grep command couldn't find the sources using these functions... [thomas@dev07 src]$ find . -type f | LC_ALL=C xargs grep -HEw "(sinf| cosf|tanf)" Binary file ./lib/libmwin.a matches Binary file ./obj/mwin/winlib/graph3d.o matches Binary file ./obj/demos/nxroach/nxroach.o matches [thomas@dev07 src]$ So these references can be found in the object files but not in the sources... I surely miss something, but what ? Attachment contains the last output of make... -- Thomas Nemeth - Ingénieur d'Études en Informatique Industrielle Industrial Computing Software Designer BETAtech - 15, rue Apollo, Z.A. de Montredon, 31240, L'Union. 05 34 30 40 00 / 05 34 30 40 09 [Content type text/x-log not shown. Download] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] Linking gives errors
From: "Greg Haerr" ####@####.#### Date: 18 Apr 2006 23:48:39 +0100 Message-Id: <03e101c6633a$3444b990$6401a8c0@winXP> : When compiling either with shared libs or not, I get an error when : linking to libmw.so about not found references to sinf() and cosf(). : I'm Using gcc-3.4.3 for ARM with uClibc 0.9.27. I tought it may be : uClibc not having these functions and wanted to replace them with cos() : and sin() but a simple find/grep command couldn't find the sources : using these functions... The file engine/devarc.c is the only file that uses the sin/cos functions. If HIGHPRECISION is not defined, then table lookup is performed, otherwise sin/cos are called. On some systems, these may be translated to sinf/cosf. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |