[Ecls-list] mingw32 build failes while cygwin is ok

karol skocik karol.skocik at gmail.com
Wed Jun 15 10:30:19 UTC 2005


Hi all,
  first - sorry for being annoying with this, but i think i can not
build it without your help and i would really like to use ECL. the
problem is that on cygwin the build is ok, but as i wrote, i dont want
to use cygwin build because of dependencies.

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.

but, then when i continue (doing 'make' in /d/ecl/build/c), it crashes
on this :

Administrator at XCOMP /d/ecl/build/c
$ make
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
sed 's,__declspec(dllimport),,g' /d/ecl/src/h/external.h > external.h
if test -f ../CROSS-DPP ; then ../CROSS-DPP /d/ecl/src/c/main.d main.c
; else ./dpp.exe /d/ecl/src/c/main.d main.c ; fi
dpp: d:/ecl/src/c/main.d -> main.c

Unknown symbol: mp::*current-process*

Unknown symbol: mp::+load-compile-lock+

Unknown symbol: mp::+load-compile-lock+

Unknown symbol: si::*record-source-pathname-p*
gcc -c -I./ -I/d/ecl/src/c -I/d/ecl/src/h -I../h  -I../include -g -O2 
-fstrict-aliasing -Dmingw32  -o main.o main.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP /d/ecl/src/c/symbol.d
symbol.c ; else ./dpp.exe /d/ecl/src/c/symbol.d symbol.c ; fi
dpp: d:/ecl/src/c/symbol.d -> symbol.c
gcc -c -I./ -I/d/ecl/src/c -I/d/ecl/src/h -I../h  -I../include -g -O2 
-fstrict-aliasing -Dmingw32  -o symbol.o symbol.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP /d/ecl/src/c/package.d
package.c ; else ./dpp.exe /d/ecl/src/c/package.d package.c ; fi
dpp: d:/ecl/src/c/package.d -> package.c
gcc -c -I./ -I/d/ecl/src/c -I/d/ecl/src/h -I../h  -I../include -g -O2 
-fstrict-aliasing -Dmingw32  -o package.o package.c
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]')
make: *** [package.o] Error 1
rm main.c symbol.c package.c



--- here i stopped, since i have absolutely no clue what to do. can
anybody help me please?
i am using the sources from archive ecl-0.9f-patch-1.tgz

thank you,
  karol skocik




More information about the ecl-devel mailing list