Subj : re: undefined symbol _Rxframeind & _Rxtype
To   : Mvan Le
From : Scott Dudley
Date : Mon Jan 18 2010 09:38 am

I am pretty sure that all of the final Max 3.x builds were done under OS/2, so
your mileage with Win XP may vary.

The "_" prefix comes from the standard convention used by WATCOM C: variables
with external scope automatically have a "_" prefix added. In other words,
don't worry about it.

I don't recall exactly which version of the source is out there, but the last
one I have at my disposal has Rxframeind and Rxtype both defined and used in
prot/zm.c. I don't know if I still even have my WC discs lying around anymore,
so I am not at liberty to try compilation...but if I had to hazard a guess, I'd
say that there appear to be conflicting declarations for those two variables.

In ZM.H,the declaration is "extern Rxframeind", whereas it is "static int
Rxframeind" in ZM.C. "extern" implies the opposite of "static", so maybe if you
delete the lines containing the extern references for those variables in
zmodem.h and zsjd.h, the compiler may be happy.

Just keep in mind that I haven't looked at this code in a very long time, so
take that advice for what it's worth!

Scott

--- Maximus/2 2.02
* Origin: -=( The TechnoDrome )=- (1:382/61)