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 - : send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html