[Ecls-list] cl-launch and ecl, again
Gabriel Dos Reis
gdr at integrable-solutions.net
Fri Oct 31 15:13:08 UTC 2008
> /home/fare/.cache/lisp-fasl/ecl-8.10.0__cvs_2008-07-12_18_54_-linux-pentium3/dev/shm/tmp/foo/libclt-asd.a(ECLINITu45oWA.o):
> In function `init_lib_CLT_ASD':
> /dev/shm/tmp/fare/ECLINITu45oWA.c:40: undefined reference to
> `_eclI7Z7omJ7_BAUArSy'
> collect2: ld returned 1 exit status
> An error occurred during initialization:
> (SYSTEM "gcc -o
> \"/home/fare/.cache/lisp-fasl/ecl-8.10.0__cvs_2008-07-12_18_54_-linux-pentium3/dev/shm/tmp/foo/cl-launch-10110-program\"
> -L\"/usr/local/stow/ecl/lib/\" \"/dev/shm/tmp/fare/ECLINITz2jMy9.o\"
> \"/home/fare/.cache/lisp-fasl/ecl-8.10.0__cvs_2008-07-12_18_54_-linux-pentium3/dev/shm/tmp/foo/libcl-launch-10110-prefix.a\"
> \"/home/fare/.cache/lisp-fasl/ecl-8.10.0__cvs_2008-07-12_18_54_-linux-pentium3/dev/shm/tmp/foo/libclt-asd.a\"
> \"/home/fare/.cache/lisp-fasl/ecl-8.10.0__cvs_2008-07-12_18_54_-linux-pentium3/dev/shm/tmp/foo/libcl-launch-10110-program.a\"
> -lecl -lpthread -ldl -lm -lgc -lgmp") returned non-zero value 1.
I don't know the details of cl-launch. However, as an ECL user, I've
met similar
error with an old (buggy) Lisp code I was porting to ECL. In all
cases, it was the
result of a bug in the old Lisp code -- undefined functions,
undeclared globals, etc.
I'm not saying cl-launch is at fault -- only that the occasions where I found
similar problems came from bugs in the input Lisp source code. Maybe
it might help
a little if ECL emits warnings on used but undefined functions/globals, and does
not die in those cases.
-- Gaby
More information about the ecl-devel
mailing list