Hello, I have run into a strange problem with the Fortran 95 bindings. My platform is Windows XP (using MinGW, not MSYS) with gfortran as the Fortran compiler. The Fortran 77 bindings and examples work fine with that combination, but gfortran refuses to build the Fortran 95 examples. The reason is that there are duplicate symbols, such as _gfortran_set_args, that the linker does not like.
Strangely enough, these symbols are referred to in libplplotf95d.dll.a and libplplotf95optsd.a as well as libplplotf77optsd.a (I expect them in the latter two), but not in the Fortran 77 library libplplotf77d.dll.a. Their absence in that last file means that the linker finds only one definition and is perfectly happy building the examples. I have tried to deduce from the object files and compile options and the like where the difference is coming from, but without a single piece of success. My solution therefore is to bring in the option "-Wl,--allow-multiplpe-define", as with that option linking the examples does work. Has anyone seen similar problems on this or another platform? Regards, Arjen DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel