Page 1 of 1

AARGB3 and other symbols

PostPosted: Mon Mar 27, 2006 11:17 am
by marco
1) I want to tell to support team that this and other symbols (expecially used in math functions) became reserved with the last update of MPLAB-C18. Microchip replaced these symbols in their source files adding in front to them 2 underscore characters (AARGB3 --> __AARGB3).
This change cause the linker throw error linking with some Salvo LE libs because symbols are not founded.
I found a very complex and unsafe workaround so please consider to solve.

2) Any news about release of extended mode compiled libraries?

Thank you

Marco


Re: AARGB3 and other symbols

PostPosted: Mon Mar 27, 2006 11:48 am
by aek
1) I can see no reason why Salvo would ever reference anSFR like AARGB3 anyway ... what Salvo library module is referencing them?

Are you sure this isn't simply the issue with the new linker? We have issue new libraries for use with the new linker.

2) That's a good question. We have just released the initial Salvo port to the PIC24 and dsPIC targets ... we may try to get extended-mode libraries built for the next release of Salvo for PICmicro(R) MCUs.

------------------


Re: AARGB3 and other symbols

PostPosted: Tue Mar 28, 2006 11:10 am
by marco
The lib is slc18lfa.lib (v3 folder specific for v3 compiler and v4 linker) contains tick.o, in this file there is a reference to AARGB3 symbol; may be that this reference was implicitly done by a math usage and so potentially in a lot of .o files .

I am happy about pic24 version, I plan to use it in this year.

Ciao

Marco


Re: AARGB3 and other symbols

PostPosted: Fri Apr 14, 2006 12:59 am
by aek
OK, a Salvo user at JCI has reported that these new libraries no longer have problems with AARGB3, etc.

So the bottom line is that they needed to be rebuilt with the newest version of the compiler ... that's all. Salvo Pro users can do this themselves using the Makefiles that are included with the Salvo source files.

------------------


Re: AARGB3 and other symbols

PostPosted: Fri Apr 14, 2006 10:48 am
by aek
We have posted new libraries (using v3.02 of the mPLAB-C18 compiler) to the download areas.

We were unable to reproduce the problem here, but we are able to build successfully using 3.02 and the new libraries.

If someone could confirm that all is working, I'd appreciate it.

------------------


Re: AARGB3 and other symbols

PostPosted: Fri Apr 21, 2006 10:51 am
by marco
Ok the new recompiled libs clear the problem.

Ciao

Marco