James Colannino
2006-06-11 04:35:49 UTC
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
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
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
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html