13 Feb 21 18:16, you wrote to me:
ac>> Disclaimer:
ac>> I haven't actually tested the resulting binaries much yet. The main
ac>> challenge I set myself was just to get HPT to build without errors.
MP> this is on OS2, using wmake -f makefile.watcom OS2=2
MP> huskylib compiles, smapi compiles but
MP> areafix gives Error! E1011: Symbol 'MAXPATHLEN' has not been declared
MP> and
MP> Error! Expression most be comstant
Strange. Evidently OW2.0 is a bit of a moving target, but that shouldn't happen. It built without error on a OW2.0 snapshot from 2020-12-26.
I've subsequently updated to the latest OW2.0 snapshot and got the same error as you, so have committed a fix to huskylib just now.
The bad news is running "hpt.exe toss" (without any configuration set) actually froze my OS/2 VM.
Actually I think the freezing is a problem with the VM or a bug in the OS/2 JFS driver and not Watcom's fault, because it (1) wouldn't boot correctly the first time after a reboot and (2) generated a POPUPLOG.OS2 error before it froze:
02-14-2021 19:08:14 SYS3175 PID 0165 TID 0001 Slot 006d
C:\SRC\WATHUSKY\HPT\MAKE\HPT.EXE
c0000005
00020de6
P1=00000001 P2=00000d9d P3=XXXXXXXX P4=XXXXXXXX
EAX=00000d9d EBX=00000d9d ECX=00000000 EDX=00000000
ESI=00000002 EDI=00000d9d
DS=0053 DSACC=d0f3 DSLIM=5fffffff
ES=0053 ESACC=d0f3 ESLIM=5fffffff
FS=150b FSACC=00f3 FSLIM=00000030
GS=0000 GSACC=**** GSLIM=********
CS:EIP=005b:00020de6 CSACC=d0df CSLIM=5fffffff
SS:ESP=0053:0008ff9c SSACC=d0f3 SSLIM=5fffffff
EBP=001000f4 FLG=00010246
HPT.EXE 0002:00000de6
But until I reinstall my OS/2 VM so it's stable, I can't tell you what's causing HPT to segfault. I bet it's something stupid though.
--- GoldED+/BSD 1.1.5-b20180707
* Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)
|