[comp.sys.mac.programmer] ACL 1.2.2 problems

miller@CS.ROCHESTER.EDU (Brad Miller) (09/26/89)

1. I can confirm the interaction with Superclock 1.5! (that is, system crash
and burn under multifinder with less than 2megs for ACL if Superclock is
running); but things work just fine under monofinder. I also discovered an
interaction with 101-Keys (the init you get with the DataDesk keyboard);
specifically the hot keys are recognized, but nothing happens (invoking the
file menu even causes disk activity, but no menu). Any macros in the
universal file are invoked correctly however.

2. The real problem is with the foreign function interface. I'm running 6.02
ACL 1.2.2 MPW 3.0...

If I just try to execute the example listed in the manual I get the
following errors trying to ff-load... (in example.lisp; there is only one
ff-load form; it's for example.c.o)

Continuable Error: Unknown Object File Version (2) in #<Object #163,
"Development:MPW:...:StdClib.o", a ccl::*file-stream*> while executing
ccl::ff-readobj

I get the same error on CInterface.o

I then get an error

Reference to Undefined entry pint "DisposPtr"

On executing the following form in example.lisp (the defcfun)

Error: there is no foreign entry point named "digitval"

I tried again recompiling example.c in MPW, but got the same errors above,
plus an error on my new example.o file, which leads me to believe the thing
expects MPW 2 compatible object files??

****

Of course, it isn't all that important that I run the example, I was
planning on getting the MIDIManger's glue file loaded, which gives the same
Unknown Object File Version (2) error...

Is there a fix for this? 

Thanks!

alms@cambridge.apple.com (Andrew L. M. Shalit) (09/27/89)

In article <1989Sep25.185304.2885@cs.rochester.edu> miller@CS.ROCHESTER.EDU (Brad Miller) writes:

   2. The real problem is with the foreign function interface. I'm running 6.02
   ACL 1.2.2 MPW 3.0...

   [stuff deleted]

   Is there a fix for this? 

version 1.3 of Macintosh Allegro Common Lisp (due out any month now) will
support the MPW 3.0 object-file format. Version 1.2.2 only supports
MPW 2.0.  Sorry bout that.

 -andrew