From: James Colannino <james@colannino.org>
Subject: Undefined reference to 'fmod'
Date: Sat, 10 Jun 2006 21:35:49 -0700 [thread overview]
Message-ID: <448B9DA5.7050708@colannino.org> (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
next reply other threads:[~2006-06-11 4:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-11 4:35 James Colannino [this message]
2006-06-11 7:17 ` Undefined reference to 'fmod' 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=448B9DA5.7050708@colannino.org \
--to=james@colannino.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).