From: Werner S. <sm...@ia...> - 2009-04-16 12:07:33
|
Hi Arjen, On 16.04.2009, at 13:56, Arjen Markus wrote: > Hi Werner, > > I now have more information on the issue with F90/95: > >>> - Something goes wrong with F90 - I have not had a chance yet >>> to determine the cause, but it looks like a mistake in the library >>> name or similar. >>> > > It turns out that the DLL contains symbols like _plplot_MP_pladv (with > the usual decoration vis-a-vis Fortran modules) and the _import_ > library contains symbols like __imp_plplot_MOD_pladv. The prefix is > clear, but I am puzzled over the _MOD_ infix. This causes the linker > to complain. > > One possibility (but probably a remote one) is that dlltool gets > in the way. (dlltool is not necessary anymore, but I am not sure > I have used the very latest sources of everything). Anyway, it > ought to be simple to check - it will just be taking some time. That dlltool is messing things up is very likely possible. It is called after the import library was created automatically, so it overwrites it. And if you look in bindings/f95/plplotf95_mingw.def you'll see what symbols are exported, since this definition file is used for dlltool. But I reverted the changes regarding the dlltool, so it would be best to update before you proceed any further. Regards, Werner > > Regards, > > Arjen > > > Delft Hydraulics, GeoDelft, the Subsurface and Groundwater unit of > TNO and parts of Rijkswaterstaat have joined forces in a new > independent institute for delta technology, Deltares. Deltares > combines knowledge and experience in the field of water, soil and > the subsurface. We provide innovative solutions to make living in > deltas, coastal areas and river basins safe, clean and sustainable. > > 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. > > > > -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sm...@ia... web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 |