[Openmcl-devel] Application bundles and the interface database
Tord Kallqvist Romstad
romstad at math.uio.no
Fri Oct 28 10:36:26 UTC 2005
Gary Byers <gb at clozure.com> writes:
> On Thu, 27 Oct 2005, Tord Kallqvist Romstad wrote:
> > (defclass application-controller (ns:ns-object)
> > ()
> > (:metaclass ns:+ns-object))
> > While trying to load this top-level form, I get:
> >> Error: Class #<A Mac Pointer #xA28816FC> isn't recognized.
> >> While executing: CANONICALIZE-REGISTERED-METACLASS
> A function called CCL::REVIVE-OBJC-CLASSES - defined in "ccl:examples;
> objc-runtime.lisp" - is supposed to run whenever a saved image is
> started, by virtue of being on the list CCL::*LISP-SYSTEM-POINTER-FUNCTIONS*.
> Can you tell if it's there before the image is saved ?
Yes, it's there.
> If it runs at startup time - and if the ObjC class hierarchy had been
> examined before the image was saved - I'm not sure how that error
> could occur.
> Can you print the value of (FIND-CLASS 'NS:+NS-OBJECT) earlier in
> the .dfsl file (before the class definition ?)
#<OBJC:OBJC-METACLASS NS:+NS-OBJECT (#xA28876FC)>
Looks correct, doesn't it?
I don't know whether it has any significance, but I observe that the
hexadecimal number #xA28876FC, which appear when evaluating (FIND-CLASS
'NS:+NS-OBJECT), is not equal to the number #xA28816FC, which appear
in the error message.
More information about the Openmcl-devel