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

JKB JKB at hilbert.invalid
Wed Dec 21 03:53:23 EST 2022


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. Thus, I'm trying to build last WASD release that supports
	VAX arch.

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

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



More information about the Info-vax mailing list