https://bugzilla.novell.com/show_bug.cgi?id=677232 https://bugzilla.novell.com/show_bug.cgi?id=677232#c1 Bernhard Wiedemann <bwiedemann@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bwiedemann@novell.com Resolution| |INVALID --- Comment #1 from Bernhard Wiedemann <bwiedemann@novell.com> 2011-03-06 11:46:07 CET --- you need to link with the math library: gcc -lm -g -o test-glibc test-glibc.c worked here and produced output "3" if you look carefully at your error message, you will notice that "ld" (the linker) produced the error, so the code could be compiled, but not linked. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.