Open AmrRahmy opened 6 years ago
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
/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
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, useutimes' /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 tonearbyintf' 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
utime' is discouraged, use
v8::internal::wasm::f32_nearest_int_wrapper(float*)': assembler.cc:(.text._ZN2v88internal4wasmL23f32_nearest_int_wrapperEPf+0x18): undefined reference to
/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
is there a way to build a firmware with node, node-serial, and node-sqlite3 ?
facing same issue
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 2after 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 functionv8::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 2is there a way to build a firmware with node, node-serial, and node-sqlite3 ?