zynq -- cannot find -lxil

摘要:
说明如果在BuildAllorCleanAll任务之前将现有的C++ARM应用程序导入SDK,则错误消息类似于SDK控制台中的以下内容:构建目标:simple_ cpp_0.elf调用:ARM

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?

Solution

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

免责声明:文章转载自《zynq -- cannot find -lxil》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇上位机开发之三菱Q系列PLC通信实践CentOS 6.3下Samba服务器的安装与配置方法(图文详解)下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

ZYNQ:使用PetaLinux打包 BOOT.BIN、image.ub

说明 个人还是比较喜欢灵活去管理各个部分的源码。 有关文章:ZYNQ:PetaLinux提取Linux和UBoot配置、源码 编译Linux 取得Linux源代码和配置后,可以在其中执行make,编译Linux。 注意,编译前请导入PetaLinux环境变量: 设置和导出ARCH为arm或者arm64; 设置和导出CROSS_COMPILE,比如aar...

【Zynq UltraScale+ MPSoC解密学习7】Zynq UltraScale+的PMU

一、简单介绍1.1 概念PMU,platform measurement unit,平台管理单元。很多人会将它当做power measurement unit(电源管理单元)的缩写,认为就是管理电源和功耗的。其实PMU除了电源管理功能,还具有其他功能。官方描述如下: 系统启动前的初始化 电源管理 软件测试库执行(可选) 系统错误处理 1.2 总览在...

ZYNQ:使用SDK打包BOOT.BIN、烧录BOOT.BIN到QSPI-FLASH

打包程序为BOOT.BIN 注意,做好备份是一个好习惯。 Vivado Vivado 添加QSPI Flash的IP,重新编译; Launch SDK(推荐方法);或者用SDK指定一个workspace,根据hdf建立BSP。 SDK 新建fsbl-1 这个fsbl用于启动程序。 File - New - Application Project Proje...

Zynq-7000 MiZ701 SOC硬件使用手册

一、整体概述 4 二、应用领域及人群 4 三、硬件配置 4 BANK资源分配 6 四、MiZ701开发板功能描述 7 4.1 全编程SOC(All Programmable SoC) 7 4.2 内存(Memory) 7 4.2.1 DDR3 7 4.2.2 PROM SPI FALSH 8 4.2.3 TF 卡 9 4.3 USB...