home *** CD-ROM | disk | FTP | other *** search
- cvt_unix_to_vms() is not part of the Franz sources: it is a Eunice function.
- We don't have 4.0 Eunice yet, but it should be easy to test this function out
- of context. Although I don't have the exact specs for 4.0 filenames, I'd guess
- that you probably could probably just blow away all calls to cvt_unix_to_vms()
- (there's only a few of them). Or writing your own wouldn't be too tough.
-
- -------
-
- I suspect the Eunice image activation error message is in reality VMS's
- IMG_SIZ error message (found on 2-205 of the 4.0 System Messages Manual).
- This means that your image header is fotched. Here's what happened to me:
- we've got a bunch of MicroVaxes and VaxStation 100s running various
- incarnations of VMS 4.X. Recently I tried to port Franz to them from our 780
- (running VMS and Eunice). Initially I just copied the Franz image to the
- workstation, but this resulted in the aforementioned image activation error.
- So then I copied the components needs to build an interpreted Franz by hand
- --- Rawlisp and the 10 or so .l files. This worked, but if I did a (dumplisp)
- to save the lisp, I would get the image activation error again. As it turns
- out, the code for (dumplisp ...) has a slight bug that has only become
- apparent under 4.X.
-
- The fix is trivial ---- there is a field in image headers that need not be
- set under 3.X, but must be set under 4.X. NDumplisp, the routine that creates
- a new lisp image, was not setting this field. Below is a fragment of my hack
- to NDumplisp:
-
- File: Fex3.C
- Routine: NDumplisp
- -------------------------
-
- /* Setting up the image header... */
-
- Buffer.Header.Ihd.majorid[1] = '2';
- Buffer.Header.Ihd.minorid[0] = '0';
- Buffer.Header.Ihd.minorid[1] = '2';
-
- /* Here's the hack..... */
-
- Buffer.Header.Ihd.hdrblkcnt = 1;
-
- /* EOH */
-
- Buffer.Header.Ihd.imgtype = IHD_EXECUTABLE;
- Buffer.Header.Ihd.privreqs[0] = -1;
- Buffer.Header.Ihd.privreqs[1] = -1;
-
- -----
-
- If anyone is planning to be running on 4.0, you must set this field, or any
- lisp created via dumplisp will not run.
-
- John Zoll
- Carnegie-Mellon University
- Zoll@Cmu-Psy-A.Arpa
-
-
-