[Info-vax] How to build WASD on a VAX (VMS 7.3)

JKB JKB at hilbert.invalid
Thu Dec 22 06:49:37 EST 2022


Le 21-12-2022, Mark Daniel <mark.daniel at wasd.vsm.com.au> a écrit :
> On 21/12/2022 9:53 pm, JKB wrote:
>> Le 20-12-2022, Mark Daniel <mark.daniel at wasd.vsm.com.au> a écrit :
>>> Which package are you attempting to build?
>> 
>> 	11.51 (wasd1151.zip)
>> 
>>> VAX 32bit accommodations were phased out with WASD v12.0
>> 
>> 	I know.
>
> Excellent.
>
>> Thus, I'm trying to build last WASD release that supports
>> 	VAX arch.
>
> That wasn't clear (to the reader).
>
>>>> $ CC  /INCLUDE=([])  /DEFINE=(HAVE_EXPAT_CONFIG_H) /OBJ=[.OBJ_VAX] XMLPARSE.C
>>>>                   entropy * (unsigned long)2305843009213693951ULL);
>>>>           .................................^
>>>> %CC-W-INVALTOKEN, Invalid token discarded.
>>>>                   At line number 881 in WASD_ROOT:[SRC.EXPAT]XMLPARSE.C;1.
>>>>
>>>>                   entropy * (unsigned long)2305843009213693951ULL);
>> 
>> 	Compilation fails in generate_hash_secret_salt(XML_Parser parser)
>> 	as Compaq CC doesn't understand 2305843009213693951ULL constant.
>> 
>> 	If I replace this constant by a 32 bits integer (this code is never
>> 	reached as sizeof(nsigned integer) == 4), compilation fails
>> 	with :
>> 
>>                  key->k[0] = SIP_U8TO64_LE((const unsigned char *)src);
>>          ....................^
>> %CC-E-NEEDSCALARTYP, In this statement, "uint64_t" is a struct type, which is
>>   not scalar.
>> 
>> 	JB
>
> OK.  Been at least a couple years.  The Expat in that general archive is 
> 64 bit.  For VAX you need to apply the 32 bit Expat in
>
>    https://wasd.vsm.com.au/wasd/vax/EXPAT201-VAX.ZIP
>
> Just follow the bouncing ball in
>
>    https://wasd.vsm.com.au/wasd/vax/EXPAT201-VAX.TXT
>
> Should build OK.  Have fun.
>
> PS.  I've added a note to the directory readme (hopefully) clarifying 
> this wrinkle.  VAX support was getting increasingly problematic towards 
> its final throes.

	Thanks a lot. I will try.

	Regards,

	JB

-- 
Si votre demande me parvient en code 29, je vous titiouillerai volontiers
une réponse.



More information about the Info-vax mailing list