[Ecls-list] mingw32 build failure

Marko Kocić marko.kocic at gmail.com
Thu Jan 8 19:39:53 UTC 2009


I tried to build git head of ecl on mingw32/gcc-4.3.2 and got the
following error:

make[2]: Entering directory `/c/dev/cvstree/ecl.git/build/c'
if test -f ../CROSS-DPP ; then ../CROSS-DPP
/c/dev/cvstree/ecl.git/src/c/main.d main.c ; else ./dpp.
exe /c/dev/cvstree/ecl.git/src/c/main.d main.c ; fi
dpp: c:/dev/cvstree/ecl.git/src/c/main.d -> main.c
gcc -c -DECL_API -I. -Ic:/dev/cvstree/ecl.git/build
-I/c/dev/cvstree/ecl.git/src/c -I../ecl/gc  -g -
O2  -D_THREAD_SAFE -Ic:/msys/1.0/local/include -Dmingw32  -o main.o main.c
c:/dev/cvstree/ecl.git/src/c/main.d:36:23: error: sys/mman.h: No such
file or directory
c:/dev/cvstree/ecl.git/src/c/main.d: In function '_ecl_alloc_env':
c:/dev/cvstree/ecl.git/src/c/main.d:214: error: 'PROT_READ' undeclared
(first use in this function)
c:/dev/cvstree/ecl.git/src/c/main.d:214: error: (Each undeclared
identifier is reported only once
c:/dev/cvstree/ecl.git/src/c/main.d:214: error: for each function it
appears in.)
c:/dev/cvstree/ecl.git/src/c/main.d:214: error: 'PROT_WRITE'
undeclared (first use in this function)

c:/dev/cvstree/ecl.git/src/c/main.d:215: error: 'MAP_ANON' undeclared
(first use in this function)
c:/dev/cvstree/ecl.git/src/c/main.d:215: error: 'MAP_PRIVATE'
undeclared (first use in this function
)
c:/dev/cvstree/ecl.git/src/c/main.d:215: warning: assignment makes
pointer from integer without a ca
st
make[2]: *** [main.o] Error 1
rm main.c
make[2]: Leaving directory `/c/dev/cvstree/ecl.git/build/c'
make[1]: *** [libeclmin.a] Error 2
make[1]: Leaving directory `/c/dev/cvstree/ecl.git/build'
make: *** [all] Error 2




More information about the ecl-devel mailing list