[Info-vax] Building Perl on VAX
Daniel Sundqvist
dsundqvist1 at gmail.com
Sun Jul 14 05:37:17 EDT 2019
Den söndag 14 juli 2019 kl. 01:06:37 UTC+2 skrev hb:
> On 7/13/19 7:17 PM, Daniel Sundqvist wrote:
> > Yeah it feels more and more like it's a bug in MMK. I'm using MMK-5.0 wich does not seem that stable. Had to fix a bug to make it work in the first place. Maybe could try 4.1 if I find the source for it.
> >
> > Can't seem to find the flag for more verbose output of MMK
> >
> ...
> > %MMK-F-CANTUPD, cannot update target : - sources unknown
>
> MMK tells you the target, for which the sources are unknown: ":".
> Just like in
>
> $ mmk /descrip=tt:
> all : :
> ! done
> ^Z
> %MMK-F-CANTUPD, cannot update target : - sources unknown
> $
>
> Not knowing anything about building Perl, this can be a problem in a
> dynamically generated makefile (.mms file) or in an expansion of an
> MMS/MMK macro. So it may not be easy to spot. It may be a problem in
> MMK, but the probability is low.
>
> MMS will print a different error message, which points you to the right
> spot:
> $ mms /descrip=tt:
> all : :
>
>
> all : :
> %MMS-W-DRVPARSERR, Parser error: "syntax error" in file
> _FTA156:[USER]DESCRIP.MMS;, line 1.
> %MMS-F-DRVBADPARSE, Parser detected a fatal syntax error in the
> description file.
> $
>
> On the other hand, it would be nice to know what the problem was, to get
> MMK 5.0 working - and how you fixed it.
Thanks for your input. With your remarks about ":" I went ahead and looked over mmk/dump again. I saw this:
STATIC :: [--]DYNALOADER.OBJ, :
@ Continue
That "," doesn't look right. Seems like ":" is listed as one of the sources
The relevant section in the MMS file was:
static :: $(PERL_SRC)$(OBJECT) :
$(NOECHO) $(NOOP)
Removed the ":" and now it builds!
About the MMK bug, it was this line in mmk.h (master branch) :
#define MMK_S_DCL 256 /* 255 is DCL command line + trailing null */
This constant will result in a buffer of length 257 bytes wich cause an oveflow error.
Changing the constant to 254 makes it work at least.
Thank you!
Daniel
More information about the Info-vax
mailing list