This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problems ...



 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]