cc, ld -- math libraries on RISC ULTRIX
Sudhakar Yerramareddy
sudha at cs.uiuc.edu
Mon Dec 10 08:04:22 AEST 1990
I am trying to call a fortran subroutine from a C program. I tried this
on the DS3100 and DS5000 running ULTRIX 4.0.
When I link the programs together, I get the following error message.
I tried several libraries but in vain. Can someone, please, tell me
what I am doing wrong, in other words, what I ought to do.
Here is what I did:
f77 -c desp56.f
cc eeg-new.c desp56.o -lI77 -lF77 -lm
>>ld:
>>Undefined:
>>sinf
>>sqrtf
>>cosf
>>expf
>>logf
I tried altering the order of the libraries. I also tried a lot of illogical
things (I just wanted to exhaust all possible alternatives!).
Thanks.
-- sudhakar
More information about the Comp.unix.ultrix
mailing list