Problem when compiling

samir idrissi idrissisamir@hotmail.com
Tue Feb 26 09:07:00 GMT 2002



#include <math.h>
...
...
...
RES= pow(X,Y);
...
...

Iget this message
/tmp/cc4REunT.o(.text+0x2ac): undefined reference to `pow'
collect2: ld returned 1 exit status

In the directory /urs/include I have the file math.h.

I have no problem when compliling with g++.

What can I do if I want to complile with gcc ?

Sincerly yours.


_________________________________________________________________
Discutez en ligne avec vos amis, essayez MSN Messenger : 
http://messenger.msn.fr/



More information about the Gcc mailing list