TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Michael Pierce
from: andrew clarke
date: 2021-02-18 11:45:00
subject: Static code analysis

On 2021-02-17 14:14:36, Michael Pierce (1:105/81) wrote to andrew clarke:

 MP> Thought I'd pass along status and also importantly what it took to get
 MP> to this point

 MP> first, I was using what I thought was curren version of open-watcom from
 MP> sourceforge.net - found more recent version from github, applied
 MP> that got the exact same error - so uninstalled, reboot, re-install,
 MP> re-compile, still got same error - had to uninstall, reboot, tried to
 MP> delete c:\watcom folder and all subfolders - got error  - turns out had
 MP> to unlock nmpbind.exe (in c:\watcom\binp) did that, deleted folder,
 MP> rebooted, re-installed, rebooted, recompiled, this time everything
 MP> compiled

 MP> I do hope who ever is working on open-watcom is reading this.. so they
 MP> can fix that problem

The OS/2 installer probably has NMPBIND.EXE loading from CONFIG.SYS, which then runs in the background. You don't actually need NMPBIND.EXE running for the compiler to work though.

I prefer to untar ow-snapshot.tar.gz to D:\WATCOM without running the installer, so my CONFIG.SYS stays unmodified.

I have an OS/2 .cmd file that sets the minimum envvars that wcl386 needs:

set WATCOM=d:\watcom
set PATH=%WATCOM%\binp;%PATH%
set BEGINLIBPATH=%WATCOM%\binp\dll;%BEGINLIBPATH%
set INCLUDE=%WATCOM%\h;%WATCOM%\h\os2

 MP> still not out of the woods yet though - now getting a different error

 MP> hpt toss scan pack
 MP> SMAPI ERROR: wrongly sized subfield occured!

 MP> any ideas?

Not good. Possibly a corrupt JAM base?

I wouldn't expect the OW2.0 port to have caused it, but hasn't been tested much, so beware.

structrw.c-        if(pbuf + JAM_SF_HEADER_SIZE + size > limit)
structrw.c-        /* it means that subfield claims to be longer
structrw.c-           than header says. can't be. */
structrw.c-        {
structrw.c-            /* just break, ideally there shall be a setting for lax treatment of messagebase */
structrw.c:            printf("SMAPI ERROR: wrongly sized subfield occured!\n");
structrw.c-            break;
structrw.c-        }

--- GoldED+/BSD 1.1.5-b20180707
        
* Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.