2017-03-23 106 views
0

我試圖建立從 https://github.com/cetic/6lbr/wiki/COOJA-Interface彙編錯誤樹莓派4.1.19-V7 + armv7l GNU/Linux的

一個項目,但是當我嘗試推出cooja接口命令做出cooja小 它失敗此錯誤日誌:

INFO [AWT-EventQueue-0] (MessageListUI.java:257) - slip-net.c:50:12: warning: unused variable 'i' [-Wunused-variable] 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - uint16_t i; 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) -   ^
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - CC  no-framer.c 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - CC  slip-radio-cooja.c 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - CC  ../../../apps/slip-cmd/cmd.c 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - CC  ../../../apps/slip-cmd/packetutils.c 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - CC  ../../../platform/cooja/lib/simEnvChange.c 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - CC  ../../../platform/cooja/sys/cooja_mt.c 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - CC  ../../../platform/cooja/sys/cooja_mtarch.c 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s: Assembler messages: 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:142: Error: bad instruction `pushl %eax' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:143: Error: bad instruction `pushl %ebx' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:144: Error: bad instruction `pushl %ecx' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:145: Error: bad instruction `pushl %edx' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:146: Error: bad instruction `pushl %esi' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:147: Error: bad instruction `pushl %edi' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:148: Error: bad instruction `pushl %ebp' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:149: Error: bad instruction `pushl %ebp' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:156: Error: bad instruction `movl [r3],%eax' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:161: Error: bad instruction `movl (%eax),%ebx' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:162: Error: bad instruction `movl %esp,(%eax)' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:163: Error: bad instruction `movl %ebx,%esp' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:168: Error: bad instruction `popl %ebp' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:169: Error: bad instruction `popl %ebp' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:170: Error: bad instruction `popl %edi' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:171: Error: bad instruction `popl %esi' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:172: Error: bad instruction `popl %edx' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:173: Error: bad instruction `popl %ecx' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:174: Error: bad instruction `popl %ebx' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:175: Error: bad instruction `popl %eax' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:176: Error: bad instruction `leave' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - /tmp/ccHLzKYb.s:177: Error: bad instruction `ret' 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - ../../../Makefile.include:240: recipe for target 'obj_cooja/cooja_mtarch.o' failed 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - Process returned error code 2 
INFO [AWT-EventQueue-0] (MessageListUI.java:257) - make: *** [obj_cooja/cooja_mtarch.o] Error 1 

我已經安裝臂無 - EABI - 海合會-v工具鏈

覆盆子細節 的Linux 4.1.19樹莓派-V7 +#858 SMP週二15年3月15日: 56:00 GMT 2016 armv7l GNU/Linux

可能是什麼原因???

+0

使用x86指令基於ARMv7的處理器設置?我假設你打算從x86/x86-64處理器交叉編譯到Pi目標;但主機是什麼? – InfinitelyManic

回答