Firefly开源社区

标题: rk3308_linux_release_v1.5.0a_20220402 编译报错 [打印本页]

作者: tangxiaozhu666    时间: 2022-11-3 20:48
标题: rk3308_linux_release_v1.5.0a_20220402 编译报错
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);


tchip_askquestions

log1.zip

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






欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1