unclefool / jav8

Automatically exported from code.google.com/p/jav8
0 stars 0 forks source link

Can't build the project #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A build of project has been failed with the following error:

  [junit] Testcase: testV8ScriptEngineFactory took 0.04 sec
    [junit]     Caused an ERROR
    [junit] /media/work/distrib/tmp/libjav830410477471826359.so: /media/work/distrib/tmp/libjav830410477471826359.so: undefined symbol: _ZN2v88internal7Isolate12isolate_key_E
    [junit] java.lang.UnsatisfiedLinkError: /media/work/distrib/tmp/libjav830410477471826359.so: /media/work/distrib/tmp/libjav830410477471826359.so: undefined symbol: _ZN2v88internal7Isolate12isolate_key_E
    [junit]     at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    [junit]     at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
    [junit]     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
    [junit]     at java.lang.Runtime.load0(Runtime.java:770)
    [junit]     at java.lang.System.load(System.java:1003)
    [junit]     at lu.flier.script.V8ScriptEngineFactory.loadLibrary(Unknown Source)
    [junit]     at lu.flier.script.V8ScriptEngineFactory.<clinit>(Unknown Source)
    [junit]     at java.lang.Class.forName0(Native Method)
    [junit]     at java.lang.Class.forName(Class.java:247)
    [junit]     at sun.misc.Service$LazyIterator.next(Service.java:271)
    [junit]     at javax.script.ScriptEngineManager.initEngines(ScriptEngineManager.java:109)
    [junit]     at javax.script.ScriptEngineManager.access$000(ScriptEngineManager.java:37)
    [junit]     at javax.script.ScriptEngineManager$1.run(ScriptEngineManager.java:80)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at javax.script.ScriptEngineManager.init(ScriptEngineManager.java:78)
    [junit]     at javax.script.ScriptEngineManager.<init>(ScriptEngineManager.java:51)
    [junit]     at lu.flier.script.V8ScriptEngineTest.createScriptEngine(Unknown Source)
    [junit]     at lu.flier.script.V8ScriptEngineTest.setUp(Unknown Source)

V8 build has been completed successfull with no errors.

Original issue reported on code.google.com by gaba...@gmail.com on 17 May 2012 at 2:41

GoogleCodeExporter commented 9 years ago
My sysstem is linux 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 
2012 x86_64 GNU/Linux

Original comment by gaba...@gmail.com on 17 May 2012 at 2:42

GoogleCodeExporter commented 9 years ago
I'm also seeing a similar issue:

    [junit] Testcase: testV8ScriptEngineFactory took 0.028 sec
    [junit]     Caused an ERROR
    [junit] /tmp/libjav81280748725732086259.so: /tmp/libjav81280748725732086259.so: undefined symbol: _ZN2v88internal7Isolate12isolate_key_E
    [junit] java.lang.UnsatisfiedLinkError: /tmp/libjav81280748725732086259.so: /tmp/libjav81280748725732086259.so: undefined symbol: _ZN2v88internal7Isolate12isolate_key_E
    [junit]     at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    [junit]     at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
    [junit]     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
    [junit]     at java.lang.Runtime.load0(Runtime.java:770)
    [junit]     at java.lang.System.load(System.java:1003)
    [junit]     at lu.flier.script.V8ScriptEngineFactory.loadLibrary(Unknown Source)
    [junit]     at lu.flier.script.V8ScriptEngineFactory.<clinit>(Unknown Source)
    [junit]     at java.lang.Class.forName0(Native Method)
    [junit]     at java.lang.Class.forName(Class.java:247)
    [junit]     at sun.misc.Service$LazyIterator.next(Service.java:271)
    [junit]     at javax.script.ScriptEngineManager.initEngines(ScriptEngineManager.java:109)
    [junit]     at javax.script.ScriptEngineManager.access$000(ScriptEngineManager.java:37)
    [junit]     at javax.script.ScriptEngineManager$1.run(ScriptEngineManager.java:80)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at javax.script.ScriptEngineManager.init(ScriptEngineManager.java:78)
    [junit]     at javax.script.ScriptEngineManager.<init>(ScriptEngineManager.java:51)
    [junit]     at lu.flier.script.V8ScriptEngineTest.createScriptEngine(Unknown Source)
    [junit]     at lu.flier.script.V8ScriptEngineTest.setUp(Unknown Source)

Is there a known work around for this?

Original comment by bpt.s...@gmail.com on 19 Dec 2012 at 8:14

GoogleCodeExporter commented 9 years ago
Please try the latest SVN trunk code

Original comment by flier...@gmail.com on 14 Jun 2013 at 7:37

GoogleCodeExporter commented 9 years ago
As of last week I could only build the jav8 trunk with a V8 pull from late 
March 2013, ie only a "git checkout 972089b8a21ebcf8f56dca734d53e3e55aa86ced" 
on V8 worked for me, ymmv. 

Original comment by robertla...@gmail.com on 14 Jun 2013 at 9:29