On 2010-06-02 15:45-0700 Alan W. Irwin wrote:

> To Hazen, Werner, and Arjen:

> The issue has been reported at
> http://sourceforge.net/tracker/?func=detail&aid=2981639&group_id=2435&atid=102435
> including a tarball of a minimal test case made up of the configured
> plflt.inc file and sfstubs.f90, sfstubs.h, and sfstubsf95.f90 which
> should be familiar to you, but which make it very easy to run the test.
>
> Those files give me the following compilation error:
>
> w...@raven> wine gfortran -o test.obj -c sfstubsf95.f90
> Fatal Error: Reading module plplotp at line 491 column 35: Expected left
> parenthesis
> gfortran.exe: Internal error: Aborted (program f951)
> Please submit a full bug report.
> See <http://gcc.gnu.org/bugs.html> for instructions.

I have now greatly simplified the test case to one source file (see attached
simple.f90) with the following results:

w...@raven> wine gfortran -o test.obj -c simple.f90
Fatal Error: Reading module plplotp at line 28 column 41: Expected left
parenthesis
gfortran.exe: Internal error: Aborted (program f951)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

That same file compiles without errors under Linux gfortran.

If you look at the attached simple.f90, you will see I have whittled the
problem down to just two routines, plvectors_0 and plvectors_1.  If I remove
either of them or simply rename either of them, the Wine/MinGW/gfortran
issue disappears.  So it appears that somehow the plvectors_0 name is
clashing with the plvectors_1 name for that platform.

I have CC'd Clint Stimpson (who is not subscribed to the plplot-devel
mailing list) because he was so helpful previously when there was a CMake
filename issue under Wine. Of course, this might not be a name issue at all
under Wine, but the only way we can tell that is to run the above simple
test in a pure Windows environment.

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
__________________________

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to