On Thu, Jan 15, 2009 at 05:55:16PM -0800, Alan Irwin wrote: > > I tried testing the > optimized case for default hidden visibility by setting > > softw...@raven> export CC='gcc -fvisibility=hidden -O2' > softw...@raven> export CXX='g++ -fvisibility=hidden -O2' > softw...@raven> export FC='gfortran -fvisibility=hidden -O2' > > That reminded me of the following visibility issue; "make" in the installed > examples generates the following plplotcanvas example errors: > > plplotcanvas_demo.c:(.text+0x1cd): undefined reference to plplot_canvas_new' > plplotcanvas_demo.c:(.text+0x1e4): undefined reference to > plplot_canvas_set_size' > plplotcanvas_demo.c:(.text+0x2bf): undefined reference to plplot_canvas_adv' > plplotcanvas_demo.c:(.text+0x2cd): undefined reference to > plplot_canvas_col0' > plplotcanvas_demo.c:(.text+0x2db): undefined reference to plplot_canvas_wid' > plplotcanvas_demo.c:(.text+0x2e4): undefined reference to > plplot_canvas_vsta' > plplotcanvas_demo.c:(.text+0x309): undefined reference to > plplot_canvas_wind' > plplotcanvas_demo.c:(.text+0x32f): undefined reference to plplot_canvas_box' > plplotcanvas_demo.c:(.text+0x347): undefined reference to plplot_canvas_lab' > plplotcanvas_demo.c:(.text+0x355): undefined reference to > plplot_canvas_col0' > plplotcanvas_demo.c:(.text+0x36e): undefined reference to > plplot_canvas_line' > plplotcanvas_demo.c:(.text+0x37c): undefined reference to > plplot_canvas_adv'' > > Experimentally, Andrew and I have found that we had to remove the visibility > support for libplplotgnome2 in order for pygcw to work at all for the > Numeric case. The above error is the result of that removal. We should > reinstate visibility support (probably post release) in a way that doesn't > clobber pygcw.
Alan, I think I have now fixed this one. h2def.py did not understand the PLDLLIMPEXP macros in plplotcanvas.h. Stripping these out with sed before processing means the python plplotcanvas bindings are generated correctly again. I get a load of GtkDeprecationWarning messages when I run the python plplotcanvas demos, but they work ok. I have tested this with and without -fvisibility=hidden. It would be good if others could check this too as we are approaching the release. Andrew ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel