Android - compile android in ubuntu 12

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
scorpionfeng Offline
Junior Member
Posts: 6
Joined: Jun 2014
Reputation: 0
Post: #1
I have compile the xbmc for android in ubuntu 12 system

but I have a error occure in step "make" after ./configure , and the log is bolew ,somebody can help me ?

libtool: finish: PATH="/opt/xbmc-depends/x86_64-linux-gnu-native/bin:/opt/xbmc-depends/x86_64-linux-gnu-native/bin:/opt/xbmc-depends/x86_64-linux-gnu-native/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/lenkeng99/tools/jdk1.7.0_21/bin:/home/lenkeng99/tools/android_env/adt_linux_64/android-ndk-r9d:/home/lenkeng99/tools/android_env/adt_linux_64/adt-bundle-linux-x86_64-20140321/sdk/platform-tools:/home/lenkeng99/tools/android_env/adt_linux_64/adt-bundle-linux-x86_64-20140321/sdk:/sbin" ldconfig -n /opt/xbmc-depends/arm-linux-androideabi-android-14/lib
----------------------------------------------------------------------
Libraries have been installed in:
/opt/xbmc-depends/arm-linux-androideabi-android-14/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
ln -sf pcre_refcount.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre16_refcount.3
ln -sf pcre_study.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre16_study.3
/bin/mkdir -p '/opt/xbmc-depends/arm-linux-androideabi-android-14/bin'
ln -sf pcre_utf16_to_host_byte_order.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre16_utf16_to_host_byte_order.3
ln -sf pcre_version.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre16_version.3
/bin/bash ./libtool --mode=install /usr/bin/install -c pcretest pcregrep '/opt/xbmc-depends/arm-linux-androideabi-android-14/bin'
ln -sf pcre_assign_jit_stack.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_assign_jit_stack.3
ln -sf pcre_compile.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_compile.3
ln -sf pcre_compile2.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_compile2.3
ln -sf pcre_config.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_config.3
ln -sf pcre_copy_named_substring.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_copy_named_substring.3
ln -sf pcre_copy_substring.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_copy_substring.3
ln -sf pcre_dfa_exec.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_dfa_exec.3
ln -sf pcre_exec.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_exec.3
ln -sf pcre_free_study.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_free_study.3
ln -sf pcre_free_substring.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_free_substring.3
libtool: install: /usr/bin/install -c pcretest /opt/xbmc-depends/arm-linux-androideabi-android-14/bin/pcretest
ln -sf pcre_free_substring_list.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_free_substring_list.3
ln -sf pcre_fullinfo.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_fullinfo.3
libtool: install: /usr/bin/install -c pcregrep /opt/xbmc-depends/arm-linux-androideabi-android-14/bin/pcregrep
ln -sf pcre_get_named_substring.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_get_named_substring.3
ln -sf pcre_get_stringnumber.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_get_stringnumber.3
ln -sf pcre_get_stringtable_entries.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_get_stringtable_entries.3
ln -sf pcre_get_substring.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_get_substring.3
ln -sf pcre_get_substring_list.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_get_substring_list.3
ln -sf pcre_jit_exec.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_jit_exec.3
ln -sf pcre_jit_stack_alloc.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_jit_stack_alloc.3
ln -sf pcre_jit_stack_free.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_jit_stack_free.3
ln -sf pcre_maketables.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_maketables.3
ln -sf pcre_pattern_to_host_byte_order.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_pattern_to_host_byte_order.3
ln -sf pcre_refcount.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_refcount.3
ln -sf pcre_study.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_study.3
ln -sf pcre_utf32_to_host_byte_order.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_utf32_to_host_byte_order.3
ln -sf pcre_version.3 /opt/xbmc-depends/arm-linux-androideabi-android-14/share/man/man3/pcre32_version.3
make[6]:正在离开目录 `/home/lenkeng99/tools/xbmc_github/xbmc-android/tools/depends/target/pcre/arm-linux-androideabi-android-14'
make[5]:正在离开目录 `/home/lenkeng99/tools/xbmc_github/xbmc-android/tools/depends/target/pcre/arm-linux-androideabi-android-14'
make[4]:正在离开目录 `/home/lenkeng99/tools/xbmc_github/xbmc-android/tools/depends/target/pcre/arm-linux-androideabi-android-14'
make[3]:正在离开目录 `/home/lenkeng99/tools/xbmc_github/xbmc-android/tools/depends/target/pcre/arm-linux-androideabi-android-14'
touch .installed-arm-linux-androideabi-android-14
make[2]:正在离开目录 `/home/lenkeng99/tools/xbmc_github/xbmc-android/tools/depends/target/pcre'
make[1]:正在离开目录 `/home/lenkeng99/tools/xbmc_github/xbmc-android/tools/depends/target'
make: *** [target/.installed-arm-linux-androideabi-android-14] 错误 2
lenkeng99@lenkeng99:~/tools/xbmc_github/xbmc-android/tools/depends$
find quote
Koying Offline
Team-XBMC Member
Posts: 1,844
Joined: Sep 2008
Reputation: 36
Location: Brussels, Belgium
Post: #2
1) Did you follow README.android?
2) Do an "export lang=C" so that we can have messages in english
3) Post you configure line
4) Post full log on pastebin or equivalent, not snippets
find quote
scorpionfeng Offline
Junior Member
Posts: 6
Joined: Jun 2014
Reputation: 0
Post: #3
hellp, koying

I have adjust my configure , and go on to compile

and I have run into new problem

and Paste the info that you have Request
my step and configure line-----------------------------------------------------------------------
My system in ubuntu 12
$ uname -a
Linux lenkeng99 3.2.0-61-generic #93-Ubuntu SMP Fri May 2 21:31:50 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
(This post was last modified: 2014-06-17 10:50 by Martijn.)
find quote