[Ecls-list] lisp initialization error

Julian Stecklina der_julian at web.de
Mon Aug 15 05:10:03 UTC 2005


Hello,

if I call cl_boot from a shared library I get an lisp initialization
error with the following backtrace:

#0  cl_error (narg=5, eformat=0x28e82b68) at error.d:295
#1  0x28e1c899 in FEwrong_type_argument (type=0x28e82b68,
value=0x28e82b68) at error.d:151
#2  0x28e1f65c in FEtype_error_real (x=0x28e82b68) at typespec.d:37
#3  0x28e22798 in make_complex (r=0x82dc000, i=0x8334420) at
number.d:199 #4  0x28e13757 in sharp_C_reader (in=0x82dc000, c=0x10e,
d=0x28e7da20) at read.d:661
#5  0x28e44bad in APPLY_fixed (n=686304104, fn=0x28e89560 <cl_env>, 
    x=0x28e7da20) at apply.d:676
#6  0x28e015ac in cl_funcall (narg=3, function=0x82da258) at eval.d:210
#7  0x28e13515 in dispatch_reader_fun (in=0x82ac910, dc=0x8e) at
read.d:599 #8  0x28e44b93 in APPLY_fixed (n=686304104, fn=0x28e89560
<cl_env>, x=0x28e7da20) at apply.d:675
#9  0x28e015ac in cl_funcall (narg=2, function=0x82da330) at eval.d:210
#10 0x28e12409 in read_object_with_delimiter (in=0x82ac910,
delimiter=-1) at read.d:118
#11 0x28e12bc9 in read_object (in=0x28e82b68) at read.d:304
#12 0x28e17a3b in read_VV (block=0x82b6cc0, 
    entry_point=0x28d82fd0 <init_ECL_NUMLIB>) at read.d:2002
#13 0x28d59fe1 in init_LSP (cblock=0x28e82b68) at lsp.c:101
#14 0x28e17ada in read_VV (block=0x82b6fc0, entry_point=0x28d59df0
<init_LSP>) at read.d:2017
#15 0x28d59381 in cl_boot (argc=686304104, argv=0x28e7da20) at
main.d:444

My setup is the following:

I compile xchat-system.lisp into xchat-system.o with compile-
file :system-p t. Then a static library is generated giving libcl-
part.a. This is linked together with plugin.o to produce ecl.so. Any
help is appreciated. I am quite puzzled.

Regards,
-- 
Julian Stecklina

(Of course SML does have its weaknesses, but by comparison, a
 discussion of C++'s strengths and flaws always sounds like an
 argument about whether one should face north or east when one
 is sacrificing one's goat to the rain god.)         -- Thant Tessman




More information about the ecl-devel mailing list