We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 44289

13.2 EDK - Cannot find boot.o


When I build my design in SDK, even with an example application, I receive the following error message:

**** Build of configuration Debug for project hello_world_0 ****
make all
Building file: ../src/helloworld.c
Invoking: PowerPC gcc compiler powerpc-eabi-gcc -Wall -O0 -g3 -c -fmessage-length=0 -I../../hello_world_bsp_0/ppc405_0/include -MMD -MP -MF"src/helloworld.d" -MT"src/helloworld.d" -o"src/helloworld.o" "../src/helloworld.c" ../src/helloworld.c:23:19: warning: stdio.h: No such file or directory
Finished building: ../src/helloworld.c
../src/helloworld.c: In function main:

../src/helloworld.c:30: warning: implicit declaration of function print
Building file: ../src/platform.c
/work/Xilinx/13.1/ISE_DS/EDK/gnu/powerpc-eabi/lin64/powerpc-eabi/bin/../../powerpc-eabi/bin/ld: cannot find boot.o
Invoking: PowerPC gcc compiler
collect2: ld returned 1 exit status
powerpc-eabi-gcc -Wall -O0 -g3 -c -fmessage-length=0 -I../../hello_world_bsp_0/ppc405_0/include -MMD -MP -MF"src/platform.d" -MT"src/platform.d" -o"src/platform.o" "../src/platform.c"
make: *** [hello_world_0.elf] Error 1
Finished building: ../src/platform.c


This happens when your system has the GCC_EXEC_PREFIX variable set, even if it points to the [powerpc-eabi]/[mb]-gcc directory in the Xilinx install directory. Unsetthis environment variable, re-source the settings[32]/[64].(c)sh, restart SDK, and clean your project to avoid this error.
AR# 44289
Date 12/15/2012
Status Active
Type General Article
  • EDK - 12.1
  • EDK - 12.2
  • EDK - 12.3
  • More
  • EDK - 12.4
  • EDK - 13.1
  • EDK - 13.2
  • EDK - 13.3
  • Less
Page Bookmarked