恩山无线论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 143|回复: 0

编译ndoe.js失败,请各位指点迷津

[复制链接]
发表于 2020-9-7 15:52 | 显示全部楼层 |阅读模式
node.js.png
make[3]: Entering directory '/home/wf/7621-lede/feeds/packages/lang/node'
rm -f /home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/.built
touch /home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/.built_check
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -ffile-prefix-map=/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1=node-v12.16.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/wf/7621-lede/staging_dir/target-mipsel_24kc_musl/usr/include -I/home/wf/7621-lede/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/usr/include -I/home/wf/7621-lede/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/include/fortify -I/home/wf/7621-lede/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -ffile-prefix-map=/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1=node-v12.16.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/wf/7621-lede/staging_dir/target-mipsel_24kc_musl/usr/include -I/home/wf/7621-lede/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/usr/include -I/home/wf/7621-lede/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/include/fortify -I/home/wf/7621-lede/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/include " LDFLAGS="-L/home/wf/7621-lede/staging_dir/target-mipsel_24kc_musl/usr/lib -L/home/wf/7621-lede/staging_dir/target-mipsel_24kc_musl/lib -L/home/wf/7621-lede/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/usr/lib -L/home/wf/7621-lede/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/lib -znow -zrelro " DESTCPU=mipsel LD_LIBRARY_PATH=/home/wf/7621-lede/staging_dir/hostpkg/share/icu/current/lib make  -C /home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/. AR="mipsel-openwrt-linux-musl-gcc-ar" AS="mipsel-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -ffile-prefix-map=/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1=node-v12.16.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=mipsel-openwrt-linux-musl-ld NM="mipsel-openwrt-linux-musl-gcc-nm" CC="mipsel-openwrt-linux-musl-gcc" GCC="mipsel-openwrt-linux-musl-gcc" CXX="mipsel-openwrt-linux-musl-g++" RANLIB="mipsel-openwrt-linux-musl-gcc-ranlib" STRIP=mipsel-openwrt-linux-musl-strip OBJCOPY=mipsel-openwrt-linux-musl-objcopy OBJDUMP=mipsel-openwrt-linux-musl-objdump SIZE=mipsel-openwrt-linux-musl-size CROSS="mipsel-openwrt-linux-musl-" ARCH="mipsel" ;
make[4]: Entering directory '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1'
make -C out BUILDTYPE=Release V=s
tools/v8_gypfiles/generate_bytecode_builtins_list.target.mk:13: warning: overriding recipe for target '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj/gen/generate-bytecode-output-root/builtins-generated/bytecodes-builtins-list.h'
tools/v8_gypfiles/generate_bytecode_builtins_list.host.mk:13: warning: ignoring old recipe for target '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj/gen/generate-bytecode-output-root/builtins-generated/bytecodes-builtins-list.h'
tools/v8_gypfiles/postmortem-metadata.target.mk:13: warning: overriding recipe for target '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj/gen/debug-support.cc'
tools/v8_gypfiles/postmortem-metadata.host.mk:13: warning: ignoring old recipe for target '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj/gen/debug-support.cc'
tools/v8_gypfiles/run_gen-regexp-special-case.target.mk:13: warning: overriding recipe for target '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj/gen/src/regexp/special-case.cc'
tools/v8_gypfiles/run_gen-regexp-special-case.host.mk:13: warning: ignoring old recipe for target '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj/gen/src/regexp/special-case.cc'
tools/v8_gypfiles/run_torque.target.mk:13: warning: overriding recipe for target '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj/gen/torque-output-root/torque-generated/builtin-definitions-tq.h'
tools/v8_gypfiles/run_torque.host.mk:13: warning: ignoring old recipe for target '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj/gen/torque-output-root/torque-generated/builtin-definitions-tq.h'
tools/v8_gypfiles/run_torque.target.mk:13: warning: overriding recipe for target '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj/gen/torque-output-root/torque-generated/field-offsets-tq.h'
tools/v8_gypfiles/run_torque.host.mk:13: warning: ignoring old recipe for target '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj/gen/torque-output-root/torque-generated/field-offsets-tq.h'
tools/v8_gypfiles/run_torque.target.mk:13: warning: overriding recipe for target '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj/gen/torque-output-root/torque-generated/class-verifiers-tq.cc'
tools/v8_gypfiles/run_torque.host.mk:13: warning: ignoring old recipe for target '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj/gen/torque-output-root/torque-generated/class-verifiers-tq.cc'
---------------------------------------------------------
tools/v8_gypfiles/v8_base_without_compiler.target.mk:26: warning: overriding recipe for target '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj/gen/inspector-generated-output-root/include/inspector/Schema.h'
tools/v8_gypfiles/v8_base_without_compiler.host.mk:26: warning: ignoring old recipe for target '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj/gen/inspector-generated-output-root/include/inspector/Schema.h'
  touch /home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj.host/tools/v8_gypfiles/v8_headers.stamp
  g++ -m32 -o /home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj.host/v8_libbase/deps/v8/src/base/bits.o ../deps/v8/src/base/bits.cc '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' '-D__STDC_FORMAT_MACROS' '-DV8_TARGET_ARCH_MIPS' '-D__mips_soft_float=1' '-DV8_EMBEDDER_STRING="-node.31"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DENABLE_MINOR_MC' '-DV8_USE_SNAPSHOT' '-DV8_CONCURRENT_MARKING' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DBUILDING_V8_BASE_SHARED' '-D_MIPS_TARGET_HW' '-D_MIPS_ARCH_MIPS32R2' '-DFPU_MODE_FP32' -I/home/wf/7621-lede/staging_dir/target-mipsel_24kc_musl/usr/include -I../deps/v8 -I../deps/v8/include  -pthread -Wno-unused-parameter -Wno-return-type -fno-strict-aliasing -m32 -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF /home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/.deps//home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj.host/v8_libbase/deps/v8/src/base/bits.o.d.raw   -c
In file included from ../deps/v8/src/base/bits.h:9:0,
                 from ../deps/v8/src/base/bits.cc:5:
/usr/include/c++/5/type_traits:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
tools/v8_gypfiles/v8_libbase.host.mk:154: recipe for target '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj.host/v8_libbase/deps/v8/src/base/bits.o' failed
make[5]: *** [/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/out/Release/obj.host/v8_libbase/deps/v8/src/base/bits.o] Error 1
Makefile:101: recipe for target 'node' failed
make[4]: *** [node] Error 2
make[4]: Leaving directory '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1'
Makefile:154: recipe for target '/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/.built' failed
make[3]: *** [/home/wf/7621-lede/build_dir/target-mipsel_24kc_musl/node-v12.16.1/.built] Error 2
make[3]: Leaving directory '/home/wf/7621-lede/feeds/packages/lang/node'
time: package/feeds/packages/node/compile#0.20#0.06#0.31
package/Makefile:111: recipe for target 'package/feeds/packages/node/compile' failed
make[2]: *** [package/feeds/packages/node/compile] Error 2
make[2]: Leaving directory '/home/wf/7621-lede'
package/Makefile:107: recipe for target '/home/wf/7621-lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/home/wf/7621-lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/wf/7621-lede'
/home/wf/7621-lede/include/toplevel.mk:222: recipe for target 'world' failed
make: *** [world] Error 2

我的恩山、我的无线 The best wifi forum is right here.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )|网站地图

GMT+8, 2020-9-20 18:34

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表