[Gretl-devel] error building gretl

Allin Cottrell cottrell at wfu.edu
Mon Mar 26 08:45:02 EDT 2007


On Mon, 26 Mar 2007, Riccardo (Jack) Lucchetti wrote:

>
> On Mon, March 26, 2007 08:48, Ignacio Diaz-Emparanza wrote:
>> Installing gretl from the CVS on Kubuntu Linux,
>> I am obtaining an error in the "make install" step:
>>
>> dialogs.c: In function ‘set_bs_replics’:
>> dialogs.c:713: error: ‘errno’ undeclared (first use in this function)
>> dialogs.c:713: error: (Each undeclared identifier is reported only once
>> dialogs.c:713: error: for each function it appears in.)
>> make[1]: *** [dialogs.o] Error 1
>> make[1]: se sale del directorio `/home/etpdihei/gretlcomp/gretl/gui2'
>> make: *** [gui2] Error 2
>>
>
> This should fix it...

That'll work, but an alternative is to insert

#include <errno.h>

near the top of gui2/dialogs.c, for example under

#include "texprint.h"

That's what I've now done in CVS.

Allin


More information about the Gretl-devel mailing list