This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problems ...
- To: gcc-help at gcc dot gnu dot org
- Subject: Problems ...
- From: Lars Segerlund <lars dot segerlund at comsys dot se>
- Date: Mon, 04 Jun 2001 15:12:41 +0200
- Organization: Comsys AB
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