(toppers-users 4626) mruby on EV3RT + TECS を macOS Sierraで環境構築する際の make時のエラーについて
055 aqua
aqua055 @ gmail.com
2016年 12月 20日 (火) 12:11:07 JST
TOPPERS MLの皆さま
以前、mruby on EV3RT + TECS の Macでの環境構築法で質問した 柴田義之です。
そのときの OS X El Capitan(10.11.6)での環境構築方法は Qiitaに投稿しました。
・Mindstorms EV3をmrubyで動かす方法(Macで環境構築編) - Qiita
http://qiita.com/noanoa07/items/dd5c5230b577a3622f08 <http://qiita.com/noanoa07/items/dd5c5230b577a3622f08>
しかし、その後 Macがバージョンアップして、macOS Sierra(10.12.2)では
またエラーが出るようになってしまいました。
Qiita の記事でいうと、
6B. 動的ローディング形式(Bluetooth)でのビルドと実行
3) ビルド:make
でのエラーログが以下の通りです。
----------------------------------------------------------------
$ cd ~/ev3rt_mruby/hr-tecs/workspace/bluetooth
$ make
CC ../../arch/arm_gcc/common/start.S
CFG[1] cfg1_out.c
CC cfg1_out.c
In file included from ../../target/ev3_gcc/drivers/linux/include/linux/compiler.h:40:0,
from ../../target/ev3_gcc/drivers/linux/arch/arm/include/asm/memory.h:16,
from ../../target/ev3_gcc/drivers/linux/arch/arm/include/asm/page.h:201,
from ../../target/ev3_gcc/drivers/common/include/ev3_hacks.h:6,
from ../../target/ev3_gcc/drivers/common/include/driver_common.h:28,
from ../../target/ev3_gcc/platform/include/csl.h:10,
from cfg1_out.c:5:
../../target/ev3_gcc/drivers/linux/include/linux/compiler-gcc.h:87:30: fatal error: linux/compiler-gcc5.h: No such file or directory
compilation terminated.
make: *** [cfg1_out.o] Error 1
----------------------------------------------------------------
その前段階の 2) ビルド:make tecs では警告が出ます。(長いのでGistに貼りました)
mruby-on-ev3rt+tecs beta1.0.1 (2016-05-27) のBluetoothでの make tecs 実行時のログ(macOS Sierra 10.12.2) - Gist
https://gist.github.com/noanoa07/81902395623f286fdd08db7e5a5d41b2 <https://gist.github.com/noanoa07/81902395623f286fdd08db7e5a5d41b2>
ちなみに、6A. スタンドアローン形式(SD)でのビルドと実行
でも、同じようなエラーが出ます。
この回避方法はあるでしょうか?
何かアドバイスあればよろしくお願いします。
柴田義之
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: <http://www.toppers.jp/pipermail/users/attachments/20161220/a734a132/attachment.html>