Posted by Massimo Gaspari on April 16, 1998 at 04:53:10:
In Reply to: Re: Problems with linking C-code found from f2c posted by Razvan Coca on April 13, 1998 at 04:38:14:
: : Hi. I have problems with linking the C-code that I got
: : from the f2c-converter. I get the following error
: : messages:
: : /bin/ld: Unsatisfied symbols:
: : sin (code)
: : cos (code)
: : endpic_ (code)
: : pow_dd (code)
: : s_wsle (code)
: : vport_ (code)
: : s_rsle (code)
: : sofcha_ (code)
: : e_wsfe (code)
: : .
: : .
: : .
: : make: *** [main] Error 1
: : The subroutines listed are "from everywhere",
: : general C-routines, libf2c-routines etc.
: : Can anyone help me? Thanks.
: : Regards,
: : Åslaug Grøvlen
: Unfortunately, the -lf2c -lm command line doesn`t
: solve the problem (at least on my i386-ELF-linux
: machine) , since libf2c.so has inside a reference to
: MAIN__ which I cannot resolve even wrapping the
: main() (c code) with some MAIN() function.
: Suggestions are welcomed.
Get the sources from Netlib/f2c and compile
the libf2c.a.
If you are using a Linux i386 system (ELF)
I can send you a libf2c.a using e-mail.
Hope this help
Massimo.