[Ecls-list] problem building ecl 0.9j for mingw + thread support

lzenki at virgilio.it lzenki at virgilio.it
Tue Apr 29 09:00:39 UTC 2008


Hi to all, I would like to be more clear about the problem
I got from 
building ecl 0.9j for mingw32 with threads support :

after unpacking 
ECL source code, from a Mingw32/MSYS/bash shell I run :

./config --
enable-threads=yes
         --enable-shared
         --enable-__thread
         --enable-c99-complex
         --host=mingw32

make

after a 
while I get some syntax errors by the compiler...
follows the message :

--------------------------------------------------------------------------------------
...
...
cp /c/prg/c/ecl-0.9j/src/h/*.h ecl/
if grep 'undef 
ENABLE_DLOPEN' ecl/config.h; then cp c/external.h h; fi
cd c; make
make
[2]: Entering directory `/c/prg/c/ecl-0.9j/build/c'
cat /c/prg/c/ecl-0.9
j/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}};%' 
> /c/prg/c/ecl-0.9j/src/c/symbols_list
2.h
if test -f ../CROSS-DPP; 
then touch dpp; else \
        mingw32-gcc -O3 -march=i686  -
D_THREAD_SAFE  -fstrict-aliasing -Dmingw32
 -I/c/prg/c/ecl-0.9j/src/c -
Ic:/prg/c/ecl-0.9j/build -I./  /c/prg/c/ecl-0.9j/src
/c/dpp.c  -o dpp.
exe ; \
        fi
if test -f ../CROSS-DPP ; then ../CROSS-DPP 
/c/prg/c/ecl-0.9j/src/c/main.d main.
c ; else ./dpp.exe /c/prg/c/ecl-0.9
j/src/c/main.d main.c ; fi
dpp: c:/prg/c/ecl-0.9j/src/c/main.d -> main.
c

Unknown symbol: si::*record-source-pathname-p*
mingw32-gcc -c -I. -
Ic:/prg/c/ecl-0.9j/build -I/c/prg/c/ecl-0.9j/src/c -I../ecl/
gc  -O3 -
march=i686  -D_THREAD_SAFE  -fstrict-aliasing -Dmingw32  -o main.o main
.c
In file included from c:/prg/c/ecl-0.9j/build/ecl/ecl.h:58,
                 from c:/prg/c/ecl-0.9j/src/c/main.d:19:
c:/prg/c/ecl-
0.9j/build/ecl/object.h:517: error: syntax error before "pthread_co
nd_t"
c:/prg/c/ecl-0.9j/build/ecl/object.h:517: warning: no semicolon 
at end of struct
 or union
c:/prg/c/ecl-0.9j/build/ecl/object.h:581: 
error: field `condition_variable' has
incomplete type
make[2]: *** 
[main.o] Error 1
rm main.c
make[2]: Leaving directory `/c/prg/c/ecl-0.9
j/build/c'
make[1]: *** [libeclmin.a] Error 2
make[1]: Leaving 
directory `/c/prg/c/ecl-0.9j/build'
make: *** [all] Error 2
[1]+  
Done                    elz fai_ecl

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


No problem at all building without threads support


Please note,
pthread porting for mingw32 works fine as well as
native win32 
threads...

I got the error with native-win32-thread support both
with 
pthread support...

Why I get some errors ?

Any idea ?

Thank you
very 
much.





More information about the ecl-devel mailing list