[Ecls-list] ECL cvs fails to build

Yue Li xyly781 at gmail.com
Tue Jan 26 04:27:19 UTC 2010


Hi,

I was rebuilding ECL on Mac OS X (with threads enabled), and it throws
errors as shown below. I could repeat the same error on my linux
machine too.

Yue

[.....]
Unknown symbol: si::structure-include
gcc -DECLDIR="\"/usr/local/lib/ecl-10.1.1\"" -I.
-I/Users/yli/Software/ecl/build -I/Users/yli/Software/ecl/src/c
-I../ecl/gc -DECL_API -DECL_NO_LEGACY   -g -O2 -fPIC -fno-common
-D_THREAD_SAFE -Ddarwin -c -o structure.o tmp.c
rm -f tmp.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP
/Users/yli/Software/ecl/src/c/load.d tmp.c ; else ./dpp
/Users/yli/Software/ecl/src/c/load.d tmp.c ; fi
dpp: /Users/yli/Software/ecl/src/c/load.d -> tmp.c
gcc -DECLDIR="\"/usr/local/lib/ecl-10.1.1\"" -I.
-I/Users/yli/Software/ecl/build -I/Users/yli/Software/ecl/src/c
-I../ecl/gc -DECL_API -DECL_NO_LEGACY   -g -O2 -fPIC -fno-common
-D_THREAD_SAFE -Ddarwin -c -o load.o tmp.c
rm -f tmp.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP
/Users/yli/Software/ecl/src/c/unixfsys.d tmp.c ; else ./dpp
/Users/yli/Software/ecl/src/c/unixfsys.d tmp.c ; fi
dpp: /Users/yli/Software/ecl/src/c/unixfsys.d -> tmp.c
gcc -DECLDIR="\"/usr/local/lib/ecl-10.1.1\"" -I.
-I/Users/yli/Software/ecl/build -I/Users/yli/Software/ecl/src/c
-I../ecl/gc -DECL_API -DECL_NO_LEGACY   -g -O2 -fPIC -fno-common
-D_THREAD_SAFE -Ddarwin -c -o unixfsys.o tmp.c
rm -f tmp.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP
/Users/yli/Software/ecl/src/c/unixsys.d tmp.c ; else ./dpp
/Users/yli/Software/ecl/src/c/unixsys.d tmp.c ; fi
dpp: /Users/yli/Software/ecl/src/c/unixsys.d -> tmp.c

Unknown symbol: :pointer

Unknown symbol: si::close-windows-handle

Unknown symbol: :runnning
gcc -DECLDIR="\"/usr/local/lib/ecl-10.1.1\"" -I.
-I/Users/yli/Software/ecl/build -I/Users/yli/Software/ecl/src/c
-I../ecl/gc -DECL_API -DECL_NO_LEGACY   -g -O2 -fPIC -fno-common
-D_THREAD_SAFE -Ddarwin -c -o unixsys.o tmp.c
/Users/yli/Software/ecl/src/c/unixsys.d: In function ‘si_run_program’:
/Users/yli/Software/ecl/src/c/unixsys.d:483: warning: passing argument
2 of ‘execve’ from incompatible pointer type
/Users/yli/Software/ecl/src/c/unixsys.d:485: warning: passing argument
2 of ‘execvp’ from incompatible pointer type
rm -f tmp.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP
/Users/yli/Software/ecl/src/c/ffi.d tmp.c ; else ./dpp
/Users/yli/Software/ecl/src/c/ffi.d tmp.c ; fi
dpp: /Users/yli/Software/ecl/src/c/ffi.d -> tmp.c
gcc -DECLDIR="\"/usr/local/lib/ecl-10.1.1\"" -I.
-I/Users/yli/Software/ecl/build -I/Users/yli/Software/ecl/src/c
-I../ecl/gc -DECL_API -DECL_NO_LEGACY   -g -O2 -fPIC -fno-common
-D_THREAD_SAFE -Ddarwin -c -o ffi.o tmp.c
rm -f tmp.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP
/Users/yli/Software/ecl/src/c/big.d tmp.c ; else ./dpp
/Users/yli/Software/ecl/src/c/big.d tmp.c ; fi
dpp: /Users/yli/Software/ecl/src/c/big.d -> tmp.c
gcc -DECLDIR="\"/usr/local/lib/ecl-10.1.1\"" -I.
-I/Users/yli/Software/ecl/build -I/Users/yli/Software/ecl/src/c
-I../ecl/gc -DECL_API -DECL_NO_LEGACY   -g -O2 -fPIC -fno-common
-D_THREAD_SAFE -Ddarwin -c -o big.o tmp.c
rm -f tmp.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP
/Users/yli/Software/ecl/src/c/threads.d tmp.c ; else ./dpp
/Users/yli/Software/ecl/src/c/threads.d tmp.c ; fi
dpp: /Users/yli/Software/ecl/src/c/threads.d -> tmp.c
Keyword not found: count.

