wqx081 / v8cgi

Automatically exported from code.google.com/p/v8cgi
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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 to 
`v8::Unlocker::Unlocker(v8::Isolate*)'
src/app.os: In function `v8cgi_App::execute(char**)':
app.cc:(.text+0x4a9c): undefined reference to `v8::Locker::Locker(v8::Isolate*)'
collect2: ld returned 1 exit status
scons: *** [v8cgi] Error 1
scons: building terminated because of errors.

Original issue reported on code.google.com by moon...@op.pl on 17 Jun 2011 at 11:00

GoogleCodeExporter commented 8 years ago
Which V8 are you compiling against? Have you compiled libv8 yourself?

Original comment by ondrej.zara on 20 Jun 2011 at 6:34

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

Original comment by ondrej.zara on 20 Jun 2011 at 6:56

GoogleCodeExporter commented 8 years ago

Original comment by ondrej.zara on 14 Dec 2011 at 1:28