A bug report to keep track of the error, reason & fix. A bug in libtool is ca
Reported by Sylvestre LEDRU
Originally assigned to Sylvestre LEDRU
-- Bug description --
A bug report to keep track of the error, reason & fix.
A bug in libtool is causing an error with the /common/ declaration in fortran.
To sum up, Mac OS X has a "two-level namespace" for libraries. This is badly managed by libtool which should change this behavior with the option "-flat_namespace" when calling the linker.
But it doesn't. It is causing some weird issue.
The C2F(com) fortran struct is not available in other libraries. It is initializing value to 0. Therefor, gateways always get Lhs or Rhs being equals to 0.
For example, sin(1), will return a silly error message:
"Incompatible output argument."
The fix is to edit the m4/libtool.m4 (see attachement)
Further information on the issue:
http://www.finkproject.org/doc/porting/libtool.php?phpLang=en
-- Scilab error message --
-- How to reproduce the bug --