make module失败的原因cc1: error: unrecognized command line option “-m64

cc1: error: unrecognized command line option "-m64"
cc1: error: unrecognized command line option "-mno-red-zone"
cc1: error: unrecognized command line option "-mcmodel=kernel"
cc1: error: unrecognized command line option "-maccumulate-outgoing-args"
make[2]: *** [/work/rootfs/123/test.o] 错误 1
make[1]: *** [_module_/work/rootfs/123] 错误 2

缺少编译的对象,需要加入ARCH=arm

上一篇:Oracle - 找不到原因的无效字符


下一篇:mybatis项目报错:java.sql.SQLException: ORA-00911: 无效字符 解决方法