[Ecls-list] --enable-threads=yes build error on Darwin

Rick Taube taube at uiuc.edu
Wed Oct 4 17:21:42 UTC 2006


Hello, I get an error when trying to build cvs ECL with threads  
enabled on Darwin. Ecl builds fine without enabling threads. Any help  
appreciated!

--Rick Taube

here is the info:

$ uname -a
	Darwin Kernel Version 8.8.0: Fri Sep  8 17:18:57 PDT 2006;  
root:xnu-792.12.6.obj~1/RELEASE_PPC
$ ./configure --enable-threads=yes --enable-boehm=included --with- 
system-gmp=no --with-x=no
	[...]

$ make
	[...]
	gcc -c -I. -I/usr/local/src/ecl/build -I/usr/local/src/ecl/src/c - 
I../ecl/gc  -g -O2 -fPIC -fno-common -D_THREAD_SAFE  -fstrict- 
aliasing -Ddarwin  -o threads.o threads.c
	/usr/local/src/ecl/src/c/threads.d: In function 'mp_process_enable':
	/usr/local/src/ecl/src/c/threads.d:214: warning: passing argument 3  
of 'GC_pthread_create' from incompatible pointer type
	/usr/local/src/ecl/src/c/threads.d: In function 'mp_make_lock':
	/usr/local/src/ecl/src/c/threads.d:299: error: 'x' undeclared (first  
use in this function)
	/usr/local/src/ecl/src/c/threads.d:299: error: (Each undeclared  
identifier is reported only once
	/usr/local/src/ecl/src/c/threads.d:299: error: for each function it  
appears in.)
	make[2]: *** [threads.o] Error 1





More information about the ecl-devel mailing list