On 2008-08-29 11:09+0200 Werner Smekal wrote:

> Hi,
>
> after disabling ada (cmake -G "MinGW Makefiles" -DENABLE_ada=OFF
> ..\..\plplot) cmake passes the configuration stage. Running make gives
> troubles with fortran 77 though:
>
> Scanning dependencies of target plplotf77d
> [ 52%] Building Fortran object
> bindings/f77/CMakeFiles/plplotf77d.dir/strutil.obj
> [ 54%] Building Fortran object
> bindings/f77/CMakeFiles/plplotf77d.dir/sfstubs.obj
> [ 55%] Building Fortran object
> bindings/f77/CMakeFiles/plplotf77d.dir/configurable.obj
> Linking Fortran shared library ..\..\dll\libplplotf77d.dll
> CMakeFiles\plplotf77d.dir\sfstubs.obj:sfstubs.f:(.text+0x54): undefined
> reference to `_plsetopt7_'
[...]

I suspect the leading underscore on all the names is the issue.  Do you have
a Fortran compiler option you can use to get rid of the leading underscores?

Also for the next iteration can you please use "make VERBOSE=1" to get the
full build commands being used?

For deeper analysis of the problem (as opposed to my guess above) do you
have a tool that is equivalent of the Linux "nm" application to figure out
symbols that are defined in libraries?  If so, I suggest you look at the
symbols in the C library being linked to by libplplotf77d.dll to see what
form of plsetopt7 is defined.  I suspect you will find plsetopt7_ is defined
rather than _plsetopt7_ .

I have the same remarks for the fortran 95 case.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to