微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI Zigbee设计交流 > liunx gate 编辑出错

liunx gate 编辑出错

时间:10-02 整理:3721RD 点击:

目标平台MTK-7628

1.根据手册,需要编译protobuf

  下载源码后,  ./configure --build=i386-pc-linux --host=mipsel-openwrt-linux CC=/work/openwrt-mt7688an/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mipsel-openwrt-linux-gcc CXX=/work/openwrt-mt7688an/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mipsel-openwrt-linux-g++ --prefix=/work/openwrt-mt7688an/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2

配置结果见附件

2.配置后进行sudo  make

libtool: compile: /work/wooya-openwrt-mt7688an/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mipsel-openwrt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT google/protobuf/stubs/once.lo -MD -MP -MF google/protobuf/stubs/.deps/once.Tpo -c google/protobuf/stubs/once.cc -fPIC -DPIC -o google/protobuf/stubs/.libs/once.o
/tmp/ccn7KHbE.s: Assembler messages:
/tmp/ccn7KHbE.s:73: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,0($16)'
/tmp/ccn7KHbE.s:76: Error: opcode not supported on this processor: mips1 (mips1) `sc $4,0($16)'
make[2]: *** [google/protobuf/stubs/once.lo] Error 1

请问这个错误怎么处理?

此问题为编译器需要指定MIPS处理器的架构

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top