[Ecls-list] Need help compiling ECL 10.4.1 (32-bit) on Win7 64-bit via mingw32/msys

Paul Goins general at vultaire.net
Fri Oct 29 13:48:29 UTC 2010


Hi,

New to the list, so please forgive me if I've missed a thread that
covers this.

I'm trying to compile ECL 10.4.1 under Windows 7 64-bit.
Unfortunately, I'm having problems, and the "Windows with
Mingw/Cygwin" section of the reference guide is totally blank, so I
thought I should ask here.

(Note: already read some previous comments about 64-bit support.  I'm
just trying to build a 32-bit ECL via 32-bit MinGW, so don't worry,
I'm not barking up *that* tree.  However, the OS *is* 64-bit.)

1. I grabbed the CVS version of the Boehm GC.  Built it successfully
using "./configure && make && make install".  (7.1 failed to compile
via MSys in this way.)

2. I tried to ./configure and make ECL.  This did not pan out...

    ./configure --enable-threads=yes
    # no problem, but did give some warnings:
    #   configure: Configuring included GMP library:
    #   configure: WARNING: you should use --build, --host, --target

    make
    # (This fails; output attached at the end)

 From here, I don't really know how to proceed.

I don't need to run 10.4.1, but I would really like to get some
version of ECL running on this system.  If anyone can advise me of
some way to get some version going, it'd really be appreciated.

Attached at the bottom is the error from running make, plus notes on
my MinGW configuration (in case it matters).

Thanks in advance.

Best Regards,
Paul Goins

----------------------------------------------------------------------

Error in make on ECL 10.4.1:

gcc -DECLDIR="\"/usr/local/lib/ecl-10.4.1\"" -I. -Ic:/Users/Vultaire/Desktop/pauls_stuff/ecl-10.4.1/build -I/c/Users/Vultaire/Desktop/pauls_stuff/ecl-10.4.1/src/c -I../ecl/gc -DECL_API -DECL_NO_LEGACY   -g -O2   -D_THREAD_SAFE -Dmingw32 -c -o file.o tmp.c
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.5.0/../../../../include/unistd.h:13:0,
                  from c:/Users/Vultaire/Desktop/pauls_stuff/ecl-10.4.1/src/c/file.d:29:
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/../../../../include/process.h:95:2: error: expected identifier or '(' before '{' token
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/../../../../include/process.h:95:16: error: expected identifier or '(' before 'void'
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/../../../../include/process.h:100:2: error: conflicting types for 'GC_beginthreadex'
c:/Users/Vultaire/Desktop/pauls_stuff/ecl-10.4.1/build/ecl/gc/gc.h:1049:21: note: previous declaration of 'GC_beginthreadex' was here
c:/Users/Vultaire/Desktop/pauls_stuff/ecl-10.4.1/src/c/file.d: In function 'ecl_off_t_to_integer':
c:/Users/Vultaire/Desktop/pauls_stuff/ecl-10.4.1/src/c/file.d:4813:4: warning: right shift count >= width of type
c:/Users/Vultaire/Desktop/pauls_stuff/ecl-10.4.1/src/c/file.d: In function 'ecl_integer_to_off_t':
c:/Users/Vultaire/Desktop/pauls_stuff/ecl-10.4.1/src/c/file.d:4844:8: warning: left shift count >= width of type
c:/Users/Vultaire/Desktop/pauls_stuff/ecl-10.4.1/src/c/file.d: In function 'not_a_file_stream':
c:/Users/Vultaire/Desktop/pauls_stuff/ecl-10.4.1/src/c/file.d:4890:2: warning: function declared 'noreturn' has a 'return' statement
make[2]: *** [file.o] Error 1
make[2]: Leaving directory `/c/Users/Vultaire/Desktop/pauls_stuff/ecl-10.4.1/build/c'
make[1]: *** [libeclmin.a] Error 2
make[1]: Leaving directory `/c/Users/Vultaire/Desktop/pauls_stuff/ecl-10.4.1/build'
make: *** [all] Error 2

----------------------------------------------------------------------

MinGW installation:

MinGW installed via mingw-get-inst-20100909.exe, using the "latest
repository catalogues" during installation.  All components except the
"MSYS System Builder" were installed.

(If there's a specific version of MinGW which is known to work, please
let me know what version and I will try it instead.)

Log:

     Pre-inst
     ========

     Installing:
           C Compiler
           C++ Compiler
           Fortran Compiler
           ObjC Compiler
           Ada Compiler
           MSYS Basic System
           MinGW Developer Toolkit

     Downloading latest repository catalogues

     Destination location:
           C:\MinGW

     Package download log
     ====================

     downloading: mingwrt-3.18-mingw32-dll.tar.gz: 8122 b
     downloading: libgmp-5.0.1-1-mingw32-dll-10.tar.lzma: 159027 b
     downloading: libmpfr-2.4.1-1-mingw32-dll-1.tar.lzma: 111144 b
     downloading: libpthread-2.8.0-3-mingw32-dll-2.tar.lzma: 20862 b
     downloading: pthreads-w32-2.8.0-3-mingw32-dev.tar.lzma: 13727 b
     downloading: libgomp-4.5.0-1-mingw32-dll-1.tar.lzma: 17170 b
     downloading: libmpc-0.8.1-1-mingw32-dll-2.tar.lzma: 24146 b
     downloading: libssp-4.5.0-1-mingw32-dll-0.tar.lzma: 15900 b
     downloading: libgcc-4.5.0-1-mingw32-dll-1.tar.lzma: 41185 b
     downloading: w32api-3.15-1-mingw32-dev.tar.lzma: 1128210 b
     downloading: mingwrt-3.18-mingw32-dev.tar.gz: 568649 b
     downloading: binutils-2.20.51-1-mingw32-bin.tar.lzma: 3097316 b
     downloading: libexpat-2.0.1-1-mingw32-dll-1.tar.gz: 62787 b
     downloading: gdb-7.2-1-mingw32-bin.tar.lzma: 1300073 b
     downloading: make-3.82-3-mingw32-bin.tar.lzma: 213523 b
     downloading: gcc-4.5.0-1-mingw32-lic.tar.lzma: 21218 b
     downloading: gcc-core-4.5.0-1-mingw32-bin.tar.lzma: 4146193 b
     downloading: libstdc++-4.5.0-1-mingw32-dll-6.tar.lzma: 217207 b
     downloading: gcc-c++-4.5.0-1-mingw32-bin.tar.lzma: 5398195 b
     downloading: libgfortran-4.5.0-1-mingw32-dll-3.tar.lzma: 186911 b
     downloading: gcc-fortran-4.5.0-1-mingw32-bin.tar.lzma: 4307320 b
     downloading: libobjc-4.5.0-1-mingw32-dll-2.tar.lzma: 57249 b
     downloading: libgnat-4.5.0-1-mingw32-dll-4.5.tar.lzma: 601411 b
     downloading: gcc-ada-4.5.0-1-mingw32-bin.tar.lzma: 7892965 b
     downloading: msysCORE-1.0.16-1-msys-1.0.16-lic.tar.lzma: 11788 b
     downloading: msysCORE-1.0.16-1-msys-1.0.16-doc.tar.lzma: 7964 b
     downloading: msysCORE-1.0.16-1-msys-1.0.16-bin.tar.lzma: 599696 b
     downloading: termcap-0.20050421_1-2-msys-1.0.13-bin.tar.lzma: 20040 b
     downloading: libiconv-1.13.1-2-msys-1.0.13-dll-2.tar.lzma: 533091 b
     downloading: libintl-0.17-2-msys-dll-8.tar.lzma: 21481 b
     downloading: coreutils-5.97-3-msys-1.0.13-bin.tar.lzma: 295789 b
     downloading: libregex-1.20090805-2-msys-1.0.13-dll-1.tar.lzma: 36169 b
     downloading: libtermcap-0.20050421_1-2-msys-1.0.13-dll-0.tar.lzma: 14687 b
     downloading: less-436-2-msys-1.0.13-bin.tar.lzma: 189291 b
     downloading: grep-2.5.4-2-msys-1.0.13-bin.tar.lzma: 62396 b
     downloading: diffutils-2.8.7.20071206cvs-3-msys-1.0.13-bin.tar.lzma: 94306
     downloading: sed-4.2.1-2-msys-1.0.13-bin.tar.lzma: 62443 b
     downloading: gawk-3.1.7-2-msys-1.0.13-bin.tar.lzma: 154556 b
     downloading: libpopt-1.15-2-msys-1.0.13-dll-0.tar.lzma: 212464 b
     downloading: zlib-1.2.3-2-msys-1.0.13-dll.tar.lzma: 37549 b
     downloading: libmagic-5.04-1-msys-1.0.13-dll-1.tar.lzma: 247504 b
     downloading: liblzma-4.999.9beta_20100401-1-msys-1.0.13-dll-1.tar.gz: 39560
     downloading: xz-4.999.9beta_20100401-1-msys-1.0.13-bin.tar.gz: 194527 b
     downloading: texinfo-4.13a-2-msys-1.0.13-bin.tar.lzma: 210568 b
     downloading: tar-1.23-1-msys-1.0.13-bin.tar.lzma: 139318 b
     downloading: make-3.81-3-msys-1.0.13-bin.tar.lzma: 78685 b
     downloading: gzip-1.3.12-2-msys-1.0.13-bin.tar.lzma: 37273 b
     downloading: file-5.04-1-msys-1.0.13-bin.tar.lzma: 105728 b
     downloading: findutils-4.4.2-2-msys-1.0.13-bin.tar.lzma: 125977 b
     downloading: cygutils-dos2unix-1.3.4-4-msys-1.0.13-bin.tar.lzma: 6292 b
     downloading: msysCORE-1.0.16-1-msys-1.0.16-ext.tar.lzma: 7854 b
     downloading: bzip2-1.0.5-2-msys-1.0.13-bin.tar.lzma: 40805 b
     downloading: bash-3.1.17-4-msys-1.0.16-bin.tar.lzma: 237267 b
     downloading: libcrypt-1.1_1-3-msys-1.0.13-dll-0.tar.lzma: 4137 b
     downloading: libgdbm-1.8.3-3-msys-1.0.13-dll-3.tar.lzma: 13011 b
     downloading: perl-5.6.1_2-2-msys-1.0.13-bin.tar.lzma: 3231225 b
     downloading: m4-1.4.14-1-msys-1.0.13-bin.tar.lzma: 102574 b
     downloading: autoconf2.5-2.67-1-mingw32-bin.tar.lzma: 268743 b
     downloading: autoconf2.1-2.13-4-mingw32-bin.tar.lzma: 57253 b
     downloading: automake1.11-1.11.1-1-mingw32-bin.tar.lzma: 297618 b
     downloading: automake1.10-1.10.2-1-mingw32-bin.tar.lzma: 281317 b
     downloading: automake1.9-1.9.6-3-mingw32-bin.tar.lzma: 255411 b
     downloading: automake1.8-1.8.5-1-mingw32-bin.tar.lzma: 246760 b
     downloading: automake1.7-1.7.9-1-mingw32-bin.tar.lzma: 220499 b
     downloading: automake1.6-1.6.3-1-mingw32-bin.tar.lzma: 194920 b
     downloading: automake1.5-1.5-1-mingw32-bin.tar.lzma: 181349 b
     downloading: automake1.4-1.4p6-1-mingw32-bin.tar.lzma: 155757 b
     downloading: libltdl-2.4-1-mingw32-dll-7.tar.lzma: 20319 b
     downloading: libintl-0.17-1-mingw32-dll-8.tar.lzma: 45508 b
     downloading: libiconv-1.13.1-1-mingw32-dll-2.tar.lzma: 549489 b
     downloading: libgettextpo-0.17-1-mingw32-dll-0.tar.lzma: 634029 b
     downloading: libiconv-1.13.1-1-mingw32-dev.tar.lzma: 549612 b
     downloading: libiconv-1.13.1-1-mingw32-bin.tar.lzma: 43861 b
     downloading: gettext-0.17-1-mingw32-dev.tar.lzma: 1217173 b
     downloading: gettext-0.17-1-mingw32-bin.tar.lzma: 70163 b
     downloading: libltdl-2.4-1-mingw32-dev.tar.lzma: 21973 b
     downloading: libtool-2.4-1-mingw32-bin.tar.lzma: 261982 b
     downloading: automake-4-1-mingw32-bin.tar.lzma: 3078 b
     downloading: autoconf-9-1-mingw32-bin.tar.lzma: 3570 b
     downloading: libguile-1.8.7-2-msys-1.0.15-rtm.tar.lzma: 287912 b
     downloading: libltdl-2.4-1-msys-1.0.15-dll-7.tar.lzma: 210222 b
     downloading: libgmp-5.0.1-1-msys-1.0.13-dll-10.tar.lzma: 355521 b
     downloading: libxml2-2.7.6-1-msys-1.0.13-dll-2.tar.lzma: 411616 b
     downloading: libopts-5.10.1-1-msys-1.0.15-dll-25.tar.lzma: 37540 b
     downloading: libguile-1.8.7-2-msys-1.0.15-dll-17.tar.lzma: 248004 b
     downloading: libopenssl-1.0.0-1-msys-1.0.13-dll-100.tar.lzma: 670631 b
     downloading: libbz2-1.0.5-2-msys-1.0.13-dll-1.tar.lzma: 26656 b
     downloading: libarchive-2.8.3-1-msys-1.0.13-dll-2.tar.lzma: 307411 b
     downloading: libminires-1.02_1-2-msys-1.0.13-dll.tar.lzma: 11679 b
     downloading: vim-7.2-2-msys-1.0.13-bin.tar.lzma: 2923500 b
     downloading: patch-2.6.1-1-msys-1.0.13-bin.tar.lzma: 51331 b
     downloading: openssl-1.0.0-1-msys-1.0.13-bin.tar.lzma: 322621 b
     downloading: openssh-5.4p1-1-msys-1.0.13-bin.tar.lzma: 281304 b
     downloading: mktemp-1.6-2-msys-1.0.13-bin.tar.lzma: 5692 b
     downloading: lndir-1.0.1-2-msys-1.0.13-bin.tar.lzma: 4700 b
     downloading: inetutils-1.7-1-msys-1.0.13-bin.tar.lzma: 115198 b
     downloading: guile-1.8.7-2-msys-1.0.15-bin.tar.lzma: 4699 b
     downloading: flex-2.5.35-2-msys-1.0.13-bin.tar.lzma: 95764 b
     downloading: cvs-1.12.13-2-msys-1.0.13-bin.tar.lzma: 418873 b
     downloading: coreutils-5.97-3-msys-1.0.13-ext.tar.lzma: 266676 b
     downloading: bsdcpio-2.8.3-1-msys-1.0.13-bin.tar.lzma: 12056 b
     downloading: bsdtar-2.8.3-1-msys-1.0.13-bin.tar.lzma: 23646 b
     downloading: bison-2.4.2-1-msys-1.0.13-bin.tar.lzma: 191594 b
     downloading: autogen-5.10.1-1-msys-1.0.15-bin.tar.lzma: 245177 b




More information about the ecl-devel mailing list