Firefly开源社区

打印 上一主题 下一主题

[Linux] rk3308_linux_release_v1.5.0a_20220402 编译报错

20

积分

0

威望

0

贡献

技术小白

积分
20

rk3308_linux_release_v1.5.0a_20220402 编译报错

发表于 2022-11-3 20:48:48      浏览:4593 | 回复:0        打印      只看该作者   [复制链接] 楼主
问题描述及复现步骤:
Ubuntu20.04 系统环境下,编译buildroot固件报错信息如下:

2022-11-03T18:40:53 mksquashfs.c: In function 'create_inode':
2022-11-03T18:40:53 mksquashfs.c:991:24: error: called object 'major' is not a function or function pointer
2022-11-03T18:40:53 991 |   unsigned int major = major(buf->st_rdev);
2022-11-03T18:40:53 |                        ^~~~~
2022-11-03T18:40:53 mksquashfs.c:991:16: note: declared here
2022-11-03T18:40:53 991 |   unsigned int major = major(buf->st_rdev);
2022-11-03T18:40:53 |                ^~~~~
2022-11-03T18:40:53 mksquashfs.c:992:24: error: called object 'minor' is not a function or function pointer
2022-11-03T18:40:53 992 |   unsigned int minor = minor(buf->st_rdev);
2022-11-03T18:40:53 |                        ^~~~~
2022-11-03T18:40:53 mksquashfs.c:992:16: note: declared here
2022-11-03T18:40:53 992 |   unsigned int minor = minor(buf->st_rdev);
2022-11-03T18:40:53 |                ^~~~~
2022-11-03T18:40:53 mksquashfs.c:1015:24: error: called object 'major' is not a function or function pointer
2022-11-03T18:40:53 1015 |   unsigned int major = major(buf->st_rdev);
2022-11-03T18:40:53 |                        ^~~~~
2022-11-03T18:40:53 mksquashfs.c:1015:16: note: declared here
2022-11-03T18:40:53 1015 |   unsigned int major = major(buf->st_rdev);
2022-11-03T18:40:53 |                ^~~~~
2022-11-03T18:40:53 mksquashfs.c:1016:24: error: called object 'minor' is not a function or function pointer
2022-11-03T18:40:53 1016 |   unsigned int minor = minor(buf->st_rdev);
2022-11-03T18:40:53 |                        ^~~~~
2022-11-03T18:40:53 mksquashfs.c:1016:16: note: declared here
2022-11-03T18:40:53 1016 |   unsigned int minor = minor(buf->st_rdev);


log1.zip

538 Bytes, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表