Hello! I am writing a Palm App using CW8 and although the active code is correct, it is not compiling. I am getting some strange linking error when I'm compiling. The two error messages are:
StartupCode.c: "__Startup__' 16-bit code reference to 'PilotMain' is out of range. Main.c: 'AppStart' 16-bit code reference to 'initDataTable' is out of range. In the code, I call 3 unrelated procedures, A, B, and C. If I call any two of the three, the code compiles and links successfully. If I call all 3, it won't compile/link. If I call A three times, it won't compile/link. If I call A four times, I get even more error messages along the vein of the Main.c error above, claiming more data structures are out of range. Does anyone have any idea what is going on? I don't know if I am running into a memory problem or a resource problem or what. I have tried setting the optimization bar in CW8 to max and although that helps in some instances, it still won't let me call all three procedures. I have all the source code in one big .c file with about 6 .h files and 1 .rcp. The code is currently 3000 active lines with another 1500 commented out and I do have some big data structures. Any help would be greatly appreciated! THANK YOU! Ray -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
