getting linker error while using MC9S12XDP512 boards please help me in solving this tricky problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

getting linker error while using MC9S12XDP512 boards please help me in solving this tricky problem

1,430 Views
saurav99
Contributor I
Hi All,
 
I am using MC9S12XDP512 boards with Code Warrior version V4.6.
I am getting linker error L1100:segments.absseg436(0X268) and .absseg651(0X268) overlap
I am getting linker error L1100:segments.absseg438(0X26A) and .absseg652(0X26A) overlap
link failed is the error.
 
why this kind of error is coming what is the cause of this error can any one help me in solving this tricky problem.It seems to be tricky every thing right and every thing got compiled no errors but this strange linker problem what might be the cause.
 
If any one helps me in getting solved this problem it would be of great help to me and great learning fom you for me.

Thanks in advance,
 
Thanks,
Saurav99
Labels (1)
0 Kudos
1 Reply

340 Views
CompilerGuru
NXP Employee
NXP Employee
As tip, search this forum for L1100.

Basically the linker tells you that there are two objects at 0X268 address. One is probably the PTJ register defined in mc9s12xdp512.c, the other one, well dont know.
Basically you apear to have in your code

unsigned char whatever@0x268;

and somewhere else

unsigned char anotherThing@0x268;

Could also be that one of the definitions is a asm ORG section.

Daniel
0 Kudos