liunx gate 编辑出错
目标平台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处理器的架构
- 找不到SampleGateway-USB-ProdSBL.hex文件的IAR源代码
- how to enable the "MT“ function via UART in "Gateway project" (CC2538+CC3000)
- Zigbee Lighting Gateway with BeagleBone Black and ZllLight
- 将iot-gatewat-lighting-gateway移植后ARM后在APP上找不到Zlight
- Zigbee Light Link HA Coordinator Lighting Gateway
- ZigBee Lighting Gateway使用