Last active
September 8, 2016 13:46
-
-
Save mati865/5294149a7f5a740f421b7619c77b19c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#building hello-world on windows | |
mati865@DESKTOP-0J8VPHJ MINGW64 /d/projekty/msys2/build/node/hello-world | |
$ node-gyp build | |
gyp info it worked if it ends with ok | |
gyp info using [email protected] | |
gyp info using [email protected] | win32 | x64 | |
gyp info spawn make | |
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] | |
make: Wejście do katalogu '/d/projekty/msys2/build/node/hello-world/build' | |
SOLINK_MODULE(target) Release/obj.target/binding.node | |
Release/obj.target/binding/binding.o:binding.cc:(.text+0x1e): undefined reference to `__imp__ZN2v811HandleScopeC1EPNS_7IsolateE' | |
Release/obj.target/binding/binding.o:binding.cc:(.text+0x37): undefined reference to `__imp__ZN2v86String11NewFromUtf8EPNS_7IsolateEPKcNS0_13NewStringTypeEi' | |
Release/obj.target/binding/binding.o:binding.cc:(.text+0x4f): undefined reference to `__imp__ZN2v811HandleScopeD1Ev' | |
Release/obj.target/binding/binding.o:binding.cc:(.text+0x6e): undefined reference to `__imp__ZN2v811HandleScopeD1Ev' | |
Release/obj.target/binding/binding.o:binding.cc:(.text+0x92): undefined reference to `__imp__ZN2v87Isolate10GetCurrentEv' | |
Release/obj.target/binding/binding.o:binding.cc:(.text+0xa1): undefined reference to `__imp__ZN2v811HandleScopeC1EPNS_7IsolateE' | |
Release/obj.target/binding/binding.o:binding.cc:(.text+0xbf): undefined reference to `__imp__ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEi' | |
Release/obj.target/binding/binding.o:binding.cc:(.text+0xc8): undefined reference to `__imp__ZN2v816FunctionTemplate11GetFunctionEv' | |
Release/obj.target/binding/binding.o:binding.cc:(.text+0xe4): undefined reference to `__imp__ZN2v86String11NewFromUtf8EPNS_7IsolateEPKcNS0_13NewStringTypeEi' | |
Release/obj.target/binding/binding.o:binding.cc:(.text+0xf3): undefined reference to `__imp__ZN2v88Function7SetNameENS_5LocalINS_6StringEEE' | |
Release/obj.target/binding/binding.o:binding.cc:(.text+0x102): undefined reference to `__imp__ZN2v86Object3SetENS_5LocalINS_5ValueEEES3_' | |
Release/obj.target/binding/binding.o:binding.cc:(.text+0x10b): undefined reference to `__imp__ZN2v811HandleScopeD1Ev' | |
Release/obj.target/binding/binding.o:binding.cc:(.text+0x121): undefined reference to `__imp__ZN2v811HandleScopeD1Ev' | |
collect2.exe: error: ld returned 1 exit status | |
make: *** [binding.target.mk:115: Release/obj.target/binding.node] Błąd 1 | |
make: Opuszczenie katalogu '/d/projekty/msys2/build/node/hello-world/build' | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (D:\msys64\mingw64\lib\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23) | |
gyp ERR! stack at emitTwo (events.js:106:13) | |
gyp ERR! stack at ChildProcess.emit (events.js:191:7) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) | |
gyp ERR! System Windows_NT 10.0.14393 | |
gyp ERR! command "D:\\msys64\\mingw64\\bin\\node.exe" "D:\\msys64\\mingw64\\lib\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "build" | |
gyp ERR! cwd D:\projekty\msys2\build\node\hello-world | |
gyp ERR! node -v v6.5.0 | |
gyp ERR! node-gyp -v v3.3.1 | |
gyp ERR! not ok | |
#build on Arch Linux | |
mati865@DESKTOP-0J8VPHJ MINGW64 ~ | |
$ nm --demangle /d/projekty/msys2/build/node/hello-world-linux/build/Release/obj.target/binding/binding.o | |
0000000000000000 r .LC0 | |
0000000000000006 r .LC1 | |
U _GLOBAL_OFFSET_TABLE_ | |
0000000000000000 t _register_binding | |
0000000000000070 T init(v8::Local<v8::Object>) | |
0000000000000000 T Method(v8::FunctionCallbackInfo<v8::Value> const&) | |
0000000000000000 d _module | |
U v8::HandleScope::HandleScope(v8::Isolate*) | |
U v8::HandleScope::~HandleScope() | |
U v8::FunctionTemplate::GetFunction() | |
U v8::FunctionTemplate::New(v8::Isolate*, void (*)(v8::FunctionCallbackInfo<v8::Value> const&), v8::Local<v8::Value>, v8::Local<v8::Signature>, int) | |
U v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>) | |
U v8::String::NewFromUtf8(v8::Isolate*, char const*, v8::String::NewStringType, int) | |
U v8::Isolate::GetCurrent() | |
U v8::Function::SetName(v8::Local<v8::String>) | |
U node_module_register | |
#build on Windows | |
mati865@DESKTOP-0J8VPHJ MINGW64 ~ | |
$ nm --demangle /d/projekty/msys2/build/node/hello-world/build/Release/obj.target/binding/binding.o | |
0000000000000000 b .bss | |
0000000000000000 d .ctors | |
0000000000000000 d .data | |
0000000000000000 p .pdata | |
0000000000000000 p .pdata.startup | |
0000000000000000 r .rdata | |
0000000000000000 r .rdata$zzz | |
0000000000000000 t .text | |
0000000000000000 t .text.startup | |
0000000000000000 r .xdata | |
0000000000000000 r .xdata.startup | |
U __gxx_personality_seh0 | |
U __imp__ZN2v811HandleScopeC1EPNS_7IsolateE | |
U __imp__ZN2v811HandleScopeD1Ev | |
U __imp__ZN2v816FunctionTemplate11GetFunctionEv | |
U __imp__ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEi | |
U __imp__ZN2v86Object3SetENS_5LocalINS_5ValueEEES3_ | |
U __imp__ZN2v86String11NewFromUtf8EPNS_7IsolateEPKcNS0_13NewStringTypeEi | |
U __imp__ZN2v87Isolate10GetCurrentEv | |
U __imp__ZN2v88Function7SetNameENS_5LocalINS_6StringEEE | |
U __imp_node_module_register | |
0000000000000000 t _register_binding | |
U _Unwind_Resume | |
0000000000000080 T init(v8::Local<v8::Object>) | |
0000000000000000 T Method(v8::FunctionCallbackInfo<v8::Value> const&) | |
0000000000000000 d _module |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment