From: Néstor <nes...@gm...> - 2009-04-07 07:50:54
|
Hi Raphael, On Mon, Apr 6, 2009 at 1:46 PM, Raphael Neider <rn...@we...> wrote: > Hi Nestor, > >> # sdcc -mpic14 -p16f877 --nooverlay >> -I/usr/local/share/sdcc/include/pic/ -I/usr/local/share/sdcc/include/ >> -c temete1.c >> temete1.c:62: warning 85: in function PaintClockTest unreferenced >> function argument : 'x' >> temete1.c:62: warning 85: in function PaintClockTest unreferenced >> function argument : 'y' >> temete1.asm:499:Error [115] Duplicate label or redefining symbol that >> cannot be redefined. (_$_000021) >> make: *** [all] Error 1 > > I cannot reproduce the problem on my box with the (incomplete) code you > provided (the included headers are missing). > When substituting declarations for the external functions, I only get the > first two warnings, no error. > The label _$_000021 is rather strange and does not look like any label the > PIC ports would emit. > Could you post the complete .asm file (or mail it to me) along with all > files required to build the project --- possibly in a compressed archive > (.zip, .tar.gz, .tar.bz2; no .rar, please)? Yes, of course. Here it is attached. You only have to do 'make' on the project. Please, note that you need Python to generate some stuff. And that everything's very dirty and unusable yet. > > What version of sdcc are you using? Try sdcc -v to find out. My SDCC version: SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.8.5 #5276 (Nov 26 2008) (UNIX) > > Best regards, > Raphael Thank you for taking the time! > > ------------------------------------------------------------------------------ > _______________________________________________ > Sdcc-user mailing list > Sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-user > |