On Fri, 20 Mar 2020, Artur Tarassow wrote:
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;
^
[...]
Does anybody have an idea how to deal with it? Are there any compilation
parameters which I could try?
Try adding -std=c99 to CFLAGS. Funny, C99 support seems to be the
default on Arch and Fedora.
Allin