On 2008-01-14 20:59-0800 Zev Weiss wrote: > Hi, I'm new to plplot and I'm having some trouble with compilation/ > linking now that I've installed it. With gcc 4.1.2 and plplot 5.8.0 > (installed via pirut on Fedora 8 x86_64), for every call to a plplot > function I get a corresponding "undefined reference to <function- > name>" error at link time (e.g. "undefined reference to `c_plinit'"), > and gcc reports ld as having returned a 1 exit status. Sorry if > there's an obvious answer to this, I'm pretty new to sorting out > linking problems - thanks in advance for any/all help.
Follow the directions at http://www.miscdebris.net/plplot_wiki/index.php?title=The_PLplot_install-tree_test for testing that the installed PLplot library can be used to build and execute all the examples. Then look at the "make_examples.out" file generated as part of that process to see the actual build commands that work with PLplot, then use those same build commands for your own software that is using the PLplot library. 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 __________________________ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general