[Openmcl-devel] compilfing file with constant array of structs

Marco Baringer mb at bese.it
Tue Dec 17 15:33:27 UTC 2002


i have a file which i can laod, but can't seem to compile....

setup:

in lal.lisp i define a struct (op-spec)

in ass-const.lisp i define a constant [+constant-array+] containing an
array of op-spec structs.

in disassemble.lisp i have a function which references the array
defined in ass-const.lisp [(aref +constant-array+ i)]. i can load
disassemble.lisp just fine, but trying to compile it results in:

> Error: No MAKE-LOAD-FORM method is defined for #S(PARROT.LISP.LAL:PARROT-OP :CODE 0 :NAME :END :ARG-TYPES (:OP) :ARGS NIL)
> While executing: CCL::NO-MAKE-LOAD-FORM-FOR
> Type :POP to abort.
Type :? for other options.
1 > 

Does this make anysense? is this a problem with openmcl or a
missunderstanding of mine reading how load and compile work?

p.s. - if i concatenate ass-const.lisp and disassemble.lisp into one
file and then load it i can sucessfully compile it. 

-- 
-Marco
Ring the bells that still can ring.
Forget your perfect offering.
There is a crack in everything.
That's how the light gets in.
     -Leonard Cohen


_______________________________________________
Openmcl-devel mailing list
Openmcl-devel at clozure.com
http://clozure.com/cgi-bin/mailman/listinfo/openmcl-devel



More information about the Openmcl-devel mailing list