On 2006-11-28 13:50+0100 Werner Smekal wrote: > Hi Hazen, > > I found out what the problem was. Together with the old information > README.drivers and where I found "wxwidgets" in the plplot code I made > changes to include files and the svg driver works now for the > ENABLE_DYNDRIVER off case. Please check if the changes are appropriate.
Thanks, Werner, for your efforts. However, they did not fix the name clash I discovered with the gcw device driver. Here is the result for CVS HEAD now. CMakeFiles/plplotd.dir/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/svg.o( .text+0x7a3): In function proc_str': : multiple definition of proc_str' CMakeFiles/plplotd.dir/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/gcw.o( .text+0x1940): first defined here /usr/bin/ld: Warning: size of symbol proc_str' changed from 2592 in CMakeFiles/ plplotd.dir/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/gcw.o to 1552 in CMakeFiles/plplotd.dir/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/svg.o collect2: ld returned 1 exit status make[2]: *** [src/libplplotd.so.9.2.1] Error 1 make[2]: Leaving directory /home/software/plplot_cvs/HEAD/build_dir' make[1]: *** [src/CMakeFiles/plplotd.dir/all] Error 2 make[1]: Leaving directory /home/software/plplot_cvs/HEAD/build_dir' make: *** [all] Error 2 Only svg and gcw clash this way; if I disable one of them all seems to be well. If you look at all the device drivers (not just gcw.c and svg.c) it turns out that proc_str is a common name for a function that is defined differently in each of them. Some device drivers declare proc_str static some do not, and there are other stylistic variations as well. My understanding of C scope is not up to this challenge. Thus, will some C expert here step forward to straighten out these style differences amongst the various device drivers so it is easier to tell what is going on with proc_str? Ideally, this would be a developer with access to a fully loaded Linux box that can build both the svg and gcw device drivers so they can confirm the above error and fix it, but if Hazen or Werner (neither of whom may have access to fully loaded Linux boxes) feel the gcw/svg fix is obvious, please go ahead, and I would be happy to make further tests to see if your fix works. 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 Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel