Posted by Razvan Coca on April 13, 1998 at 04:38:14:
In Reply to: Problems with linking C-code found from f2c posted by Åslaug Grøvlen on March 16, 1998 at 08:47:50:
: 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.