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 __________________________ ------------------------------------------------------------------------- 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