linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Undefined reference to 'fmod'
@ 2006-06-11  4:35 James Colannino
  2006-06-11  7:17 ` Steve Graegert
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: James Colannino @ 2006-06-11  4:35 UTC (permalink / raw)


Hey everyone.  I included the math.h header, proceeded to use fmod(),
then got the following error:

/tmp/ccKQxpJi.o: In function `main':
04-03-calc.c:(.text+0x144): undefined reference to `fmod'
collect2: ld returned 1 exit status

Does anybody know why it won't link?  fmod() is a part of the standard
library.  This makes me very frustrated :(  Thanks very much in advance.

James

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-06-15  0:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-11  4:35 Undefined reference to 'fmod' James Colannino
2006-06-11  7:17 ` Steve Graegert
2006-06-11  7:18 ` Glynn Clements
     [not found] ` <17547.46674.360830.637227@cerise.gclements.plus.com>
2006-06-11 17:58   ` James Colannino
2006-06-11 19:20     ` Steve Graegert
2006-06-14 15:41     ` James Stevenson
2006-06-15  0:20       ` Glynn Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).