Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
RT-Thread一般讨论
RT-Thread MDK环境下如何使用JFFS文件系统
发布于 2013-06-01 16:15:21 浏览:3040
订阅该版
在RT-thread 1.1.0的基础上增加JFFS2的文件系统,在工程中增加了相应的代码,但是在编译的时候许多文件找不到。这些文件似乎是LINUX的,请问如何处理。需要切换到LINUX平台用GCC开发吗? ..\..\components\dfs\filesystems\jffs2\src\fs-ecos.c(16): error: #5: cannot open source input file "linux/kernel.h": No such file or directory ..\..\components\dfs\filesystems\jffs2\src\fs-ecos.c: #include
..\..\components\dfs\filesystems\jffs2\src\fs-ecos.c: ^ ..\..\components\dfs\filesystems\jffs2\src\fs-ecos.c: ..\..\components\dfs\filesystems\jffs2\src\fs-ecos.c: 0 warnings, 1 error compiling gc.c... ..\..\components\dfs\filesystems\jffs2\src\gc.c(14): error: #5: cannot open source input file "linux/kernel.h": No such file or directory ..\..\components\dfs\filesystems\jffs2\src\gc.c: #include
..\..\components\dfs\filesystems\jffs2\src\gc.c: ^ ..\..\components\dfs\filesystems\jffs2\src\gc.c: ..\..\components\dfs\filesystems\jffs2\src\gc.c: 0 warnings, 1 error compiling gcthread.c... ..\..\components\dfs\filesystems\jffs2\src\gcthread.c(13): error: #5: cannot open source input file "linux/kernel.h": No such file or directory ..\..\components\dfs\filesystems\jffs2\src\gcthread.c: #include
..\..\components\dfs\filesystems\jffs2\src\gcthread.c: ^ ..\..\components\dfs\filesystems\jffs2\src\gcthread.c: ..\..\components\dfs\filesystems\jffs2\src\gcthread.c: 0 warnings, 1 error compiling malloc-ecos.c... ..\..\components\dfs\filesystems\jffs2\src\malloc-ecos.c(14): error: #5: cannot open source input file "linux/kernel.h": No such file or directory ..\..\components\dfs\filesystems\jffs2\src\malloc-ecos.c: #include
..\..\components\dfs\filesystems\jffs2\src\malloc-ecos.c: ^ ..\..\components\dfs\filesystems\jffs2\src\malloc-ecos.c: ..\..\components\dfs\filesystems\jffs2\src\malloc-ecos.c: 0 warnings, 1 error compiling nodelist.c... ..\..\components\dfs\filesystems\jffs2\src
odelist.c(14): error: #5: cannot open source input file "linux/kernel.h": No such file or directory ..\..\components\dfs\filesystems\jffs2\src
odelist.c: #include
..\..\components\dfs\filesystems\jffs2\src
odelist.c: ^ ..\..\components\dfs\filesystems\jffs2\src
odelist.c: ..\..\components\dfs\filesystems\jffs2\src
odelist.c: 0 warnings, 1 error compiling nodemgmt.c... ..\..\components\dfs\filesystems\jffs2\src
odemgmt.c(14): error: #5: cannot open source input file "linux/kernel.h": No such file or directory ..\..\components\dfs\filesystems\jffs2\src
odemgmt.c: #include
..\..\components\dfs\filesystems\jffs2\src
odemgmt.c: ^ ..\..\components\dfs\filesystems\jffs2\src
odemgmt.c: ..\..\components\dfs\filesystems\jffs2\src
odemgmt.c: 0 warnings, 1 error compiling read.c... ..\..\components\dfs\filesystems\jffs2\src ead.c(14): error: #5: cannot open source input file "linux/kernel.h": No such file or directory ..\..\components\dfs\filesystems\jffs2\src ead.c: #include
..\..\components\dfs\filesystems\jffs2\src ead.c: ^ ..\..\components\dfs\filesystems\jffs2\src ead.c: ..\..\components\dfs\filesystems\jffs2\src ead.c: 0 warnings, 1 error compiling readinode.c... ..\..\components\dfs\filesystems\jffs2\src eadinode.c(14): error: #5: cannot open source input file "linux/kernel.h": No such file or directory ..\..\components\dfs\filesystems\jffs2\src eadinode.c: #include
..\..\components\dfs\filesystems\jffs2\src eadinode.c: ^ ..\..\components\dfs\filesystems\jffs2\src eadinode.c: ..\..\components\dfs\filesystems\jffs2\src eadinode.c: 0 warnings, 1 error compiling scan.c... ..\..\components\dfs\filesystems\jffs2\src\scan.c(13): error: #5: cannot open source input file "linux/kernel.h": No such file or directory ..\..\components\dfs\filesystems\jffs2\src\scan.c: #include
..\..\components\dfs\filesystems\jffs2\src\scan.c: ^ ..\..\components\dfs\filesystems\jffs2\src\scan.c: ..\..\components\dfs\filesystems\jffs2\src\scan.c: 0 warnings, 1 error compiling write.c... ..\..\components\dfs\filesystems\jffs2\src\write.c(14): error: #5: cannot open source input file "linux/kernel.h": No such file or directory ..\..\components\dfs\filesystems\jffs2\src\write.c: #include
..\..\components\dfs\filesystems\jffs2\src\write.c: ^ ..\..\components\dfs\filesystems\jffs2\src\write.c: ..\..\components\dfs\filesystems\jffs2\src\write.c: 0 warnings, 1 error Target not created
查看更多
5
个回答
默认排序
按发布时间排序
prife
2013-06-01
这家伙很懒,什么也没写!
用SCONS编译,不要自己手动添加代码。
Junping1982
2013-06-01
这家伙很懒,什么也没写!
如果在WIN平台应如何办呢,有MDK下的解决办法吗?
bernard
2013-06-01
这家伙很懒,什么也没写!
>如果在WIN平台应如何办呢,有MDK下的解决办法吗? --- 上面已经说得非常清楚了吧,使用:scons 不要发帖不看回复啊
Junping1982
2013-06-01
这家伙很懒,什么也没写!
谢谢您,周一我试下。祝您周未愉快
撰写答案
登录
注册新账号
关注者
0
被浏览
3k
关于作者
Junping1982
这家伙很懒,什么也没写!
提问
5
回答
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
ART-Pi2快速上手--点灯
2
ART-Pi2移植CMSIS-DAP(基于CherryUSB协议栈)
3
RT-thred的stm32h723对应bsp包CubeMX添加其他外设报错
4
RT-Thread中的time溢出问题,时间戳溢出,解决方法
5
ART-PI使用env驱动ETH网卡,pc和板子可以ping通
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
DMA
USB
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
rt-smart
FAL
I2C_IIC
UART
ESP8266
cubemx
WIZnet_W5500
ota在线升级
PWM
BSP
flash
freemodbus
packages_软件包
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
编译报错
中断
Debug
rt_mq_消息队列_msg_queue
keil_MDK
ulog
SFUD
msh
C++_cpp
MicroPython
本月问答贡献
RTT_逍遥
10
个答案
3
次被采纳
xiaorui
3
个答案
2
次被采纳
winfeng
2
个答案
2
次被采纳
三世执戟
8
个答案
1
次被采纳
KunYi
8
个答案
1
次被采纳
本月文章贡献
catcatbing
3
篇文章
5
次点赞
lizimu
2
篇文章
8
次点赞
swet123
1
篇文章
4
次点赞
Days
1
篇文章
4
次点赞
YZRD
1
篇文章
2
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部