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)? What version of sdcc are you using? Try sdcc -v to find out. Best regards, Raphael ------------------------------------------------------------------------------ _______________________________________________ Sdcc-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sdcc-user
