Hi everyone.

I am trying to build a project that is giving me the following errors when I
try to run it...

"Link Error: __RuntimeModule__: Near data segment is bigger than 64K."

The other error messages have to do with some of my functions not being
within range of a function it is calling.  I have handled those types of
errors before by simply moving the questionable files closer to each other.
Anyway...

I had one large segment when I first started to get this error message about
running over 64K.  As a result, I created four more data segments and broke
them up into the following categories, which have the following code(C) and
data(D) sizes:

Code Segment        C 47K    D 2K
Data Segment 1        C 0K    D 37K
Data Segment 2        C 0K    D 29K
Resource Segment    C 0K    D 0K
Library Segment        C 30K    D 471b

Even though I broke the initial segment up, I am still receiving the link
error.  What do I have to do to fix this?  Should I not have placed the
library files in their own segment?  Are all the segment sizes, when added
up, not allowed to exceed 64K?  If that is the case, is there no way around
it and how do large programs like Dragon Bane and Kyles Quest, for example,
get around that?  Surely they must be over 64K!

Thanx and regards,

Daniel Suleski :->
TD, Mysticware Inc.
www.mysticware.com



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to