Android Compile error: "/bin/bash: @AR@: command not found"
#1
Environment:
Ubuntu 16.04.1 in Vmware
Android ARM Toolchain
Latest Android SDK
Android NDK r12b
Dependencies and binary addons compiled fine.

I did a git pull today (17.1.2017) and tried to compile everything.
I used the configuration, which worked since many builds.
I also tried this:
(2017-01-06, 10:52)wsnipex Wrote: we switched to cmake, docs haven't been updated yet. Use:
make -C tools/depends/target/cmakebuildsys instead of make -C tools/depends/target/xbmc/
But it always throws the following errors:

Code:
bill@bill-virtual-machine:~/kodi-krypton$ make
CPP     xbmc/cores/DllLoader/exports/emu_dummy.o
CPP     xbmc/cores/DllLoader/exports/emu_kernel32.o
CPP     xbmc/cores/DllLoader/exports/emu_msvcrt.o
AR      xbmc/cores/DllLoader/exports/exports.a
/bin/bash: @AR@: command not found
/home/bill/kodi-krypton/Makefile.include:138: recipe for target 'exports.a' failed
make[1]: *** [exports.a] Error 127
Makefile:432: recipe for target 'xbmc/cores/DllLoader/exports/exports.a' failed
make: *** [xbmc/cores/DllLoader/exports/exports.a] Error 2

Any ideas?
thanks in advance
Reply
#2
need more info. Full log starting from
make -C tools/depends/target/cmakebuildsys

also tools/depends/Makefile.include and tools/depends/target/Toolchain.cmake

and please use pastebin, do not post the logs inline here
Reply
#3
Here are the logs you've requested:

" make -C tools/depends/target/cmakebuildsys"
http://pastebin.com/ifUpQncR

" tools/depends/Makefile.include"
http://pastebin.com/3NZFqcij

" tools/depends/target/Toolchain.cmake"
http://pastebin.com/SQwgLvLd
Reply
#4
looks correct, although this is not a clean build dir. You might want to delete /home/bill/kodi-krypton/build and run make -C tools/depends/target/cmakebuildsys again.

now run build kodi with

make VERBOSE=1 | tee build.log

if it fails, pastebin build.log
Reply
#5
same error.
Pastebin build.log:
http://pastebin.com/GJTmwsRR
Reply
#6
Ok, I started from scratch and Kodi compiles now.
But: just running

make -C tools/depends/target/cmakebuildsys instead of make -C tools/depends/target/xbmc/

is not enough, because there are no makefiles created.
Reply

Logout Mark Read Team Forum Stats Members Help
Compile error: "/bin/bash: @AR@: command not found"0