On 2016-09-12 21:07+0100 Phil Rosenberg wrote: > Hi Alan > I just tried to build on Ubuntu to check your results and got a build > error that seems fortran related. I thought I'd start a new thread to > keep the subjects separate. I'm just doing > > cmake .. > make all > > My build directory is a subdirectory of the source directory. The > compile error is > > > make: *** [all] Error 2make[1]: *** > [bindings/f95/CMakeFiles/plplotf95.dir/all] Error 2make[2]: *** > [bindings/f95/CMakeFiles/plplotf95.dir/plplot_double.f90.o.provides] > Error 2make[3]: *** > [bindings/f95/CMakeFiles/plplotf95.dir/plplot_double.f90.o] Error > 1Error: Assumed-shape array 'plotentries' at (1) cannot be an argument > to the procedure 'c_loc' because it is not C interoperable > 1 c_loc(plotentries), size(plotentries,
[...] > Is there anything I need to do differently? This is a totally clean > build directory with the latest source. Hi Phil: Everything you are doing to test the Fortran build seems fine, but Arjen does not get such compile errors (or any warnings at all!) with the NAG compiler (notorious for being sensitive to any violation of Fortran standards in the source code for our Fortran binding and examples), and I don't get such compile errors when I build our fortran bindind and examples on Debian using gfortran version 4.9.2. Could the problem be that you are using an older version of gfortran that does not completely support the Fortran 2003 standards that we depend on for our new Fortran binding and examples? 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); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); 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 __________________________ ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel