To: | |
---|---|
Subject: | [ts-7000] Re: circle-7kv.c Undefined reference to 'sin' (and 'cos') TS-7250 |
From: | "charliem_1216" <> |
Date: | Thu, 05 Mar 2009 19:28:38 -0000 |
Hi -- #include <math.h> in your code, and then link with -lm A linux system with man pages would be a big help (for the OP). regards, ...... charlie --- In wrote: > > Just a guess: try adding -lmath or just -lm, I believe these functions > originate in the math library. > > --- On Wed, 3/4/09, alanbarton69 <> wrote: > From: alanbarton69 <> > Subject: [ts-7000] circle-7kv.c Undefined reference to 'sin' (and 'cos') > TS-7250 > To: > Received: Wednesday, March 4, 2009, 8:12 PM > > > > > > > > > > > > > Hi. I am trying to compile circle-7kv.c in Cygwin using TS-7250 > Cross Toolchain. Compiler cannot find 'sin' or 'cos'. I probably have omitted > a PATH. Any idea where the include should be ? > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/ts-7000/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/ts-7000/join (Yahoo! ID required) <*> To change settings via email: <*> To unsubscribe from this group, send an email to: <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [ts-7000] Re: Shared Memory between User Space App and 2.4 Kernel Module, charliem_1216 |
---|---|
Next by Date: | Re: [ts-7000] Re: Shared Memory between User Space App and 2.4 Kernel Module, Bill Gatliff |
Previous by Thread: | Re: [ts-7000] circle-7kv.c Undefined reference to 'sin' (and 'cos') TS-7250, mike . mcdonald0 |
Next by Thread: | [ts-7000] Re: circle-7kv.c Undefined reference to 'sin' (and 'cos') TS-7250, palmeirapfmp |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU