There seems to be some problem with my inscription on this list, since i
could send this message yesterday but did not receive the answer. I
looked at the archives to find out I had this answer; so sorry for
writing back so late.
So if someone care to answer this post, please include my address as Gcc
On Mon, 11 Oct 2004 jean.magnanb at univ.u-3mrs.fr wrote:
My computer is a linux-gentoo machine, there is no specific gretl
in gentoo, so i try to build from source; configure is ok, but when I
issue "make" I get the following error:
gcc -o .libs/gretlcli gretlcli.o complete.o \
/usr/lib/libxml2.so -lpthread -lz -lm \
/usr/lib/libglib-2.0.so -lreadline -lcurses
../lib/.libs/libgretl-1.0.so: undefined reference to `dasum_'
../lib/.libs/libgretl-1.0.so: undefined reference to `dtrmm_'
Being no guru I wonder what happens with "cli"
These are fortran-related references that are undefined. Somehow
you're missing a link to libf2c (and probably lapack too). Can you
take a look at your config.log, and see what it says after "checking
for LAPACK"? You could also look for the line starting
"LAPACK_LIBS =" in the Makefile in the lib directory, and see what
Well, what I did with LAPACK_LIBS is I had to define it for the
./configure to happen, it was apparently no where expected:
"LAPACK_LIBS =/usr/lib/liblapack.a ./configure", and then configure
happened all right.
Maybe I should say the same for make?
Thank for any hint,
Jean Magnan de Bornier
Faculté d'Économie Appliquée
Université Paul Cézanne et GREQAM
15-19 Allée Claude Forbin
13627 Aix-en-Provence cedex 1 France