I went ahead and broke up the code into multiple sections according to the instructions at http://prc-tools.sourceforge.net/doc/prc-tools_3.html#SEC17. I created a section called "handlers" and put all of the form handlers in that section. Again it compiles, but on linking, I get the following errors. Does anyone know what I did wrong?
ClueHints.o(.text+0x3f10):ClueHints.c: undefined reference to `__text__handlers' ClueHints.o(.text+0x3f98):ClueHints.c: undefined reference to `__text__handlers' ClueHints.o(.text+0x3fc8):ClueHints.c: undefined reference to `__text__handlers' ClueHints.o(.text+0x4200):ClueHints.c: undefined reference to `__text__handlers' ClueHints.o(.text+0x422e):ClueHints.c: undefined reference to `__text__handlers' ClueHints.o(.text+0x425c):ClueHints.c: more undefined references to `__text__handlers' follow ClueHints.o(handlers+0xca):ClueHints.c: undefined reference to `__text__' ClueHints.o(handlers+0x1f4):ClueHints.c: undefined reference to `__text__' ClueHints.o(handlers+0x220):ClueHints.c: undefined reference to `__text__' ClueHints.o(handlers+0x4de):ClueHints.c: undefined reference to `__text__' ClueHints.o(handlers+0x690):ClueHints.c: undefined reference to `__text__' ClueHints.o(handlers+0x84e):ClueHints.c: more undefined references to `__text__' follow collect2: ld returned 1 exit status make: *** [ClueHints] Error 1 Thanks, Martn -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
