[Info-vax] Building Perl on VAX

hb end.of at inter.net
Sun Jul 14 09:39:38 EDT 2019


On 07/14/2019 11:37 AM, Daniel Sundqvist wrote:
> 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!

The "," is correct. It is the default separator for prerequisites in
MMS/MMK. Spaces are accepted as well, but as you should see with /DUMP
they are replaced by commas. The problem is the prerequisite ":", which
you removed. It may not be worth the effort to find out, where it came from.

> 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.

That was a known bug in MMK for VAX, listed in
https://github.com/endlesssoftware/mmk/issues. It was fixed late in
November 2016. It seems you have older sources.



More information about the Info-vax mailing list