Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
RT-Thread一般讨论
BSP里面 pic32ethernet 编译不过去
发布于 2017-11-27 23:31:54 浏览:2435
订阅该版
BSP里面 pic32ethernet 编译不过去 用MPLAB X IDE V4.1 编译器XC32 V1.44 编译不过去。 刚接触rt-thread 一直没找出问题。 项目中用的PIC32MX330/350/370/430/450/470这个系列的芯片,想直接上rt-thread3.0,可就这么一个参考, 还编译不过去,还搞不起问题出在哪里,知道的高手清不吝赐教。
查看更多
4
个回答
默认排序
按发布时间排序
sdwys
2017-11-27
这家伙很懒,什么也没写!
``` ../board.c:16:18: fatal error: plib.h: No such file or directory #include
^ compilation terminated. In file included from ../../../include/rtthread.h:37:0, from ../../../libcpu/mips/pic32/exceptions.c:64: ../../../include/rtdef.h:128:0: warning: "va_start" redefined [enabled by default] #define va_start(v,l) __builtin_va_start(v,l) ^ In file included from c:program filesmicrochipxc32v1.44pic32mxincludestdio.h:32:0, from c:program filesmicrochipxc32v1.44pic32mxincludesysappio.h:71, from c:program filesmicrochipxc32v1.44pic32mxincludexc-pic32m.h:930, from c:program filesmicrochipxc32v1.44pic32mxincludexc.h:45, from c:program filesmicrochipxc32v1.44pic32mxincludep32xxxx.h:5, from ../../../libcpu/mips/pic32/exceptions.c:40: c:program filesmicrochipxc32v1.44pic32mxincludestdarg.h:109:0: note: this is the location of the previous definition #define va_start(v,l) __builtin_va_start((v),l) ^ In file included from ../../../include/rtthread.h:37:0, from ../../../libcpu/mips/pic32/exceptions.c:64: ../../../include/rtdef.h:129:0: warning: "va_end" redefined [enabled by default] #define va_end(v) __builtin_va_end(v) ^ In file included from c:program filesmicrochipxc32v1.44pic32mxincludestdio.h:32:0, from c:program filesmicrochipxc32v1.44pic32mxincludesysappio.h:71, from c:program filesmicrochipxc32v1.44pic32mxincludexc-pic32m.h:930, from c:program filesmicrochipxc32v1.44pic32mxincludexc.h:45, from c:program filesmicrochipxc32v1.44pic32mxincludep32xxxx.h:5, from ../../../libcpu/mips/pic32/exceptions.c:40: c:program filesmicrochipxc32v1.44pic32mxincludestdarg.h:118:0: note: this is the location of the previous definition #define va_end __builtin_va_end ^ In file included from ../../../include/rtthread.h:37:0, from ../../../libcpu/mips/pic32/exceptions.c:64: ../../../include/rtdef.h:130:0: warning: "va_arg" redefined [enabled by default] #define va_arg(v,l) __builtin_va_arg(v,l) ^ In file included from c:program filesmicrochipxc32v1.44pic32mxincludestdio.h:32:0, from c:program filesmicrochipxc32v1.44pic32mxincludesysappio.h:71, from c:program filesmicrochipxc32v1.44pic32mxincludexc-pic32m.h:930, from c:program filesmicrochipxc32v1.44pic32mxincludexc.h:45, from c:program filesmicrochipxc32v1.44pic32mxincludep32xxxx.h:5, from ../../../libcpu/mips/pic32/exceptions.c:40: c:program filesmicrochipxc32v1.44pic32mxincludestdarg.h:119:0: note: this is the location of the previous definition #define va_arg __builtin_va_arg ^ make[2]: *** [build/default/production/_ext/1472/board.o] Error 1 make[2]: *** Waiting for unfinished jobs.... "C:Program FilesMicrochipxc32v1.44inxc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -DPIC32_STARTER_KIT -I.. -I../../../components/finsh -I../../../include -I. -MMD -MF build/default/production/_ext/1472/board.o.d -o build/default/production/_ext/1472/board.o ../board.c -DXPRJ_default=default -no-legacy-libc nbproject/Makefile-default.mk:520: recipe for target 'build/default/production/_ext/1472/board.o' failed "C:Program FilesMicrochipxc32v1.44inxc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -DPIC32_STARTER_KIT -I.. -I../../../components/finsh -I../../../include -I. -MMD -MF build/default/production/_ext/1273200746/cpuport.o.d -o build/default/production/_ext/1273200746/cpuport.o ../../../libcpu/mips/pic32/cpuport.c -DXPRJ_default=default -no-legacy-libc ../application.c:16:18: fatal error: plib.h: No such file or directory #include
^ compilation terminated. make[2]: *** [build/default/production/_ext/1472/application.o] Error 1 "C:Program FilesMicrochipxc32v1.44inxc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -DPIC32_STARTER_KIT -I.. -I../../../components/finsh -I../../../include -I. -MMD -MF build/default/production/_ext/1472/application.o.d -o build/default/production/_ext/1472/application.o ../application.c -DXPRJ_default=default -no-legacy-libc nbproject/Makefile-default.mk:526: recipe for target 'build/default/production/_ext/1472/application.o' failed "C:Program FilesMicrochipxc32v1.44inxc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -DPIC32_STARTER_KIT -I.. -I../../../components/finsh -I../../../include -I. -MMD -MF build/default/production/_ext/1273200746/exceptions.o.d -o build/default/production/_ext/1273200746/exceptions.o ../../../libcpu/mips/pic32/exceptions.c -DXPRJ_default=default -no-legacy-libc make[2]: Leaving directory 'G:/RTOS/rt-thread-3.0.0/bsp/pic32ethernet/project.X' nbproject/Makefile-default.mk:103: recipe for target '.build-conf' failed make[1]: Leaving directory 'G:/RTOS/rt-thread-3.0.0/bsp/pic32ethernet/project.X' nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed make[1]: *** [.build-conf] Error 2 make: *** [.build-impl] Error 2 编译已失败 (退出值2, 总时间: 21s) ```
aozima
2017-11-28
调网络不抓包,调I2C等时序不上逻辑分析仪,就像电工不用万用表!多用整理的好的文字,比截图更省流量,还能在整理过程中思考。
Microchip 改过的工具链各种奇葩 [s:166]
sdwys
2017-12-01
这家伙很懒,什么也没写!
论坛好冷清啊,自己继续啃去。试了下老的IDE MPLAB IDE v8.87 老编译器编译不过去。 PIC32芯片也不错,工业上应用很稳定的,怎么这么不受待见。
撰写答案
登录
注册新账号
关注者
0
被浏览
2.4k
关于作者
sdwys
这家伙很懒,什么也没写!
提问
3
回答
10
被采纳
0
关注TA
发私信
相关问题
1
有关动态模块加载的一篇论文
2
最近的调程序总结
3
晕掉了,这么久都不见layer2的踪影啊
4
继续K9ii的历程
5
[GUI相关] FreeType 2
6
[GUI相关]嵌入式系统中文输入法的设计
7
20081101 RT-Thread开发者聚会总结
8
嵌入式系统基础
9
linux2.4.19在at91rm9200 上的寄存器设置
10
[转]基于嵌入式Linux的通用触摸屏校准程序
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
CherryUSB的bootuf2配置
2
在用clangd开发RTT吗,快来试试如何简单获得清晰干净的工作区
3
GD32F450 片内 flash驱动适配
4
STM32H7R7运行CherryUSB
5
RT-Smart首次线下培训,锁定2024 RT-Thread开发者大会!
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
USB
DMA
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
I2C_IIC
UART
WIZnet_W5500
ota在线升级
PWM
freemodbus
flash
cubemx
packages_软件包
BSP
潘多拉开发板_Pandora
定时器
ADC
flashDB
GD32
socket
中断
编译报错
Debug
SFUD
rt_mq_消息队列_msg_queue
msh
keil_MDK
ulog
C++_cpp
MicroPython
本月问答贡献
踩姑娘的小蘑菇
7
个答案
2
次被采纳
a1012112796
12
个答案
1
次被采纳
红枫
4
个答案
1
次被采纳
张世争
4
个答案
1
次被采纳
Ryan_CW
4
个答案
1
次被采纳
本月文章贡献
catcatbing
3
篇文章
6
次点赞
lizimu
2
篇文章
7
次点赞
YZRD
2
篇文章
5
次点赞
qq1078249029
2
篇文章
2
次点赞
xnosky
2
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部