Hi,
Please help me again.
I'm using the SDCC compiled with borland and I'm tryng to compile following :
 
#include <at89x2051.h>
#include <_startup.c>
 
void main(void){
 unsigned char j;
 while(1){
  for(j=0;j<8;j++){
   P1 = 1<<j;
  }
 }
}
I get the following errors :
?ASxxxx-Error-<mpq> in line 273 of led8.asm
              <m> multiple definitions error
              <p> phase error: label location changing between passes 2 and 3
              <q> missing or improper operators, terminators, or delimiters
?ASxxxx-Error-<mq> in line 288 of led8.asm
              <m> multiple definitions error
              <q> missing or improper operators, terminators, or delimiters
In the led8.asm I have :
 
line 273 :    C$D:\\sdcc\\include/_startup.c$33$1$1 ==.
                 XG$_sdcc_external_startup$0$0 ==.
                 ret
line 288 :    C$D:\\sdcc\\include/_startup.c$38$1$1 ==.
                 XG$__sdcc_external_startup$0$0 ==.
                 ret
Is this an bug ? It shoudn't be something like :C$D:\\sdcc\\include\\_startup.c
 
Thanks,
Daniel