hongkongkiwi / openwrt-nodejs5

Latest and greatest node.js version 5.x.x for OpenWRT
http://www.nodejs.org
6 stars 2 forks source link

obj.target/v8_base/deps/v8/src/log-utils.o' failed #3

Open friyadhibiermann opened 7 years ago

friyadhibiermann commented 7 years ago

In file included from ../deps/v8/src/log-utils.cc:5:0: ../deps/v8/src/log-utils.h:64:39: error: 'va_list' has not been declared void AppendVA(const char format, va_list args); ^ ../deps/v8/src/log-utils.h: In member function 'int v8::internal::Log::WriteToFile(const char, int)': ../deps/v8/src/log-utils.h:109:54: error: 'fwrite' was not declared in this scope size_t rv = fwrite(msg, 1, length, outputhandle); ^ ../deps/v8/src/log-utils.h:112:26: error: 'fflush' was not declared in this scope fflush(outputhandle); ^ ../deps/v8/src/log-utils.cc: In member function 'void v8::internal::Log::MessageBuilder::Append(const char, ...)': ../deps/v8/src/log-utils.cc:118:24: error: no matching function for call to 'v8::internal::Log::MessageBuilder::AppendVA(const char&, va_list&)' AppendVA(format, args); ^ ../deps/v8/src/log-utils.cc:118:24: note: candidate is: In file included from ../deps/v8/src/log-utils.cc:5:0: ../deps/v8/src/log-utils.h:64:10: note: void v8::internal::Log::MessageBuilder::AppendVA(const char, int) void AppendVA(const char format, va_list args); ^ ../deps/v8/src/log-utils.h:64:10: note: no known conversion for argument 2 from 'va_list {aka __va_list}' to 'int' ../deps/v8/src/log-utils.cc: At global scope: ../deps/v8/src/log-utils.cc:124:6: error: prototype for 'void v8::internal::Log::MessageBuilder::AppendVA(const char, va_list)' does not match any in class 'v8::internal::Log::MessageBuilder' void Log::MessageBuilder::AppendVA(const char format, va_list args) { ^ In file included from ../deps/v8/src/log-utils.cc:5:0: ../deps/v8/src/log-utils.h:64:10: error: candidate is: void v8::internal::Log::MessageBuilder::AppendVA(const char, int) void AppendVA(const char format, va_list args); ^ deps/v8/tools/gyp/v8_base.target.mk:424: recipe for target '/home/opiz/openwrt/build_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/node-v5.6.0/out/Release/obj.target/v8_base/deps/v8/src/log-utils.o' failed make[5]: [/home/opiz/openwrt/build_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/node-v5.6.0/out/Release/obj.target/v8_base/deps/v8/src/log-utils.o] Error 1 make[5]: Leaving directory '/home/opiz/openwrt/build_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/node-v5.6.0/out' Makefile:45: recipe for target 'node' failed make[4]: [node] Error 2 make[4]: Leaving directory '/home/opiz/openwrt/build_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/node-v5.6.0' Makefile:198: recipe for target '/home/opiz/openwrt/build_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/node-v5.6.0/.built' failed make[3]: [/home/opiz/openwrt/build_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/node-v5.6.0/.built] Error 2 make[3]: Leaving directory '/home/opiz/openwrt/package/utils/nodejs5' package/Makefile:191: recipe for target 'package/utils/nodejs5/compile' failed make[2]: [package/utils/nodejs5/compile] Error 2 make[2]: Leaving directory '/home/opiz/openwrt' package/Makefile:188: recipe for target '/home/opiz/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/stamp/.package_compile' failed make[1]: [/home/opiz/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/opiz/openwrt' /home/opiz/openwrt/include/toplevel.mk:181: recipe for target 'world' failed make: [world] Error 2

shenjunlin commented 6 years ago

楼主解决了吗?我也遇到这个问题了

friyadhibiermann commented 5 years ago

yes i hope clean this problem