CompuServe Messages

prototype question

    09-Nov-92 00:08:10
Fm: Jeff Pratt 76057,3645
To: Doug Walker 71165,2274
Doug, Thanks for the reply. It seems like I may have found my problem, or at least part of it — I changed the data & code options to FAR & FAR & it started working, sort of. Actually the functions were working ok, just seems like the cross-reference list and "whatis" in cpr were wrong. Interstingly enough, now what happens is that the pointers are valid when I look at then IN the functions, but BEFORE the function call if I look at the struct pointers with cpr, it says they're null, which is obviously not correct…. If you don't mind, I'm seeing a new and (of course) worse problem today: I broke up several modules that had contained several functions each in order to use the "gen_protos" option. That worked ok (I think) — got a whole bunch of _proto.h files & they seem to be correct — then I built a link-library & tried to use it. No actual code changes, just excerpted stuff… Anyway I'm getting link error # 509: Unknown hunk type 867 in pass 2. The book says to let you guys know if I get that one, so…. What now? I'd be glad to upload an example of the previous problem if you want… This one will be more difficult because there are 60+ modules involved. I have Library listing & cross-ref (from oml) and also dumpobj output for my library — if you can suggest anything to look for or try I'd be most appreciative.