Export to GitHub

v8cgi - issue #96

undefined reference to `v8::Unlocker::Unlocker(v8::Isolate*)'


Posted on Jun 17, 2011 by Happy Hippo

g++ -o v8cgi src/common.os src/system.os src/cache.os src/gc.os src/app.os src/path.os src/lib/binary/bytestorage.os src/v8cgi.o -L/home/ciembor/v8 -lv8 -lpthread -lrt -lv8 -ldl src/system.os: In function (anonymous namespace)::_sleep(v8::Arguments const&)': system.cc:(.text+0x1fa): undefined reference tov8::Unlocker::Unlocker(v8::Isolate*)' src/app.os: In function v8cgi_App::execute(char**)': app.cc:(.text+0x4a9c): undefined reference tov8::Locker::Locker(v8::Isolate*)' collect2: ld returned 1 exit status scons: * [v8cgi] Error 1 scons: building terminated because of errors.

Comment #1

Posted on Jun 20, 2011 by Happy Giraffe

Which V8 are you compiling against? Have you compiled libv8 yourself?

Comment #2

Posted on Jun 20, 2011 by Happy Giraffe

This looks like you are linking against a relatively new v8.h header but using older (outdated) libv8, which does not yet include isolates...

Comment #3

Posted on Dec 14, 2011 by Happy Giraffe

(No comment was entered for this change.)

Status: Invalid

Labels:
Type-Defect Priority-Medium