"Marcio Alexandroni" <[EMAIL PROTECTED]> wrote in message news:77142@palm-dev-forum... > > Hello, > > I have an application with 2 segments that compiles fine but when linking, > CW7 issues an error that some functions in a specific source '' has 16 bit > reference to non-code symbol .....''. > > I use the same code in other source files, does anyone know what does it > mean?
This will happen if you've used "#pragma pcrelconstdata on" and try to reference a constant global variable from a segment in which it was not defined. This is because the linker doesn't support data references from segment to segment -- you can only reference data in your segment or in the data space. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
