UPGRADE YOUR BROWSER

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# 54999

14.5 EDK, SDK - ARM Compilation fails on imported C++ applications in SDK

Description

If I import existing C++ ARM applications into SDK after the Build All or Clean All task is run in the project, error messages similar to the following appear in the SDK console:

Building target: simple_cpp_0.elf
Invoking: ARM g++ linker
arm-xilinx-eabi-g++ -Wl,-T -Wl,../src/lscript.ld -L../../cpp_bsp_0/ps7_cortexa9_0/lib -o "simple_cpp_0.elf"  ./src/main.o   -Wl,--start-group,-lxil,-lgcc,-lc,-lstdc++,--end-group
/proj/xbuilds/2013.1_0315_1/installs/lin64/SDK/2013.1/gnu/arm/lin/bin/../lib/gcc/arm-xilinx-eabi/4.7.2/../../../../arm-xilinx-eabi/bin/ld: cannot find -lxil
collect2: error: ld returned 1 exit status
make: *** [simple_cpp_0.elf] Error 1

How can I resolve this issue?

解决方案

To work around this issue, right-click on the BSP in the Project Explorer view in SDK, and select Build Project as shown in the image below:

build_project.png
build_project.png

AR# 54999
创建日期 03/20/2013
Last Updated 06/03/2013
状态 Active
Type 综合文章
器件
  • Zynq-7000
Tools
  • EDK - 14.4
  • EDK - 14.5