[Ecls-list] mingw32 build failes while cygwin is ok
Juan Jose Garcia Ripoll
jlr at mpq.mpg.de
Thu Jun 16 06:02:49 UTC 2005
Hi,
sorry for the late answer, but my laptop crashed a couple of days ago
and I have been through the process of resucitating the windows partition.
However, after doing so I tried both compiling the CVS and the tarball
available in www.sf.net/projects/ecls under release 0.9f-patch-1, and
both of them compiled fine using
./configure --prefix=$HOME
make
The file symbols_list2.h was there and C files compiled without errors.
First of all, I need to know how you have configured ECL, i.e. what
flags you passed to "configure". Second, I need to know what are the
versions of MINGW and MSYS, and a full log of the whole process sent to
my private address would also be nice log of all the process would be
also nice.
karol skocik wrote:
>so i have installed MSys, which works fine, but after many files
>compiled ok, this happens :
>
>cat /d/ecl/src/c/symbols_list.h | \
>sed -e 's%{\([A-Z ]*.*".*"\),[^,]*,[ ]*NULL,.*}%{\1,NULL}%g' \
> -e 's%{\([A-Z ]*.*".*"\),[^,]*,[ ]*\([^,]*\),.*}%{\1,"\2"}%g' \
> -e 's%{NULL.*%{NULL,NULL}};%' > symbols_list2.h
>if test -f ../CROSS-DPP; then touch dpp; else \
>gcc -I../include -g -O2 -fstrict-aliasing -Dmingw32 -I../h -I./
>-I/d/ecl/src/h /d/ecl/src/c/dpp.c -o dpp.exe ; \
>fi
>d:/ecl/src/c/dpp.c:76:27: symbols_list2.h: No such file or directory
>d:/ecl/src/c/dpp.c: In function `search_keyword':
>d:/ecl/src/c/dpp.c:229: error: `cl_symbols' undeclared (first use in
>this function)
>d:/ecl/src/c/dpp.c:229: error: (Each undeclared identifier is reported only once
>d:/ecl/src/c/dpp.c:229: error: for each function it appears in.)
>
>- so the resulting symbols_list2.h is placed in d/ecl/build/c where
>this on command : "gcc -I../include -g -O2 -fstrict-aliasing
>-Dmingw32 -I../h -I./ -I/d/ecl/src/h /d/ecl/src/c/dpp.c -o dpp.exe ;
>\ " can not find the file. this can be fixed easy, so i have copied
>the symbols_list2.h to the place where it finds ok.
>
>
Well, this does not make any sense at all to me, because all commands
that you mention above should take place in /d/ecl/build/c. Even the
call to "gcc" happens in /d/ecl/build/c, which is where, as you say,
symbols_list2.h is created.
>but, then when i continue (doing 'make' in /d/ecl/build/c), it crashes
>on this : [...]
>d:/ecl/src/c/package.d: In function `cl_make_package':
>d:/ecl/src/c/package.d:730: error: initializer element is not constant
>d:/ecl/src/c/package.d:730: error: (near initialization for `KEYS[0]')
>d:/ecl/src/c/package.d:730: error: initializer element is not constant
>d:/ecl/src/c/package.d:730: error: (near initialization for `KEYS[1]')
>
>
This can only happen when the code generated by "dpp" is wrong.
Are you running everything from a fresh new Msys install? Do you run
this from the shell? I need more details because I really cannot
reproduce this in my computer.
Juanjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jlr.vcf
Type: text/x-vcard
Size: 389 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20050616/41cd55a4/attachment.vcf>
More information about the ecl-devel
mailing list