[cl-mathstats-devel] Re: [cl-containers-devel] error when using CMUCL &In-Reply-To=A0057F80-13E0-48EF-A89D-A32038025167 at m

Gary King gwking at metabang.com
Fri Dec 15 18:42:15 UTC 2006


> There is just one minor obstacle while loading CL-MATHSTATS. The
> function FACTORIAL-EXACT from DENSITY-FNS.LISP is not found. I have to
> load-compile the function by hand, retry and then it seems to work  
> - no
> more complaints.

Hmmm, this looks like a load-time-value problem. Funnily enough, I  
was just telling someone this morning that I don't feel confident  
that I understand load-time-value's semantics and now I'll get to try  
and figure it out (I didn't write the code that uses it in CL- 
Mathstats originally).

I'll try to stick in a work around first and then go from there.

thanks again for your perseverance.

> The error message is:
>
> ;;;------------------------------------------------------------------- 
> ------
> Error in KERNEL::UNDEFINED-SYMBOL-ERROR-HANDLER:  the function
> CL-MATHSTATS:FACTORIAL-EXACT is undefined.
>    [Condition of type UNDEFINED-FUNCTION]
>
> Restarts:
>   0: [CONTINUE] Return NIL from load of
> #P"/home/choppa/local/lisp/source/cl-mathstats/dev/density-fns.x86f".
>   1: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {58B3C24D}> on
> #<ASDF:CL-SOURCE-FILE "density-fns" {58E55375}>.
>   2: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {58B3C24D}> on
> #<ASDF:CL-SOURCE-FILE "density-fns" {58E55375}> as having been
> successful.
>   3: [ABORT] Abort SLIME compilation.
>   4: [ABORT] Abort handling SLIME request.
>   5: [CONTINUE] Return NIL from load of "home:.cmucl-init".
>   6: [ABORT] Skip remaining initializations.
>
> Backtrace:
>   0: (KERNEL::UNDEFINED-SYMBOL-ERROR-HANDLER "<error finding name>"
> #.(SYSTEM:INT-SAP #x3FFFBA1C) #<Alien (* (ALIEN:STRUCT NIL # # # ...))
> at #x3FFFB694> (14))
>       Locals:
>         KERNEL::FDEFN-OR-SYMBOL = #:INVALID
>         #:G0 = #.(SYSTEM:INT-SAP #x3FFFBA1C)
>         #:G1 = #<Alien (* (ALIEN:STRUCT NIL (X86::GS (ALIEN:UNSIGNED
> 16)) (X86::__GSH (ALIEN:UNSIGNED 16)) (X86::FS (ALIEN:UNSIGNED 16))
> (X86::__FSH (ALIEN:UNSIGNED 16)) (X86::SC-ES (ALIEN:UNSIGNED 16))
> (X86::__ESH (ALIEN:UNSIGNED 16)) (X86::SC-DS (ALIEN:UNSIGNED 16))
> (X86::__DSH (ALIEN:UNSIGNED 16)) ...)) at #x3FFFB694>
>         #:G2 = (14)
>         KERNEL::NAME = "<error finding name>"
> ;;;------------------------------------------------------------------- 
> -----
>
>

--
Gary Warren King, metabang.com
Cell: (413) 885 9127
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM







More information about the Cl-mathstats-devel mailing list