Perhaps this question would be better off in a gnu group, but since I use the
I am trying to compile c++ programs, but they seem unable to find or
use the c include files like <stdio.h> and <math.h>. For C everything works fine.
Did I miss some setup things? Or what am I doing wrong? I do have the c++
libraries and include files installed ...
An example of what happens:
x = cos(3.14);
gcc -o test test.ccQuote:}
/tmp/cca041071.o: Undefined symbol _cos referenced from text segment
Compilation exited abnormally with code 1 at Sun Sep 25 13:40:34
Thanks for any help,
telephone: 31-50-634337 9717 LH Groningen
fax: 31-50-634800 The Netherlands
address: Dept. of Biophysical Chemistry tel: 31-50-183714
9747 AG Groningen