[Gretl-devel] Contribute to Gretl code (FIX for gnuplot 4.2).

Allin Cottrell cottrell at wfu.edu
Thu Apr 17 19:14:44 EDT 2008


On Thu, 17 Apr 2008, Hélio Guilherme wrote:

Allin:

> On my system, gnuplot 4.2 and 4.3 (CVS) both accept "set term". 
> To double-check, I just downloaded and built the latest official 
> release, version 4.2.3: "set term" works fine. 

Helio:

> Yes, here in that same version it is also working fine.
>
> To validate the BUG, I installed the official gretl 1.7.4, but 
> now sometimes, I cannot even produce a chart. The program 
> crashes. And now it crashes for other reasons too (missing 
> symbol from liblapack.so.3).

If I understood your earlier reply to Jack correctly, you said 
you'd switched the linking order for gretl from "-llapack -lblas" 
to "-lblas -llapack".  If that's so, it could cause problems with 
unresolved symbols.  The point is that gretl uses no symbols from 
libblas; it uses symbols from liblapack, which in turn requires 
symbols from libblas.  The order in which the libraries are given 
to the linker must reflect this.  If you give "-lblas" first, the 
linker thinks "libblas?  We don't need anything from that, just 
move along".

> But never mind this for now, I have been always using the CVS 
> version, and fixed the original BUG (I believe did check that it 
> existed in the Windows version).
> 
> Please reproduce the BUG:
> Create a chart, for example a time-series.
> Right click over it, and Save as a PNG...

This works for me, but I will check on Windows and with the 
official gnuplot 4.2.3 release.

Allin.


More information about the Gretl-devel mailing list