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

Link error with Node v0.8.7 #20

Closed
alphabetsoup opened this issue Aug 27, 2012 · 8 comments
Closed

Link error with Node v0.8.7 #20

alphabetsoup opened this issue Aug 27, 2012 · 8 comments

Comments

@alphabetsoup
Copy link

Googling didn't help this one unfortunately. It's throwing a link error (after numerous warnings, not included).

 Creating library c:\Program Files\nodejs\node_modules\v8-profiler\build\Release\profiler.lib and object c:\Program Files\nodejs\node_modules\v8-profiler\build\Release\profiler.exp

graph_node.obj : error LNK2001: unresolved external symbol "public: class v8::HeapGraphNode const * __thiscall v8::HeapGraphNode::GetDominatorNode(void)const" (?GetDominatorNode@HeapGraphNode@v8@@QBEPBV12@XZ) [c:\Program Files\nodejs\node_modules\v8-profiler\build\profiler.vcxproj]
graph_node.obj : error LNK2001: unresolved external symbol "public: class v8::H
eapGraphEdge const * __thiscall v8::HeapGraphNode::GetRetainer(int)const " (?Ge
tRetainer@HeapGraphNode@v8@@QBEPBVHeapGraphEdge@2@H@Z) [c:\Program Files\nodejs
\node_modules\v8-profiler\build\profiler.vcxproj]
graph_node.obj : error LNK2001: unresolved external symbol "public: int __thisc
all v8::HeapGraphNode::GetRetainersCount(void)const " (?GetRetainersCount@HeapG
raphNode@v8@@QBEHXZ) [c:\Program Files\nodejs\node_modules\v8-profiler\build\pr
ofiler.vcxproj]
graph_node.obj : error LNK2001: unresolved external symbol "public: int __thisc
all v8::HeapGraphNode::GetRetainedSize(void)const " (?GetRetainedSize@HeapGraph
Node@v8@@QBEHXZ) [c:\Program Files\nodejs\node_modules\v8-profiler\build\profil
er.vcxproj]
c:\Program Files\nodejs\node_modules\v8-profiler\build\Release\profiler.node :
fatal error LNK1120: 4 unresolved externals [c:\Program Files\nodejs\node_modul
es\v8-profiler\build\profiler.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (c:\Program Files\nodejs\node_modules
npm\node_modules\node-gyp\lib\build.js:215:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:674:10)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "c:\Program Files\nodejs\node_modules\npm\node_modu
les\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd c:\Program Files\nodejs\node_modules\v8-profiler
gyp ERR! node -v v0.8.7
gyp ERR! node-gyp -v v0.6.5
gyp ERR! not ok
npm ERR! v8-profiler@3.6.2-1 install: node-gyp rebuild
npm ERR! cmd "/c" "node-gyp rebuild" failed with 1
npm ERR!
npm ERR! Failed at the v8-profiler@3.6.2-1 install script.
npm ERR! This is most likely a problem with the v8-profiler package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls v8-profiler
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "c:\Program Files\nodejs\node.exe" "c:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install" "v8-profiler"
npm ERR! cwd c:\Program Files\nodejs
npm ERR! node -v v0.8.7
npm ERR! npm -v 1.1.49
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! c:\Program Files\nodejs\npm-debug.log
npm ERR! not ok code 0

@adamtegen
Copy link

I am having the same problem with node v0.8.9

@newtang
Copy link

newtang commented Sep 14, 2012

Same problem on OSX with node v0.8.9

@diversario
Copy link

Builds in Ubuntu 12.04, but snapshot results in this:

node: symbol lookup error: .../node_modules/v8-profiler/build/Release/profiler.node: undefined symbol: _ZNK2v813HeapGraphNode17GetRetainersCountEv

@AlexeyKupershtokh
Copy link

The same issue with node 0.8.14 on ubuntu 11.04.

wicked@wicked-desktop:~/Alawar/leak$ node --debug --expose-gc leak.js
debugger listening on port 5858

module.js:485
  process.dlopen(filename, module.exports);
          ^
Error: /home/wicked/Alawar/leak/node_modules/v8-profiler/build/Release/profiler.node: undefined symbol: _ZNK2v813HeapGraphNode15GetRetainedSizeEv
    at Object.Module._extensions..node (module.js:485:11)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
...

@aivis
Copy link

aivis commented Nov 30, 2012

Same issue: OS -> "Ubuntu 12.04.1 LTS", Node -> "v0.8.14"

@amolmk
Copy link

amolmk commented Jan 9, 2013

I am having the same problem with node v0.8.16
error: error LNK2001: unresolved external symbol "public: class v8::HeapGraphNode

Windows 7 64 bit, Node 0.8.16

@jwulf
Copy link

jwulf commented May 8, 2013

undefined symbol: _ZNK2v813HeapGraphNode17GetRetainersCountEv

Fedora 17 Linux, Node 0.8.22, 32-bit

@3y3
Copy link
Member

3y3 commented Apr 3, 2014

Node Inspector community starts resurrection of project. Please, confirm your issue on last version.

@3y3 3y3 closed this as completed Apr 3, 2014
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

9 participants