[C--] Failure during mk all all.opt

Hendrik Boom <[email protected]> Tue, 26 Feb 2013 16:48:59 +0000 (UTC)
Newsgroups gmane.comp.lang.c--
Message-ID <[email protected]>
On Tue, 26 Feb 2013 15:29:10 +0000, Hendrik Boom wrote:

> On Mon, 25 Feb 2013 17:59:40 -0500, John Cowan wrote:
> 
>> Hendrik Boom scripsit:
>> 
>>> I don't know if I'll have time for it, but if I did, would anyone be
>>> interested in a patch to make it work with more current lua?
>> 
>> I don't see any reason for it.  Lua 4 should go on working
>> indefinitely,
>> and will be available at lua.org and other places for the foreseeable
>> future.  Since qc-- is not being updated, it would be better to put in
>> the effort to improve it.
> 
> And now ./configure complains about OCaml.  Do I  really have to track
> down an obsolete version of OCaml, too?

I overrode the check in configure, asking it to check for version 3.12 instead.  Most of the changes to ocaml were tightening up checking to catch things that no correctx program should be attempting anyway, like converting string -> integer for a string representing an out-of-bounds integer.

I ran into trouble; I'd be surprised if this was because of the ocaml version change, but I can't rule it out.
While doing
   mk all all.opt
it stops with the messages


notangle -L -Runderflowhandler.c-- underflowhandler.nw > underflowhandler.c--
notangle -L -Rutil.c util.nw > util.c
notangle -L -Rvalue.c value.nw > value.c
sh ./toolkit-usage user interp-dec.c
You have attempted to build these files:
    "interp-dec.c" 
These files must be built from a SLED specification using the New
Jersey Machine-Code Toolkit, which is possible only with
MODE=developer.  You have set MODE=user.  Either avoid editing the
bytecode and encoding files or install the Toolkit and re-run using mk
MODE=developer TOOLS=<tools-pathname>.

(It may be that you have received this message not because you have edited
bytecode files but because you are working directly from our CVS repository.
CVS makes it difficult to keep time stamps up to date.  You can work around
this problem by typing 'mk timestamps' in the toplevel directory as described
in the INSTALL file.)
mk: sh ./toolkit-usage user interp-dec.c  : exit status=exit(1), deleting 'interp-dec.c'
+ exit 1
mk: ./mkdirs interp  : exit status=exit(1)
hendrik@notlookedfor:~/dv/lang/c--/qc--20090627$


Now, how should I proceed?  It has deleted the file interp-dec.c.
I can of course restore it from the original qc--.tar.gz.
Is it likely this resulted from using a more recent ocaml?
Or from using Debian's version of mk?

-- hendrik

_______________________________________________
Cminusminus mailing list
[email protected]
https://lists.eecs.harvard.edu/mailman/listinfo/cminusminus