Apparently the --with-toolchain option appears to be broken in configure. (Unless I'm doing something wrong, which is probably the case)
Here is my input.
kmobs@ubuntu:~/xbmc-android/tools/android/depends$ ./configure --with-toolchain /home/kmobs/android-toolchain/android-14/bin/arm-linux-androideabi
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /home/kmobs/android-toolchain/android-14/bin/arm-linux-androideabi
checking for /home/kmobs/android-toolchain/android-14/bin/arm-linux-androideabi-gcc... no
configure: WARNING: host was not specified. guessing.
checking for gcc... no
however,
kmobs@ubuntu:~/xbmc-android/tools/android/depends$ ls /home/kmobs/android-toolchain/android-14/bin/arm-linux-androideabi-gcc
/home/kmobs/android-toolchain/android-14/bin/arm-linux-androideabi-gcc
The file is there, but for some reason it will not build with the toolchain.
Any idea why?
Thanks.
PersiansOwn
Junior Member Posts: 5 Joined: Nov 2004 Reputation: 0 |
2012-07-14 09:49
Post: #1
(This post was last modified: 2012-07-16 13:38 by Martijn.)
|
| find quote |
Anssi
Team-XBMC Developer Posts: 103 Joined: Dec 2009 Reputation: 3 Location: Tampere, Finland |
2012-07-14 10:27
Post: #2
Use:
Code: ./configure --with-toolchain=/home/kmobs/android-toolchain/android-14I.e. don't add the "/bin/arm-linux-androideabi" and use a '=' between the path and "--with-toolchain". |
| find quote |
SylencedOne
Junior Member Posts: 3 Joined: May 2012 Reputation: 0 |
2012-07-14 14:48
Post: #3
Just curious if you have been able to compile XBMC successfully. During compilation I get the following error:
Code: checking sys/inotify.h usability... yesIn the config.log, I see the following: Code: conftest.cpp:88:32: fatal error: boost/shared_ptr.hpp: No such file or directory |
| find quote |
Anssi
Team-XBMC Developer Posts: 103 Joined: Dec 2009 Reputation: 3 Location: Tampere, Finland |
2012-07-14 15:08
Post: #4
Run make for depends without '-j N', to see if there was some error there. On parallel builds you may sometimes not see the error.
|
| find quote |
s7mx1
Senior Member Posts: 259 Joined: Dec 2007 Reputation: 3 |
2012-07-14 16:28
Post: #5
@anssi
I am experiencing a lot compiling/configuration errors. I had them all squashed thanks to google. Did all the developers compile them under OSX or older SDK/NDK? |
| find quote |
Montellese
Team-XBMC Developer Joined: Jan 2009 Reputation: 20 Location: Switzerland |
2012-07-14 16:50
Post: #6
Support for building on OSX was added only a few weeks ago. The rest of the development was all done on Linux. It would be helpful to know what NDK you are using how you built the standalone toolchain etc.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
s7mx1
Senior Member Posts: 259 Joined: Dec 2007 Reputation: 3 |
2012-07-14 17:00
Post: #7
Installed the latest SDK and NDK:
NDK android-9 SDK platform 10 OS: Ubuntu 12.04 64bit Toolchain used the prebuilt that comes with NDK. Here is my patch http://db.tt/2ECJY3b4 (2012-07-14 16:50)Montellese Wrote: Support for building on OSX was added only a few weeks ago. The rest of the development was all done on Linux. It would be helpful to know what NDK you are using how you built the standalone toolchain etc. |
| find quote |
Anssi
Team-XBMC Developer Posts: 103 Joined: Dec 2009 Reputation: 3 Location: Tampere, Finland |
2012-07-14 17:21
Post: #8
Did you read docs/README.android?
docs/README.android Wrote:Because the Android NDK is lacking support for wide characters (wchar_t) Sounds to me like you used the regular NDK. |
| find quote |
shadow
Senior Member Posts: 131 Joined: Jan 2011 Reputation: 0 |
2012-07-14 18:56
Post: #9
I just finished successfully compiling this with zero experience on compiling Android software before. Here are some notes based on using Linux as the compile environment
The following command saved quite a bit of dependency problems that I had before running it sudo apt-get build-dep xbmc I also had to install curl to get the tarballs which the compile output cut off the name so I had a hard time figuring out Also since I never compiled before and never used eclipse to auto generate it I had the create my own keystore using this command keytool -genkey -v -keystore ~/.android/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US" PS for when it was done and working it took a little to figure how to get the full menu on a source to do stuff like edit it. In the end it was long press the folder then slide my finger off it to leave it selected but not opened, then hit the menu button. Finally I just want to thank the devs for this great software. |
| find quote |
Anssi
Team-XBMC Developer Posts: 103 Joined: Dec 2009 Reputation: 3 Location: Tampere, Finland |
2012-07-14 18:58
Post: #10
For the record, I've never needed to do any keytool stuff manually, and I don't use eclipse. That step shouldn't be necessary.
|
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
Search
Help