[comp.sources.d] Crypt Breakers Workbench under SCO xenix

rbarrell@vlink01.UUCP (Robert Barrell) (11/10/89)

     Recently, I began to experiment with getting the Crypt Breakers Workbench
to compile for SCO xenix286.  At first, I found a few variable declarations in
stat.c which needed to be changed to overcome DOMAIN errors for log10() and
sqrt(), but those have been corrected.  Also, I had to set -Mlet32 so the linker
wouldn't complain about DGROUP being larger than 64K.
     Now that cbw DOES compile successfully, it won't, quite, execute as
successfully.  The reading in of the various (single, bigram, and trigram) stats
seems to work okay, but as soon as the program gets to "Initializing terminal",
it dumps core.  Upon examining all the .c files, I notice that, even though the
program uses curses, it makes no use, whatsoever, of initscr().  Thinking that
this could be the problem, I placed a call to initscr() within the set_term()
function, in the terminal.c module.  When everything is recompiled and linked,
I get the error: "Fixup overflow........".  The manual lists four possible
causes for this error, but the only one that seems to make any sense to me is
"(1) A group is larger than 64K bytes", but I thought I had taken care of that
with the -Mlet32.
     Does anyone have any ideas?  Any familiarity with cbw?  Also, what is the
latest version and patchlevel of cbw?  Please respond by mail.

--
------------------------------------------------------------------------------
     Robert Barrell - rbarrell@vlink01
     "Hodgepodge" - Sysop of Milo's Meadow - A Citadel/UX BBS
     215-323-0497 - 300/1200/2400 - 24hrs. - login as "bbs"
------------------------------------------------------------------------------