[Ecls-list] Re: Building ECL

Jan Rychter jan at rychter.com
Thu Feb 24 05:59:16 UTC 2005


>>>>> "Juan" == Juan Jose Garcia Ripoll <lisp at arrakis.es> writes:
 Juan> Jan Rychter wrote:
 >> I have tried building ecls (CVS HEAD) in various configurations,
 >> mostly to estimate its space requirements. I encountered some
 >> problems: [...]
 >>
 >>
 Juan> Solved on CVS. Statically linked executables are produced now if
 Juan> you use --disable-shared. No other option is required.

... but it seems that in this case configure ignores library
suggestions: if I do

./configure --disable-shared --enable-system-gmp --enable-system-boehm

then ECL still tries to build local copies of gmp and boehm-gc. This
matters, because the local gmp doesn't build for me:

gcc -fPIC -DHAVE_CONFIG_H -I. -I/home/jwr/lisp/ecls/src/gmp/mpz -I.. -D__GMP_WITHIN_GMP -I/home/jwr/lisp/ecls/src/gmp -march=pentium3 -Os -fstrict-aliasing -c /home/jwr/lisp/ecls/src/gmp/mpz/aorsmul.c -o aorsmul.o
/home/jwr/lisp/ecls/src/gmp/mpz/aorsmul.c:44: error: conflicting types for '__gmpz_aorsmul'
/home/jwr/lisp/ecls/src/gmp/mpz/aorsmul.c:39: error: previous declaration of '__gmpz_aorsmul' was here
/home/jwr/lisp/ecls/src/gmp/mpz/aorsmul.c:44: error: conflicting types for '__gmpz_aorsmul'
/home/jwr/lisp/ecls/src/gmp/mpz/aorsmul.c:39: error: previous declaration of '__gmpz_aorsmul' was here
make[3]: *** [aorsmul.lo] Error 1
make[3]: Leaving directory `/home/jwr/lisp/ecls/build/gmp/mpz'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/jwr/lisp/ecls/build/gmp'
mv: cannot stat `../libgmp.a': No such file or directory
make[1]: *** [libeclgmp.a] Error 1
make[1]: Leaving directory `/home/jwr/lisp/ecls/build'
make: *** [all] Error 2

--J.





More information about the ecl-devel mailing list