On 2007-09-06 15:12-0400 Salazar, German P21322 wrote:

> : undefined reference to `gdImageLine'
> /usw/ude/Linux/lib/libplplotd.a(gd.o)(.text+0xbe0): In function
> `fill_polygon':
>
> ...and the list goes on.
>
> Questions:
>
> Why is it trying to use all these drivers if I am only using "psc" from
> Fortran?
> Is it possible that plplotd.a was not properly randomized and somehow
> when I link it, I link the entire file?
>
> Pointers would be much appreciated.

Please give details of what you did, i.e., cmake command-line options and
full cmake output at minimum.  Also, identify your platform and be specific
about the "compile process" you are using.

In the absence of those details, I can only guess what the issue is.  It
appears from above that you have done a static library build for PLplot
which is a non-default configuration which we don't test very much.  So you
may have inadvertently found some external build issue for that case.  But
please give the details requested above so I can replicate the static build
issue here and fix it.

If you did not specifically go out of your way to specify a static library
build, then cmake probably found something missing on your system that
forced that.  To avoid that result, pay close attention to any warnings you
get from cmake concerning shared libraries and address the issue so you can
build shared libraries for PLplot.  Shared libraries are our most thoroughly
tested configuration.

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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to