按照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
离线
不对,不是这个问题,取消选中的那俩功能后又冒出来别的问题,还是过不了
而且编译器来时间特别长
离线