I believe the your main routine needs to be in the first segment, try moving it closer to the beginning of your source file. Do you have a very large function? Try breaking it up or moving other routines around within your project. I usually break up my routines into different modules sorted by function, keeping PilotMain in the first module near the beginning.
----- Original Message ----- From: "Anders Rahm-Nilzon" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, November 18, 2003 9:02 AM Subject: Link Error: PalmOS_Startup.cpp: '_Startup_' 16-bit code referance to 'PilotMain' is out of range > Hi, > > I get this linker error that I can't solve. I've tried to set the code model > to smart for the 68k processor in Code Generation but it didn't make this > error to go away :( Is there anoyone that's having a clue how I could solve > this problem ??? > \Anders R-N > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
