[ 89%] Built target rtt_esp-idf
Consolidate compiler generated dependencies of target rtt_Filesystem
[ 89%] Building C object CMakeFiles/rtt_Filesystem.dir/home/lzx/myrtt/rt-thread/components/dfs/dfs_v1/filesystems/devfs/devfs.c.obj
/home/lzx/myrtt/rt-thread/components/dfs/dfs_v1/filesystems/devfs/devfs.c: In function 'dfs_device_fs_getdents':
/home/lzx/myrtt/rt-thread/components/dfs/dfs_v1/filesystems/devfs/devfs.c:363:12: error: 'struct dirent' has no member named 'd_namlen'; did you mean 'd_name'?
363 | d->d_namlen = RT_NAME_MAX;
| ^~~~~~~~
| d_name
/home/lzx/myrtt/rt-thread/components/dfs/dfs_v1/filesystems/devfs/devfs.c:364:10: error: 'struct dirent' has no member named 'd_reclen'
364 | d->d_reclen = (rt_uint16_t)sizeof(struct dirent);
| ^~
make[2]: *** [CMakeFiles/rtt_Filesystem.dir/build.make:76: CMakeFiles/rtt_Filesystem.dir/home/lzx/myrtt/rt-thread/components/dfs/dfs_v1/filesystems/devfs/devfs.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:181: CMakeFiles/rtt_Filesystem.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
lzx@DESKTOP-EPJK785 ~/myrtt/rt-thread/bs
RT-Thread Version
master
Hardware Type/Architectures
ESP32C3
Develop Toolchain
GCC
Describe the bug
Other additional context
请问这种情况是需要自己写个兼容层么?感觉工作量好大啊
No response