symbol cannot be undefined in a subtraction expression

238 views
Skip to first unread message

Jaroslav Tulach

unread,
Apr 24, 2015, 10:14:32 AM4/24/15
to rob...@googlegroups.com
Hi.
Today I was about to verify client mode debugging, but when building my code with 1.1.1-SNAPSHOT I get: 

LLVM ERROR: symbol 'L_[J]com.android.okhttp.OkHttpClient.<init>(Lcom/android/okhttp/OkHttpClient;)V_end' can not be undefined in a subtraction expression

is it known problem or did I just build something incorrectly locally?
-jt

Niklas Therning

unread,
Apr 24, 2015, 10:26:29 AM4/24/15
to Jaroslav Tulach, rob...@googlegroups.com
Is this on Linux, OS X or iOS? I know which change may have caused this but I haven't seen it myself on OS X/iOS.

--
You received this message because you are subscribed to the Google Groups "RoboVM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robovm+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jaroslav Tulach

unread,
Apr 27, 2015, 10:41:10 AM4/27/15
to RoboVM

Hello Niklas,

I did the testing on Mac OS X. My version of Xcode is Version 6.2 (6C131e). I did compile robovm first:


$ git pull

From https://github.com/robovm/robovm

   cfede66..871d247  master     -> origin/master

Updating cfede66..871d247

Fast-forward

 tests/drlvm/robovm-vts.sh | 7 +++++--

 1 file changed, 5 insertions(+), 2 deletions(-)

$ mvn clean install -DskipTests


Then I recompiled robovm-dist:


$ git show | head -n 3

commit 43b94742668928a11133fe92da7a5975b1486d18

Author: Jenkins <jen...@robovm.com>

Date:   Wed Apr 15 22:35:18 2015 +0200

$ mvn clean install


after that I recompiled the maven plugin:


$ git show | head -n 3

commit 43b94742668928a11133fe92da7a5975b1486d18

Author: Jenkins <jen...@robovm.com>

Date:   Wed Apr 15 22:35:18 2015 +0200

$ mvn clean install


and at the end I tried to compile DukeScript:


$ git clone https://github.com/dukescript/dukescript-presenters

$ cd dukescript-presenters

# then modify the robovm.version, so:

$ git diff

diff --git a/pom.xml b/pom.xml

index b5796b7..d8b0719 100644

--- a/pom.xml

+++ b/pom.xml

@@ -67,7 +67,7 @@

         <testng.version>6.7</testng.version>

         <netbeans.version>RELEASE80</netbeans.version>

         <obfuscation.seed>now</obfuscation.seed>

-        <robovm.version>1.0.0</robovm.version>

+        <robovm.version>1.1.1-SNAPSHOT</robovm.version>

     </properties>

$ mvm clean install

LLVM ERROR: symbol 'L_[J]com.android.okhttp.OkHttpClient.<init>(Lcom/android/okhttp/OkHttpClient;)V_end' can not be undefined in a subtraction expression


It fails...

-jt

Niklas Therning

unread,
Apr 27, 2015, 11:25:48 AM4/27/15
to Jaroslav Tulach, RoboVM
Are you running one of our snapshot builds or are you building yourself from source? If you are building yourself would you mind testing with the latest snapshot and see if that makes a difference? Just to rule out that there's any problems with your build env.

Jaroslav Tulach

unread,
Apr 30, 2015, 5:49:24 AM4/30/15
to rob...@googlegroups.com


Dne pondělí 27. dubna 2015 17:25:48 UTC+2 Niklas Therning napsal(a):
Are you running one of our snapshot builds or are you building yourself from source? If you are building yourself would you mind testing with the latest snapshot and see if that makes a difference? Just to rule out that there's any problems with your build env.


I just tried today with the official 1.1.1-SNAPSHOT and I don't see the issue anymore. Might have been a problem between my chair and keyboard.
-jt

 

To unsubscribe from this group and stop receiving emails from it, send an email to robovm+unsubscribe@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.



Reply all
Reply to author
Forward
0 new messages