完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
我试图按照他们的指南导入ZC702的唯一FreeRTOS示例,它总是失败。
这是2017.2版本中某些升级的结果吗? 将项目导入SDK后,控制台窗口会显示多个问题,例如: 在C:/FreeRTOS/src/FreeRTOSv9.0.0/FreeRTOS/Demo/Common/ethernet/lwip-1.4.0/src/core/init.c:48:0:C: FreeRTOS src FreeRTOSv9中包含的文件中。 0.0 FreeRTOS Demo Common ethernet lwip-1.4.0 src include / lwip / sockets.h:311:8:错误:重新定义'struct timeval'struct timeval {^ ~~~~~~在文件中 包含在c: xilinx sdk 2017.2 gnu aarch32 nt gcc-ARM-none-eabi arm-none-eabi libc usr include sys select.h:26:0,来自c: xilinx sdk 2017.2 gnu aarch32 nt gcc-arm-none-eabi arm-none-eabi libc usr include sys types.h:85,来自c: xilinx sdk 2017.2 gnu aarch32 nt gcc-arm-none-eabi arm-none-eabi libc usr include stdio.h:48,来自C: FreeRTOS src FreeRTOSv9.0.0 FreeRTOS Demo CORTEX_A9_Zynq_ZC702 RTOSDemo src lwIP_Demo lwIP_port include / arch / cc.h:37,来自C: FreeRTOS src FreeRTOSv9.0.0 FreeRTOS Demo Common ethernet lwip-1.4.0 src include / lwip /arch.h:43,来自C: FreeRTOS src FreeRTOSv9.0.0 FreeRTOS Demo Common ethernet lwip-1.4.0 src include / lwip / debug.h:35,来自C: FreeRTOS SRC FreeRTOSv9.0.0 FreeRTOS的 演示 Common ethernet lwip-1.4.0 src include / lwip / opt.h:46,来自C:/FreeRTOS/src/FreeRTOSv9.0.0/FreeRTOS/Demo/Common/ethernet/lwip-1.4.0/ SRC /核心/ INIT.C:39:C:赛灵思 SDK 2017.2 GNU aarch32 NT GCC-臂-NONE-EABI 臂-NONE-EABI libc中的 usr include sys进行 _timeval.h :51:8:注意:最初定义的herestruct timeval {^ ~~~~~~ make:*** [src / lwIP_Demo / lwip-1.4.0 / src / core / init.o]错误 完整的问题清单是: 描述资源路径位置'kill'kit.c / RTOSDemo_bsp / ps7_cortexa9_0 / libsrc / standalone_v5_4 / src第46行的类型转换类型C / C ++问题编号:*** [ps7_cortexa9_0 / libsrc / standalone_v5_4 / src / make.libs]错误2 RTOSDemo_bsp C / C ++ Problemmake:*** [src / lwIP_Demo / lwip-1.4.0 / src / core / init.o]错误1 RTOSDemo C / C ++ Problemmake:由于错误,目标“all”未重新编译。 RTOSDemo_bsp C / C ++ Problemmake [1]:*** [standalone_libs]错误1 RTOSDemo_bsp C / C ++ Problemmake [1]:由于错误,目标`libs'未重新编译。 RTOSDemo_bsp C / C ++'struct timeval'sockets.h /RTOSDemo/src/lwIP_Demo/lwip-1.4.0/src/include/lwip line 311 C / C ++问题的定义问题 这是在我的机器上发生的事情还是一个常见的问题? 以上来自于谷歌翻译 以下为原文 I am trying to import the only FreeRTOS example for ZC702 following their guide and it always fails. Is this a result of some upgrade in the revision 2017.2? After the project is imported to the SDK the console window shows multiple problems like: In file included from C:/FreeRTOS/src/FreeRTOSv9.0.0/FreeRTOS/Demo/Common/ethernet/lwip-1.4.0/src/core/init.c:48:0: C:FreeRTOSsrcFreeRTOSv9.0.0FreeRTOSDemoCommonethernetlwip-1.4.0srcinclude/lwip/sockets.h:311:8: error: redefinition of 'struct timeval' struct timeval { ^~~~~~~ In file included from c:xilinxsdk2017.2gnuaarch32ntgcc-arm-none-eabiarm-none-eabilibcusrincludesysselect.h:26:0, from c:xilinxsdk2017.2gnuaarch32ntgcc-arm-none-eabiarm-none-eabilibcusrincludesystypes.h:85, from c:xilinxsdk2017.2gnuaarch32ntgcc-arm-none-eabiarm-none-eabilibcusrincludestdio.h:48, from C:FreeRTOSsrcFreeRTOSv9.0.0FreeRTOSDemoCORTEX_A9_Zynq_ZC702RTOSDemosrclwIP_DemolwIP_portinclude/arch/cc.h:37, from C:FreeRTOSsrcFreeRTOSv9.0.0FreeRTOSDemoCommonethernetlwip-1.4.0srcinclude/lwip/arch.h:43, from C:FreeRTOSsrcFreeRTOSv9.0.0FreeRTOSDemoCommonethernetlwip-1.4.0srcinclude/lwip/debug.h:35, from C:FreeRTOSsrcFreeRTOSv9.0.0FreeRTOSDemoCommonethernetlwip-1.4.0srcinclude/lwip/opt.h:46, from C:/FreeRTOS/src/FreeRTOSv9.0.0/FreeRTOS/Demo/Common/ethernet/lwip-1.4.0/src/core/init.c:39: c:xilinxsdk2017.2gnuaarch32ntgcc-arm-none-eabiarm-none-eabilibcusrincludesys_timeval.h:51:8: note: originally defined here struct timeval { ^~~~~~~ make: *** [src/lwIP_Demo/lwip-1.4.0/src/core/init.o] Error Complete list of problems is: Description Resource Path Location Type conflicting types for 'kill' kill.c /RTOSDemo_bsp/ps7_cortexa9_0/libsrc/standalone_v5_4/src line 46 C/C++ Problem make: *** [ps7_cortexa9_0/libsrc/standalone_v5_4/src/make.libs] Error 2 RTOSDemo_bsp C/C++ Problem make: *** [src/lwIP_Demo/lwip-1.4.0/src/core/init.o] Error 1 RTOSDemo C/C++ Problem make: Target `all' not remade because of errors. RTOSDemo_bsp C/C++ Problem make[1]: *** [standalone_libs] Error 1 RTOSDemo_bsp C/C++ Problem make[1]: Target `libs' not remade because of errors. RTOSDemo_bsp C/C++ Problem redefinition of 'struct timeval' sockets.h /RTOSDemo/src/lwIP_Demo/lwip-1.4.0/src/include/lwip line 311 C/C++ Problem Is this something happening just on my machine or it's a common issue? |
|
相关推荐
1个回答
|
|
这个页面帮助我解决了这个问题
https://os.mbed.com/users/RyoheiHagimoto/notebook/compiler-error-of-ethernetinterface/ 以上来自于谷歌翻译 以下为原文 This page helped me to solve this problem https://os.mbed.com/users/RyoheiHagimoto/notebook/compiler-error-of-ethernetinterface/ |
|
|
|
只有小组成员才能发言,加入小组>>
2420 浏览 7 评论
2823 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2294 浏览 9 评论
3374 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2461 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
1161浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
584浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
451浏览 1评论
2005浏览 0评论
729浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 08:24 , Processed in 1.216962 second(s), Total 46, Slave 40 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号