Problems ...

Lars Segerlund lars.segerlund@comsys.se
Mon Jun 4 06:12:00 GMT 2001


 Hi,

  I am trying to mix fortran and c for some realtime code, so I compile
my fortran to an .o file and my c to a .o file and the do a ld -l .....
to get an relocatable object file which complains:

callan_mod.o: unresolved symbol cos
callan_mod.o: unresolved symbol exp
callan_mod.o: unresolved symbol floor
callan_mod.o: unresolved symbol sin

 when I use the code, so does anybody know why these functions are not
found as I link with -lm ? 

 I have been doing some serious debugging but I think there is something
I am missing ?

 / Best regards, Lars Segerlund



More information about the Gcc-help mailing list