Рещила написать простенькую программку на С:
#include <stdio.h>
#include <math.h>
int main()
{
float a = 4.0;
float b = sqrt(a);
printf("Test passed! b=%f\n", b);
return 0;
}
agata@franca1s:~/programming/c$ gcc -o test test.c
/tmp/ccJMTrHD.o: In function `main':
test.c:(.text+0x3a): undefined reference to `sqrt'
collect2: ld returned 1 exit status
agata@franca1s:~/programming/c$ cat /usr/include/math.h | grep sqrt
# define M_2_SQRTPI 1.12837916709551257390 /* 2/sqrt(pi) */
# define M_SQRT2 1.41421356237309504880 /* sqrt(2) */
# define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */
# define M_2_SQRTPIl 1.1283791670955125738961589031215452L /* 2/sqrt(pi) */
# define M_SQRT2l 1.4142135623730950488016887242096981L /* sqrt(2) */
# define M_SQRT1_2l 0.7071067811865475244008443621048490L /* 1/sqrt(2) */
Система Debian Lenny.