Subj : Static code analysis To : Michael Pierce From : andrew clarke Date : Wed Feb 17 2021 19:10:36 On Tue 2021-02-16 16:17:44, Michael Pierce (1:105/81) wrote to Michael Dukelsky: MP> I got the following to compile: MP> https://github.com/zoomosis/huskylib MP> https://github.com/zoomosis/smapi MP> https://github.com/zoomosis/fidoconf MP> https://github.com/zoomosis/areafix This is my fork. Michael Dukelsky is working on the mainline Husky repo. I haven't included his latest patches in my fork and would prefer my Watcom patches be merged into the mainline Husky code which will make my fork redundant. MP> but hpt did not MP> here is the output of wmake MP> Open Watcom Make Version 2.0beta1 Limited Availability MP> Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved. MP> Source code is available under the Sybase Open Watcom Public License. MP> See http://www.openwatcom.org/ for details. Looking at the above WMake version you're using an old snapshot of OW 2.0. This is the output of a recent version: Open Watcom Make Version 2.0 beta Feb 13 2021 13:37:09 (64-bit) Copyright (c) 2002-2021 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved. Source code is available under the Sybase Open Watcom Public License. See http://www.openwatcom.org/ for details. MP> wcl386 -zq -bt=os2v2 -l=os2v2 -I..\h -I..\..\huskylib MP> -I..\..\fidoconf -I..\..\smapi -I..\..\areafix -Fe=pktinfo.exe MP> ..\src\pktinfo.c ..\src\dupe.c ..\src\pktread.c ..\src\fcommon.c MP> ..\src\global.c ..\..\huskylib\make\huskywco.lib MP> ..\..\fidoconf\make\fconfwco.lib ..\..\smapi\make\smapiwco.lib MP> ..\..\areafix\make\afixwco.lib Error! E2028: gettimeofday_ is an MP> undefined reference gettimeofday() is used by tdelay.c in Huskylib. gnmsgid.exe won't build without it. Evidently that function is missing in your old version of OW2.0, for OS/2 targets at least. So you need to upgrade your copy of OW2.0. After you've done that, do a clean rebuild of HPT for each module. You can create a batch file, eg. MAKEOS2.CMD: cd huskylib\make wmake -h -f makefile.watcom OS2=1 clean wmake -h -f makefile.watcom OS2=1 cd ..\.. cd smapi\make wmake -h -f makefile.watcom OS2=1 clean wmake -h -f makefile.watcom OS2=1 cd ..\.. cd fidoconf\make wmake -h -f makefile.watcom OS2=1 clean wmake -h -f makefile.watcom OS2=1 cd ..\.. cd areafix\make wmake -h -f makefile.watcom OS2=1 clean wmake -h -f makefile.watcom OS2=1 cd ..\.. cd hpt\make wmake -h -f makefile.watcom OS2=1 clean wmake -h -f makefile.watcom OS2=1 --- GoldED+/BSD 1.1.5-b20180707 * Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267) .