Unknown symbol: mp:make-semaphore

Unknown symbol: mp:make-semaphore

Unknown symbol: mp::semaphore

Unknown symbol: mp::semaphore

Unknown symbol: mp::semaphore

Unknown symbol: mp::semaphore
gcc -DECLDIR="\"/usr/local/lib/ecl-10.1.1\"" -I.
-I/Users/yli/Software/ecl/build -I/Users/yli/Software/ecl/src/c
-I../ecl/gc -DECL_API -DECL_NO_LEGACY   -g -O2 -fPIC -fno-common
-D_THREAD_SAFE -Ddarwin -c -o threads.o tmp.c
rm -f tmp.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP
/Users/yli/Software/ecl/src/c/threads_mutex.d tmp.c ; else ./dpp
/Users/yli/Software/ecl/src/c/threads_mutex.d tmp.c ; fi
dpp: /Users/yli/Software/ecl/src/c/threads_mutex.d -> tmp.c
gcc -DECLDIR="\"/usr/local/lib/ecl-10.1.1\"" -I.
-I/Users/yli/Software/ecl/build -I/Users/yli/Software/ecl/src/c
-I../ecl/gc -DECL_API -DECL_NO_LEGACY   -g -O2 -fPIC -fno-common
-D_THREAD_SAFE -Ddarwin -c -o threads_mutex.o tmp.c
rm -f tmp.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP
/Users/yli/Software/ecl/src/c/alloc_2.d tmp.c ; else ./dpp
/Users/yli/Software/ecl/src/c/alloc_2.d tmp.c ; fi
dpp: /Users/yli/Software/ecl/src/c/alloc_2.d -> tmp.c
gcc -DECLDIR="\"/usr/local/lib/ecl-10.1.1\"" -I.
-I/Users/yli/Software/ecl/build -I/Users/yli/Software/ecl/src/c
-I../ecl/gc -DECL_API -DECL_NO_LEGACY   -g -O2 -fPIC -fno-common
-D_THREAD_SAFE -Ddarwin -c -o alloc_2.o tmp.c
/Users/yli/Software/ecl/src/c/alloc_2.d: In function ‘init_alloc’:
/Users/yli/Software/ecl/src/c/alloc_2.d:443: warning: passing argument
1 of ‘GC_set_warn_proc’ from incompatible pointer type
/Users/yli/Software/ecl/src/c/alloc_2.d: In function ‘standard_finalizer’:
/Users/yli/Software/ecl/src/c/alloc_2.d:464: warning: passing argument
1 of ‘GC_unregister_disappearing_link’ from incompatible pointer type
/Users/yli/Software/ecl/src/c/alloc_2.d:501: error: ‘the_env’
undeclared (first use in this function)
/Users/yli/Software/ecl/src/c/alloc_2.d:501: error: (Each undeclared
identifier is reported only once
/Users/yli/Software/ecl/src/c/alloc_2.d:501: error: for each function
it appears in.)
/Users/yli/Software/ecl/src/c/alloc_2.d: In function ‘queueing_finalizer’:
/Users/yli/Software/ecl/src/c/alloc_2.d:550: warning: passing argument
2 of ‘GC_register_finalizer_no_order’ from incompatible pointer type
/Users/yli/Software/ecl/src/c/alloc_2.d: In function ‘ecl_alloc_weak_pointer’:
/Users/yli/Software/ecl/src/c/alloc_2.d:788: warning: passing argument
1 of ‘GC_general_register_disappearing_link’ from incompatible pointer
type
make[2]: *** [alloc_2.o] Error 1
make[1]: *** [libeclmin.a] Error 2
make: *** [all] Error 2




More information about the ecl-devel mailing list