[Ecls-list] win32 compilation error

Marko Kocić marko.kocic at gmail.com
Wed Mar 22 05:24:06 UTC 2006

Hi all.
I'm trying to build CVS head of ecl on winxp pro using mingw with
newest gcc-4.1. I use the following configuration options:
./configure --with-tcp --with-clx --enable-threads

First, there was an error in misc.c: 483. I removed cast to FARPROC
and was able to compile that file afterwards.

After that build fails with the following error:
dpp: c:/dev/cvstree/ecl/ecl/src/c/print.d -> print.c

Unknown symbol: si::pretty-print-format
gcc -c -I. -Ic:/dev/cvstree/ecl/ecl/build
-I/c/dev/cvstree/ecl/ecl/src/c -I../ecl/gc  -g -O2  -D_THREAD_SAFE
iasing -Dmingw32  -o print.o print.c
c:/dev/cvstree/ecl/ecl/src/c/print.d: In function 'edit_double':
c:/dev/cvstree/ecl/ecl/src/c/print.d:494: error: '_MCW_EM' undeclared
(first use in this function)
c:/dev/cvstree/ecl/ecl/src/c/print.d:494: error: (Each undeclared
identifier is reported only once
c:/dev/cvstree/ecl/ecl/src/c/print.d:494: error: for each function it
appears in.)
c:/dev/cvstree/ecl/ecl/src/c/print.d: In function 'write_double':
c:/dev/cvstree/ecl/ecl/src/c/print.d:555: error: '_MCW_EM' undeclared
(first use in this function)
make[2]: *** [print.o] Error 1
rm list.c file.c disassembler.c main.c eval.c character.c print.c
gfun.c read.c compiler.c reference.c symbol.c package.
c interpreter.c instance.c
make[2]: Leaving directory `/c/dev/cvstree/ecl/ecl/build/c'
make[1]: *** [libeclmin.a] Error 2
make[1]: Leaving directory `/c/dev/cvstree/ecl/ecl/build'
make: *** [all] Error 2

However, I was able to build it before using gcc-3.4.5. Any ideas how
to proceed?


More information about the ecl-devel mailing list