20170106_jeffrey - silenceuncrio/diary GitHub Wiki

Index

  • 0915 - m300 終於要迎接第一次的 release 了
  • 1005 - M300 經緯度 - wev ui google map
  • 1140 - 協助處理 apple 開發者帳號續約事宜
  • 1325 - m300 上的 nodejs 一直 build 不過
  • 1730 - aaron 示範 jq 搭配 curl 存取原本的 cgi - CLI 原型

0915

m300 終於要迎接第一次的 release 了

1005

ariel 告知為了 M300 的 icos gps module 的 經緯度資訊

希望我能在 wev ui 上利用 google map 配合該座標作顯示

1140

協助處理 apple 開發者帳號續約事宜

參考 https://github.com/silenceuncrio/diary/wiki/20151210_jeffrey

[email protected] 收信

發現之前的信用卡已經過期

經由 jim 的協助更新了信用卡號

1325

m300 上的 nodejs 一直 build 不過... >_<

...
| /var/m300/build_small/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/nodejs/0.12.7-r0/node-v0.12.7/out/../deps/v8/src/base/logging.cc:25: undefined reference to `backtrace'
| /var/m300/build_small/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/nodejs/0.12.7-r0/node-v0.12.7/out/../deps/v8/src/base/logging.cc:26: undefined reference to `backtrace_symbols'
| collect2: error: ld returned 1 exit status
| make[1]: *** [/var/m300/build_small/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/nodejs/0.12.7-r0/node-v0.12.7/out/Release/node] Error 1
| make[1]: Leaving directory `/var/m300/build_small/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/nodejs/0.12.7-r0/node-v0.12.7/out'
| make: *** [node] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /var/m300/build_small/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/nodejs/0.12.7-r0/temp/log.do_compile.22093)
ERROR: Task 6 (/var/m300/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_0.12.7.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 664 tasks of which 662 didn't need to be rerun and 1 failed.
No currently running tasks (664 of 671)

Summary: 1 task failed:
  /var/m300/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_0.12.7.bb, do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
...
# include <execinfo.h>
...
void DumpBacktrace() {
  ...
  int size = backtrace(trace, ARRAY_SIZE(trace));
  char** symbols = backtrace_symbols(trace, size);
  ...

還沒找到怎麼解決

參考 http://nano-chicken.blogspot.tw/2016/10/install-nodejs-on-openembedded.html

我也是一樣的作法阿... 奇怪

1730

aaron 剛剛示範完用 jq 搭配 curl 存取原本的 cgi

很快就能搭出 command line 的原型

看來 m300 上就不用去管 nodejs 跟 python 了

⚠️ **GitHub.com Fallback** ⚠️