I must apologize! I have commented out lines 218, 219, 234 in temete1.c. This is not a good patch indeed (it's just to be able to compile), BECAUSE I can only use one interrupt (since it doesn't distinguish the source of the interrupt). I also ignore if it might have any other drawbacks.
So, please, uncomment lines 218, 219, 234 in temete.c, and compile it again. You will get the error, but that "should" be the correct way. I made this mistake because of the CMS, I'm very sorry. Now, I'm getting some weird hangups when using the application. Specifically, it stops when I use the application (navigating through the menus, selecting or changing some option...) while the countdown is working at the same time. I wonder if it might have to do with the fact that I've made this awful patch to compile, or maybe because of my **poor** implementation of interrupts (no semaphores, so lots of run conditions). Any idea or hint on how to do this properly (maybe some reference to documentation or the like) would be really appreciated. BTW, I'm using Debian Etch. Thank you, Raphael. On Tue, Apr 7, 2009 at 12:12 PM, Raphael Neider <[email protected]> wrote: > Hi Néstor, > >>>> # 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 still cannot reproduce you error, my build succeeds cleanly both with > SDCC #5276 and the most recent version (r5428). > I tried on my IA-32 box running Ubuntu 8.10; what do you use? I'm running > out of ideas ... > > You could try upgrading gputils to the latest release (0.13.7, the > assembler is complaining ...), if that does not help, you could update > your SDCC to 2.9.0 an try again. Besides that, I do not know. Could you > post the temete1.asm file for manual inspection? > > Best of luck, > Raphael > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Sdcc-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sdcc-user > ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Sdcc-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sdcc-user
