cc1: error: unrecognized command line option "-m64" 需要添加上ARCH=arm
来源:互联网 发布:mic是什么软件 编辑:程序博客网 时间:2024/05/21 19:45
[root@localhost pwm2]# make
make -C /work/cs/YL-9G45/linux-2.6.30 M=/work/rootfs/test/pwm2 modules
make[1]: Entering directory `/work/cs/YL-9G45/linux-2.6.30'
CC [M] /work/rootfs/test/pwm2/pwm.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/test/pwm2/pwm.o] 错误 1
make[1]: *** [_module_/work/rootfs/test/pwm2] 错误 2
make[1]: Leaving directory `/work/cs/YL-9G45/linux-2.6.30'
make: *** [all] 错误 2
[root@localhost pwm2]# export ARCH=arm
[root@localhost pwm2]# make
make -C /work/cs/YL-9G45/linux-2.6.30 M=/work/rootfs/test/pwm2 modules
make[1]: Entering directory `/work/cs/YL-9G45/linux-2.6.30'
CC [M] /work/rootfs/test/pwm2/pwm.o
Building modules, stage 2.
MODPOST 1 modules
CC /work/rootfs/test/pwm2/pwm.mod.o
LD [M] /work/rootfs/test/pwm2/pwm.ko
make[1]: Leaving directory `/work/cs/YL-9G45/linux-2.6.30'
[root@localhost pwm2]#
make -C /work/cs/YL-9G45/linux-2.6.30 M=/work/rootfs/test/pwm2 modules
make[1]: Entering directory `/work/cs/YL-9G45/linux-2.6.30'
CC [M] /work/rootfs/test/pwm2/pwm.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/test/pwm2/pwm.o] 错误 1
make[1]: *** [_module_/work/rootfs/test/pwm2] 错误 2
make[1]: Leaving directory `/work/cs/YL-9G45/linux-2.6.30'
make: *** [all] 错误 2
[root@localhost pwm2]# export ARCH=arm
[root@localhost pwm2]# make
make -C /work/cs/YL-9G45/linux-2.6.30 M=/work/rootfs/test/pwm2 modules
make[1]: Entering directory `/work/cs/YL-9G45/linux-2.6.30'
CC [M] /work/rootfs/test/pwm2/pwm.o
Building modules, stage 2.
MODPOST 1 modules
CC /work/rootfs/test/pwm2/pwm.mod.o
LD [M] /work/rootfs/test/pwm2/pwm.ko
make[1]: Leaving directory `/work/cs/YL-9G45/linux-2.6.30'
[root@localhost pwm2]#
- cc1: error: unrecognized command line option "-m64" 需要添加上ARCH=arm
- cc1: error: unrecognized command line option "-m64"报错,需要加入ARCH=arm
- cc1: error: unrecognized command line option "-m64"
- make module失败的原因cc1: error: unrecognized command line option "-m64"
- make module失败的原因cc1: error: unrecognized command line option "-m64"
- 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”
- xtrabackup 1.6.3安装出现cc1: error: unrecognized command line option "-fdiagnostics-show-option"
- 遇到的问题 cc1: error: unrecognized command line option "-fconserve-stack"
- mex error: unrecognized command line option ‘-std=c++11’
- c++: error: unrecognized command line option ‘-std=c++14’
- cc1plus: error: unrecognized command line option ‘-std=c++11’
- openssl error: unrecognized command line option "-m486"
- error: unrecognized command line option "-fconserve-stack"
- JNI 之二 :java & c/c++ 相互通信及调用
- VTK三维重建(1)-使用VTK读取DICOM,并动态输出
- UVA - 12554 A Special "Happy Birthday" Song!!!
- 如何停止JAVA线程
- Qt中如何使用QtDesigner创建UI文件
- cc1: error: unrecognized command line option "-m64" 需要添加上ARCH=arm
- android手机抓wireshark包的步骤-tcpdump(很牛逼的工具)
- 面试历程——实时更新到找到工作
- jquery小例子--简单易懂的图片展示
- CCLabelTTF 、CCLabelBMFont 和CCLabelAtlas以及汉字中文的显示
- 利用Cimage将图片编码成Base64——C++方法实现
- UVA - 11520 Fill the Square
- SQL Server 查看表占用空间
- C语言中常用到的几个与系统时间相关的结构体及其说明