From: Werner S. <sm...@ia...> - 2008-08-31 09:20:35
|
Hi, > 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? Don't know, but will have a look. > > Also for the next iteration can you please use "make VERBOSE=1" to get the > full build commands being used? Sorry: Linking Fortran shared library ..\..\dll\libplplotf77d.dll cd Z:\DevZone\PLdev\build\test\bindings\f77 && C:\DevZone\cmake-2.6.0-win32-x86\bin\cmake.exe -E cmake_link_script CMakeFiles\plplotf77d.dir\link.txt --verbose=1 C:\DevZone\MinGW-4.3.1\bin\gfortran.exe -shared -o ..\..\dll\libplplotf77d.dll CMakeFiles\plplotf77d.dir\strutil.obj CMakeFiles\plplotf77d.dir\sfstubs.obj CMakeFiles\plplotf77d.dir\configurable.obj ..\..\dll\libplplotf77cd.dll.a ..\..\dll\libplplotd.dll.a ..\..\dll\libcsirocsa.dll.a CMakeFiles\plplotf77d.dir\sfstubs.obj:sfstubs.f:(.text+0x54): undefined reference to `_plsetopt7_' CMakeFiles\plplotf77d.dir\sfstubs.obj:sfstubs.f:(.text+0x8c): undefined reference to `_plabort7_' CMakeFiles\plplotf77d.dir\sfstubs.obj:sfstubs.f:(.text+0xc4): undefined reference to `_plsdev7_' CMakeFiles\plplotf77d.dir\sfstubs.obj:sfstubs.f:(.text+0xe1): undefined reference to `_plgdev7_' CMakeFiles\plplotf77d.dir\sfstubs.obj:sfstubs.f:(.text+0x131): undefined reference to `_plsfnam7_' CMakeFiles\plplotf77d.dir\sfstubs.obj:sfstubs.f:(.text+0x14e): undefined reference to `_plgfnam7_' > > 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 did that and attached it to the reply to Arjen. > > I have the same remarks for the fortran 95 case. > > Alan Regards, Werner > __________________________ > 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 > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel -- 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 |