WhyCan Forum

本站无需注册,无需积分,无需回复可下载所有资料,如果真的喜欢小站,请您注册之后请至少回复一个帖子激活Id,谢谢支持! 站长QQ: 516333132 (挖坑网/填坑网) admin@whycan.cn

您尚未登录。

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

gunge204
会员
注册时间: 2019-08-24
累计积分: 21

荔枝派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

离线

#2 2019-08-25 08:24:59

超级萌新
会员
注册时间: 2018-05-04
累计积分: 267

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

离线

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

gunge204
会员
注册时间: 2019-08-24
累计积分: 21

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

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

超级萌新 说:

离线

页脚