Program fails after changing only the C source code
Compile and call inlined Fortran 2003 source code from Perl
Brought to you by:
rongrw
When the C source file "matopmul.c" is modified but the FORTRAN source is left unchanged, the program fails with an error message "undefined symbol: FOR_MatrixMultiply". The reason is that Inline::F2003 doesn't set the name and full path of its shared library when the FORTRAN source is not compiled. Inline::C relies on this info through the "MYEXTLIB" config option.
The changes that were implemented in Inline::F2003 for ticket #2 also resolve this ticket item. The fix will be included in the next release (v1.01) of matopmul.