Dear all: I have a big porting application. At first,I only create a single segment project.I found it must be devided into multi segment when linking. Later I create a new target with unchecked a single link in 68k linker and make it as default project. 68k Processor -->Code Model setting: Smart. I drag all other files into segment 2 excluding .rsrc, *.lib and relevant with pilotmain. Then, segment 2 is bigger than 64k when linking. Now, There are twenty segments in my project. Linking errors are as follows. 1 _RuntimeModule_: Near data segment is bigger than 64k 2 PalmOS_GlobalDestructor: '_destroy_global_chain' 16-bit data reference to '_global_destructor_chain' is out of range 3 PalmOS_Startup.c: '_Startup_' 16-bit data reference to '_exit_jump_buf_' is out of range 4 PalmOS_Startup.c: '_LoadAndRelocate_' 16-bit data reference to '_segtable_' is out of range 5 CSS.c: 'GetPExtension' 16-bit data reference to 'CSSList' is out of range ....
The files after the fifth are my own files. I wonder how to solve the four errors. In the fifth error, GetPExtension is a function and CSSList is a variable. What should I do? Thanks! __________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
