From: Alan W. I. <ir...@be...> - 2005-09-21 00:37:37
|
On 2005-09-20 16:29-0600 Joe Koski wrote: > As a new user of plplot, I want to try a simple command line compile of one > of the examples. Examination of Chapter 21 of the manual says that this > section needs work. I'm using a Mac with OS X 10.3.9, but, being a bash > shell, this should be similar to Linux. What I tried, among other things, > was > > Joe-Koskis-Computer:~/Fortran_Compiles/plplot examples/f77 jakoski$ g77 -O2 > -L/usr/local/lib/ -o x16f x16f.f -lplplotf77d > /usr/bin/ld: Undefined symbols: > _pladv_ > _plcol0_ > _plend_ > _plinit_ > _plline_ > _plpsty_ > _plscmap0n_ > _plvpor_ > _plwind_ > collect2: ld returned 1 exit status > > Does anyone have a simple command line way to compile with plplot libraries > and g77? The 1000 line makefile examples don't give me too many clues. > > Thanks. Is there a document somewhere that I should read? Look at the installed examples (the ones that are created in $prefix/share/plplot5.5.3/examples/f77 when your run "make install"). There is a short Makefile in that installed directory that has everything you need to know. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 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 __________________________ |