您尚未登录。

楼主 #1 2019-08-25 02:11:47

gunge204
会员
注册时间: 2019-08-24
已发帖子: 26
积分: 26

荔枝派zero的linux内核编译错误

按照licheepi zero的“spi系统杂谈”下载和操作,最后编译的时候,有那么几处错误,过不了
第一处:
arm-linux-gnueabihf-gcc: internal compiler error: 已杀死 (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
scripts/Makefile.build:294: recipe for target 'drivers/infiniband/hw/cxgb3/iwch_provider.o' failed
make[4]: *** [drivers/infiniband/hw/cxgb3/iwch_provider.o] Error 4
make[4]: *** 正在等待未完成的任务....

第二处:
scripts/Makefile.build:553: recipe for target 'drivers/infiniband/hw/cxgb3' failed
make[3]: *** [drivers/infiniband/hw/cxgb3] Error 2
scripts/Makefile.build:553: recipe for target 'drivers/infiniband/hw' failed
make[2]: *** [drivers/infiniband/hw] Error 2
make[2]: *** 正在等待未完成的任务....

第三处:
scripts/Makefile.build:553: recipe for target 'drivers/infiniband' failed
make[1]: *** [drivers/infiniband] Error 2
Makefile:988: recipe for target 'drivers' failed
make: *** [drivers] Error 2
make: *** 正在等待未完成的任务....

第四处:
In file included from ./include/uapi/linux/stddef.h:1:0,
                 from ./include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from ./include/uapi/linux/types.h:13,
                 from ./include/linux/types.h:5,
                 from fs/xfs/xfs_linux.h:21,
                 from fs/xfs/xfs.h:32,
                 from fs/xfs/xfs_super.c:19:
In function ‘xfs_check_ondisk_structs’,
    inlined from ‘init_xfs_fs’ at fs/xfs/xfs_super.c:1973:2:
./include/linux/compiler.h:518:38: error: call to ‘__compiletime_assert_119’ declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)

第五处:
scripts/Makefile.build:294: recipe for target 'fs/xfs/xfs_super.o' failed
make[2]: *** [fs/xfs/xfs_super.o] Error 1
make[2]: *** 正在等待未完成的任务....

第六处:
In file included from ./include/uapi/linux/stddef.h:1:0,
                 from ./include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from ./include/uapi/linux/types.h:13,
                 from ./include/linux/types.h:5,
                 from fs/xfs/xfs_linux.h:21,
                 from fs/xfs/xfs.h:32,
                 from fs/xfs/xfs_super.c:19:
In function ‘xfs_check_ondisk_structs’,
    inlined from ‘init_xfs_fs’ at fs/xfs/xfs_super.c:1973:2:
./include/linux/compiler.h:518:38: error: call to ‘__compiletime_assert_119’ declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)


第七处:
In function ‘xfs_check_ondisk_structs’,
    inlined from ‘init_xfs_fs’ at fs/xfs/xfs_super.c:1973:2:
./include/linux/compiler.h:518:38: error: call to ‘__compiletime_assert_119’ declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)

第八处:
scripts/Makefile.build:294: recipe for target 'fs/xfs/xfs_super.o' failed
make[2]: *** [fs/xfs/xfs_super.o] Error 1
scripts/Makefile.build:553: recipe for target 'fs/xfs' failed
make[1]: *** [fs/xfs] Error 2
Makefile:988: recipe for target 'fs' failed
make: *** [fs] Error 2

离线

楼主 #3 2019-08-25 09:15:53

gunge204
会员
注册时间: 2019-08-24
已发帖子: 26
积分: 26

Re: 荔枝派zero的linux内核编译错误

不对,不是这个问题,取消选中的那俩功能后又冒出来别的问题,还是过不了
而且编译器来时间特别长

超级萌新 说:

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn