[Ecls-list] win32 compilation error

Juan Jose Garcia Ripoll lisp at arrakis.es
Wed Mar 22 10:25:06 UTC 2006

On Wed, 2006-03-22 at 14:23 +0100, Marko Kocić wrote:
> 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
> After that build fails with the following error:
> 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
> However, I was able to build it before using gcc-3.4.5. Any ideas how
> to proceed?

I tried to reproduce your problems, but there is no version 4.1 of gcc
released from the mingw project. Thus it is possible that the compiler
itself has problems with some of the headers that are shipped with your
installation. Indeed the macros you mention are not used in ECL at all:
they must come from mingw headers or win32 headers.

I am sorry I cannot be of greater help.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20060322/733879b8/attachment.sig>

More information about the ecl-devel mailing list