make module失败的原因cc1: error: unrecognized command line option "-m64"
来源:互联网 发布:windows msu x64 编辑:程序博客网 时间:2024/05/16 10:40
[root@localhost 123]# make
make -C /work/cs/YL-9G45/linux-2.6.30 M=/work/rootfs/123 modules
make[1]: Entering directory `/work/cs/YL-9G45/linux-2.6.30'
CC [M] /work/rootfs/123/test.o
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
make -C /work/cs/YL-9G45/linux-2.6.30 M=/work/rootfs/123 modules
make[1]: Entering directory `/work/cs/YL-9G45/linux-2.6.30'
CC [M] /work/rootfs/123/test.o
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
make[1]: Leaving directory `/work/cs/YL-9G45/linux-2.6.30'
缺少编译的对象,需要加入ARCH=arm
[root@localhost 123]# make ARCH=arm
make -C /work/cs/YL-9G45/linux-2.6.30 M=/work/rootfs/123 modules
make[1]: Entering directory `/work/cs/YL-9G45/linux-2.6.30'
CC [M] /work/rootfs/123/test.o
/work/rootfs/123/test.c:45:7: warning: no newline at end of file
Building modules, stage 2.
MODPOST 1 modules
CC /work/rootfs/123/test.mod.o
LD [M] /work/rootfs/123/test.ko
make[1]: Leaving directory `/work/cs/YL-9G45/linux-2.6.30'
0 0
- make module失败的原因cc1: error: unrecognized command line option "-m64"
- make module失败的原因cc1: error: unrecognized command line option "-m64"
- cc1: error: unrecognized command line option "-m64"
- cc1: error: unrecognized command line option "-m64"报错,需要加入ARCH=arm
- cc1: error: unrecognized command line option "-m64" 需要添加上ARCH=arm
- cc1: error: unrecognized command line option "-mlittle-endian"
- 错误:cc1: error: unrecognized command line option "-m32"
- cc1: error: unrecognized command line option "-fconserve-stack"
- 编译x264 错误:cc1: error: unrecognized command line option "-m32"
- 错误:cc1: error: unrecognized command line option “-m32”
- cc1: error: unrecognized command line option “-fforce-mem”
- 遇到的问题 cc1: error: unrecognized command line option "-fconserve-stack"
- xtrabackup 1.6.3安装出现cc1: error: unrecognized command line option "-fdiagnostics-show-option"
- openssl error: unrecognized command line option "-m486"
- error: unrecognized command line option "-fconserve-stack"
- Unrecognized command line option
- error: unrecognized command line option "-fconserve-stack"解决办法
- 编译出现 error: unrecognized command line option "-fconserve-stack"
- JS编码
- wxpython画板例子
- ubuntu安装p7zip
- Open the Android native Camera using OpenCV
- Oracle Deterministic Function
- make module失败的原因cc1: error: unrecognized command line option "-m64"
- Hadoop集群问题汇总
- get values of particular key in nsdictionary
- Oracle Scalar Subquery Cache
- joined-subclass和union-subclass区别
- 【翻译】Siesta事件记录器入门
- mono touch :Creating iOS Applications in Code
- 百度地图API地点搜索-获取经纬度
- 用dos命令生成TexturePacker帮助文档