Hi Alan, no, I didn't forget to commit the changes. It's actually cmake which defines this xxx_EXPORTS for us. Compile the library in verbose mode
make VERBOSE=1 and you will see in the command line that the corresponding xxx_EXPORTS show up. Regards, Werner Alan W. Irwin wrote: > On 2008-10-10 09:32+0200 Werner Smekal wrote: > >> Hi, >> >> I made now the changes to the driver source and header for Linux and >> activated the hidden flag in plplot.h >> >> #pragma GCC visibility push(hidden) >> >> and plplot and examples compiles and works for me. Don't know if it >> should work anyway or not. So we need now to test the changes for the >> various settings, since I didn't turn on many drivers for that case >> and also many bindings are missing, so I'm sure there is still a lot >> to do. > > Werner, I am virtually positive you forgot to commit all your changes. > Currently, (revision 8872) I can find no mention of plplotd_EXPORTS in > src/CMakeLists.txt. In fact I can find no mention of any of the *EXPORTS > macros in any file in our source tree other than pldll.h so they never get > #defined, and the logic will obviously not work in its revision 8872 state > since every symbol is imported. Since you obviously got it to work in the > Windows case and at least partially in the Linux case I conclude you forgot > to commit all of your changes. > > Also, when testing on Linux, Andrew and I found the pragma approach was not > reliable. We intend to revisit that idea later (most likely with a > different > placement of the pragma) so we disabled it rather than removing it. Instead > for our visibility testing we set > > export CC='gcc -fvisibility=hidden' > export CXX='g++ -fvisibility=hidden' > export FC='gfortran -fvisibility=hidden' > > before using cmake in an empty build tree. > > I would be happy to test your work in the Linux case using this approach > once all your present work is committed. > > 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 > __________________________ -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] 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 ------------------------------------------------------------------------- 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 Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel