[Ecls-list] mingw32 build failes while cygwin is ok
Goffioul Michael
goffioul at imec.be
Thu Jun 16 00:41:06 UTC 2005
> 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
Can you report the few lines of code at the beginning of function cl_make_package
in file /d/ecl/build/c/package.c?
As a side note, you can tell cygwin to build without dependencies, you just
have to add -mno-cygwin flag (I didn't test it, but you get the idea):
CFLAGS=-mno-cygwin ./configure && make
Michael.
More information about the ecl-devel
mailing list