Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failure #49

Open
AmrRahmy opened this issue Dec 7, 2017 · 1 comment
Open

build failure #49

AmrRahmy opened this issue Dec 7, 2017 · 1 comment

Comments

@AmrRahmy
Copy link

AmrRahmy commented Dec 7, 2017

wanted to build with node 6.11.1 or newer, node-serialport, and node-sqlite3 (don't need python or samba, or sound or video), but left them in make menuconfig

using this repository and this link, http://www.joemotacek.com/putting-a-newer-version-of-node-js-on-linkit-smart-7688-duo/

I get the following error,

cp -fpR ./wifi_binary/mt_wifi.ko_3.18.84 /home/amr/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7688/mtk-sdk-wifi-2015-06-01/ipkg-ramips_24kec/mtk-sdk-wifi/lib/modules/3.18.84/mt_wifi.ko
cp: cannot stat './wifi_binary/mt_wifi.ko_3.18.84': No such file or directory
make[3]: *** [/home/amr/openwrt/bin/ramips/packages/linkit/mtk-sdk-wifi_2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371_ramips_24kec.ipk] Error 1
make[3]: Leaving directory /home/amr/openwrt/feeds/linkit/mtk-sdk-wifi' make[2]: *** [package/feeds/linkit/mtk-sdk-wifi/compile] Error 2 make[2]: Leaving directory /home/amr/openwrt'
make[1]: *** [/home/amr/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/amr/openwrt'
make: *** [world] Error 2

after copying an older file (.45), I get this error,

/home/amr/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/node-v6.12.1/out/../deps/uv/src/unix/fs.c:698: warning: the use of OBSOLESCENT utime' is discouraged, use utimes'
/home/amr/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/lib/libcrypto.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
/home/amr/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/node-v6.12.1/out/Release/obj.target/v8_base/deps/v8/src/assembler.o: In function v8::internal::wasm::f32_nearest_int_wrapper(float*)': assembler.cc:(.text._ZN2v88internal4wasmL23f32_nearest_int_wrapperEPf+0x18): undefined reference to nearbyintf'
collect2: error: ld returned 1 exit status
make[5]: *** [/home/amr/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/node-v6.12.1/out/Release/node] Error 1
make[5]: Leaving directory /home/amr/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/node-v6.12.1/out' make[4]: *** [node] Error 2 make[4]: Leaving directory /home/amr/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/node-v6.12.1'
make[3]: *** [/home/amr/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/node-v6.12.1/.built] Error 2
make[3]: Leaving directory /home/amr/openwrt/feeds/node/node' make[2]: *** [package/feeds/node/node/compile] Error 2 make[2]: Leaving directory /home/amr/openwrt'
make[1]: *** [/home/amr/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/amr/openwrt'
make: *** [world] Error 2

is there a way to build a firmware with node, node-serial, and node-sqlite3 ?

@programmer131
Copy link

facing same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants