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);
页:
[1]