Problem with #include<math.h>
Posted on 1999-01-19
In two instances, i have compiled programs using the
math.h and string.h files, only to get the following error:
ld: 0711-317 ERROR: undefined symbol: .sqrt
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more info.
I am compiling on AIX.
The header files are where they ought to be. I can include
stdio.h, from the same directory, without any problems.
a: what might be the cause?
b: can i link these header files in through a different method?
even this simple test will generate the above error
Using string.h in a similar simple test generates the same