Hi all,
I am trying to compile gretl on ubuntu 14.04. This worked 4 months ago
without any problem using the following "configure"-options:
./configure \
--prefix=$HOME/software/gretl \
--disable-gnuplot-checks \
--disable-gnuplot-3d \
--with-odbc --with-ODBC-prefix=${ODBC_DRIVER}
At some compilation failed, however. The errors I get are:
<compilation>
ware/gretl/lib\" ../lib/src/dataset.c -fPIC -DPIC -o .libs/dataset.o
../lib/src/bhhh_max.c: In function ‘bhhh_numeric’:
../lib/src/bhhh_max.c:37:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘Lval’
double * restrict Lval = L->val;
^
../lib/src/bhhh_max.c:37:23: error: ‘Lval’ undeclared (first use in this
function)
../lib/src/bhhh_max.c:37:23: note: each undeclared identifier is
reported only once for each function it appears in
../lib/src/bhhh_max.c: In function ‘bhhh_max’:
../lib/src/bhhh_max.c:148:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘delta’
double * restrict delta = NULL;
^
../lib/src/bhhh_max.c:148:23: error: ‘delta’ undeclared (first use in
this function)
../lib/src/bhhh_max.c:149:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘ctemp’
double * restrict ctemp = NULL;
^
../lib/src/bhhh_max.c:149:23: error: ‘ctemp’ undeclared (first use in
this function)
../lib/src/bhhh_max.c:150:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘grad’
double * restrict grad;
^
../lib/src/bhhh_max.c:150:23: error: ‘grad’ undeclared (first use in
this function)
</compilation>
Does anybody have an idea how to deal with it? Are there any compilation
parameters which I could try?
Thanks,
Artur