[Info-vax] How to build WASD on a VAX (VMS 7.3)
Mark Daniel
mark.daniel at wasd.vsm.com.au
Thu Dec 22 10:52:40 EST 2022
On 23/12/2022 12:49 am, JKB wrote:
> 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
I will also repackage the v11.5.1 archives to include the 32 bit Expat
making a WASD1151_32.ZIP and WASD1151_32-VAX.ZIP (or some such schema)
to eliminate the required Expat replacement step for future VAX
builders, at some stage.
More information about the Info-vax
mailing list