Posts: 191
Joined: Dec 2011
Reputation:
7
Begall
Senior Member
Posts: 191
--with-toochain
is not
--with-toolchain
Posts: 159
Joined: Feb 2009
Reputation:
0
rickx
Senior Member
Posts: 159
I keep getting "Arm toolchain not found bla bla" errors when configuring deps.
But maybe the problem lays here: (3.3 of README)
The --install-dir option (and therefore the <android-toolchain> value)
specifies where the resulting toolchain should be installed (your choice).
# cd <android-ndk>
# ls platforms
# cd build/tools
# ./make-standalone-toolchain.sh --ndk-dir=../../ \
--install-dir=<android-toolchain>/android-9 --platform=android-9
Could anybody reverse-engineer this to me? What I thought this to mean was
that you are free to set any new/empty folder as the place to put the to-be-built toolchain,
for some reason (or no reason) adding an android-9 subfolder thereafter.
So - before any other question - is this so?
Following the rest of the README and adding three env. vars still gives me the error.
host, build etc parameters are not explained anywhere but configure suggests them.
Posts: 5,184
Joined: Jan 2009
Reputation:
131
Yes you can specify any directory/path you like. The "android-9" is optional as well, it's just "good practice" because the platform of the toolchain is android-9. Concerning your problem, did you call configure with --with-toolchain=<android-toolchain-including-"android-9">? Maybe you forgot that?
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 159
Joined: Feb 2009
Reputation:
0
rickx
Senior Member
Posts: 159
No, problem was not the parameter. It was indeed the misunderstanding the part pasted above.
<android-toolchain> is not a freely choosable folder, but a folder inside android-ndk/toolchains/and-here-choosable
so after guessing that, things _magically_ worked. Thanks anyway.
Posts: 5,184
Joined: Jan 2009
Reputation:
131
Nope <android-toolchain> is freely choosable. On my system I have the crystax ndk in "/opt/android-ndk-r7-crystax-5.beta2" and the standalone toolchain in "/opt/android-toolchains/crystax-9" so definitely not in the ndk directory. So you're problem must be somewhere else. Have you check if the standalone toolchain has really been created in the directory you pointed to?
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 159
Joined: Feb 2009
Reputation:
0
rickx
Senior Member
Posts: 159
That's similar to my previous setup. Created separate folder for toolchain. After the create-toolchain script it contains 6 folders and the 2 copying files, yes everything seems to be there. But at the point where configure looks for host and consequently gcc (not -gcc) it does not recognize host, cpu and gcc. Not even that there's a toolchain. Repeated the whole thing with toolchain inside android-ndk/toolchains/arm-linux-blabla/android-9 and it worked. You are saying it's sort of...luck and does not depend on the location/presence of other stuff. Ok. I'll retry in the future when my mele a2000 arrives. For now I can go on with the rest of the readme. Thanks again.
Posts: 5,184
Joined: Jan 2009
Reputation:
131
It would help if you could post how you call configure and what environment variables you've set.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 16,946
Joined: Feb 2011
Reputation:
256
you used crystax ndk for sure?
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
no, if Google NDK is missing stuff we need that is supplied by Crystax, then we really don't have a choice, do we.
Posts: 520
Joined: Jun 2011
Reputation:
2
hi, I have been trying to compile xbmc for android all all day, had various lib issues which I think I have solved but still struggling on:
/xbmc-android/tools/android/depends$ sudo make
it goes for ages and then:
make -C afpfs-ng
make[1]: Entering directory `/home/billy/xbmc-android/tools/android/depends/afpfs-ng'
rm -rf armeabi-v7a; mkdir -p armeabi-v7a
/bin/sh: 1: rm: not found
/bin/sh: 1: mkdir: not found
make[1]: *** [armeabi-v7a] Error 127
make[1]: Leaving directory `/home/billy/xbmc-android/tools/android/depends/afpfs-ng'
make: *** [afpfs-ng] Error 2
Can someone assist? google hasn't helped so far, t y.