cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
haichithunta
Observer
Observer
2,966 Views
Registered: ‎03-02-2010

compilation error

Jump to solution
**** Full rebuild of configuration Debug for project ledt ****

make clean all
rm -rf main.o  main.d  ledt.elf
powerpc-eabi-gcc -c -I../../ppc405_0_sw_platform/ppc405_0/include -g -O0 -omain.o ../main.c
 
Building target: ledt.elf
powerpc-eabi-gcc -o ledt.elf main.o     -L../../ppc405_0_sw_platform/ppc405_0/lib  
Finished building: ledt.elf

************** Validating ELF File **************

Validating ELF Section Addresses with Hardware Address Map...
elfcheck -noheader -mhs C:/Xilinx/system1.mhs -p xc4vfx60ff1152-12 -xmpdir C:/Xilinx -pe ppc405_0 ledt.elf
ERROR:MDT - Section .rodata located at address 0xFFFF0430 does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .sdata2 located at address 0xFFFF0434 does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .sbss2 located at address 0xFFFF0434 does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .data located at address 0xFFFF0434 does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .got1 located at address 0xFFFF052C does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .got2 located at address 0xFFFF052C does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .ctors located at address 0xFFFF0548 does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .dtors located at address 0xFFFF0550 does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .fixup located at address 0xFFFF0558 does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .got located at address 0xFFFF0558 does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .eh_frame located at address 0xFFFF0558 does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .jcr located at address 0xFFFF0560 does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .gcc_except_table located at address 0xFFFF0564 does not map
   to any memory found in the hardware design.
ERROR:MDT - Section .sdata located at address 0xFFFF0564 does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .sbss located at address 0xFFFF056C does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .bss located at address 0xFFFF056C does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .stack located at address 0xFFFF0588 does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .heap located at address 0xFFFF1590 does not map to any
   memory found in the hardware design.
ERROR:MDT - elfcheck failed!
INFO:MDT - Try using the linker script generation tools to generate an ELF that
   maps well to your hardware design.
make: *** [ledt.elf] Error 2
Build complete for project ledt

0 Kudos
1 Solution

Accepted Solutions
archu54in
Contributor
Contributor
3,727 Views
Registered: ‎08-04-2009

Guess it is the problem with memory mapping ..

 

 

1) Check the linker script and map the sections to the memory available

2) Check the Addresses tab to see if the external memory controller is mapped to appropriate address ...

 

 

May be this helps

 

archu

Regards
Archu

View solution in original post

0 Kudos
2 Replies
archu54in
Contributor
Contributor
3,728 Views
Registered: ‎08-04-2009

Guess it is the problem with memory mapping ..

 

 

1) Check the linker script and map the sections to the memory available

2) Check the Addresses tab to see if the external memory controller is mapped to appropriate address ...

 

 

May be this helps

 

archu

Regards
Archu

View solution in original post

0 Kudos
haichithunta
Observer
Observer
2,951 Views
Registered: ‎03-02-2010

thamks

i solve the problem that is linker scripts problem

0 Kudos