Kodi Community Forum

Full Version: Branch Frodo - Deps compile failed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Branch Frodo, under ubuntu 12.04 gcc 4.8.1

ndk r9b; sdk: latest; platform target to 4.2.2

error occurs when make deps.


Code:
make -C ncurses
make[1]: Entering directory `/root/xbmc-android-frodo/tools/android/depends/ncurses'
make -C armeabi-v7a
make[2]: Entering directory `/root/xbmc-android-frodo/tools/android/depends/ncurses/armeabi-v7a'
cd include && make -w DESTDIR="" all
make[3]: Entering directory `/root/xbmc-android-frodo/tools/android/depends/ncurses/armeabi-v7a/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/xbmc-android-frodo/tools/android/depends/ncurses/armeabi-v7a/include'
cd ncurses && make -w DESTDIR="" all
make[3]: Entering directory `/root/xbmc-android-frodo/tools/android/depends/ncurses/armeabi-v7a/ncurses'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/xbmc-android-frodo/tools/android/depends/ncurses/armeabi-v7a/ncurses'
cd panel && make -w DESTDIR="" all
make[3]: Entering directory `/root/xbmc-android-frodo/tools/android/depends/ncurses/armeabi-v7a/panel'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/xbmc-android-frodo/tools/android/depends/ncurses/armeabi-v7a/panel'
cd menu && make -w DESTDIR="" all
make[3]: Entering directory `/root/xbmc-android-frodo/tools/android/depends/ncurses/armeabi-v7a/menu'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/xbmc-android-frodo/tools/android/depends/ncurses/armeabi-v7a/menu'
cd form && make -w DESTDIR="" all
make[3]: Entering directory `/root/xbmc-android-frodo/tools/android/depends/ncurses/armeabi-v7a/form'
/opt/android-toolchain-arm/android-17/bin/arm-linux-androideabi-gcc -I../ncurses -DHAVE_CONFIG_H -DANDROID -Os -march=armv7-a -mtune=cortex-a9 -mfloat-abi=softfp -mfpu=neon -D__ARM_ARCH_7__ -D__ARM_ARCH_7A__ -I/opt/android-toolchain-arm/android-17/staging/armeabi-v7a/include -I/opt/android-toolchain-arm/android-17/staging/armeabi-v7a/include/android-17 -fexceptions -DNDEBUG -I. -I../include -I/opt/android-toolchain-arm/android-17/staging/armeabi-v7a/include/ncurses -DANDROID -Os -march=armv7-a -mtune=cortex-a9 -mfloat-abi=softfp -mfpu=neon -D__ARM_ARCH_7__ -D__ARM_ARCH_7A__ -I/opt/android-toolchain-arm/android-17/staging/armeabi-v7a/include -I/opt/android-toolchain-arm/android-17/staging/armeabi-v7a/include/android-17 -fexceptions  --param max-inline-insns-single=1200 -c ../form/fty_num.c -o ../objects/fty_num.o
../form/fty_num.c: In function 'Check_This_Field':
../form/fty_num.c:44:43: error: 'struct lconv' has no member named 'decimal_point'
#define isDecimalPoint(c) ((c) == ((L && L->decimal_point) ? *(L->decimal_point) : '.'))
                                           ^
../form/fty_num.c:250:11: note: in expansion of macro 'isDecimalPoint'
       if (isDecimalPoint(*bp))
           ^
../form/fty_num.c:44:65: error: 'struct lconv' has no member named 'decimal_point'
#define isDecimalPoint(c) ((c) == ((L && L->decimal_point) ? *(L->decimal_point) : '.'))
                                                                 ^
../form/fty_num.c:250:11: note: in expansion of macro 'isDecimalPoint'
       if (isDecimalPoint(*bp))
           ^
../form/fty_num.c: In function 'Check_This_Character':
../form/fty_num.c:44:43: error: 'struct lconv' has no member named 'decimal_point'
#define isDecimalPoint(c) ((c) == ((L && L->decimal_point) ? *(L->decimal_point) : '.'))
                                           ^
../form/fty_num.c:302:5: note: in expansion of macro 'isDecimalPoint'
     isDecimalPoint(c))
     ^
../form/fty_num.c:44:65: error: 'struct lconv' has no member named 'decimal_point'
#define isDecimalPoint(c) ((c) == ((L && L->decimal_point) ? *(L->decimal_point) : '.'))
                                                                 ^
../form/fty_num.c:302:5: note: in expansion of macro 'isDecimalPoint'
     isDecimalPoint(c))
     ^
make[3]: *** [../objects/fty_num.o] Error 1
make[3]: Leaving directory `/root/xbmc-android-frodo/tools/android/depends/ncurses/armeabi-v7a/form'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/xbmc-android-frodo/tools/android/depends/ncurses/armeabi-v7a'
make[1]: *** [armeabi-v7a/lib/libncurses.a] Error 2
make[1]: Leaving directory `/root/xbmc-android-frodo/tools/android/depends/ncurses'
make: *** [ncurses] Error 2

config.log under ncurses : https://www.dropbox.com/s/dqzwyhaewkp37w...ig.log.zip.

Pls help! Thx!
You didn't read https://github.com/xbmc/xbmc/blob/Frodo/...ME.android ... frodo branch can only be compiled with crystax ndk ...
Thanks!

OK, I switched to crystax ndk 8, is this version right?

Which version of toolchain/sdk platform/GCC should I use?

My box os version is based on Android 4.2.2, and chipset is AMLogic MX

I want the hw acc working on Frodo by compile para tweak, is this posible?

Code:
./make-standalone-toolchain.sh --ndk-dir=../../ --install-dir=../../../android-toolchain-arm/android-9 --platform=android-9 --toolchain=arm-linux-androideabi-4.7 --system=linux-x86_64

......

./configure --prefix=/opt/xbmc-deps-frodo \
--with-toolchain=/opt/android-toolchain-arm/android-9 --with-sdk-platform=android-9 \
--with-tarballs=$HOME/xbmc-tarballs --host=arm-linux-androideabi

......

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/android-toolchain-arm/android-9/bin
JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64
XBMC_ANDROID_NDK=/opt/android-ndk
XBMC_ANDROID_SDK=/opt/android-sdk

I follow the README.android step by step,

and the new error occurs.

Code:
/home/crystax/work/ndk/platform/ndk/sources/crystax/src/gdtoa/_hdtoa.c:112: error: undefined reference to '__fpclassifyd'
/home/crystax/work/ndk/platform/ndk/sources/crystax/src/gdtoa/_ldtoa.c:108: error: undefined reference to '__fpclassifyd'
collect2: error: ld returned 1 exit status
make[3]: *** [pcretest] Error 1
make[3]: Leaving directory `/root/xbmc-android-frodo/tools/android/depends/pcre/armeabi-v7a'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/xbmc-android-frodo/tools/android/depends/pcre/armeabi-v7a'
make[1]: *** [armeabi-v7a/.libs/libpcre.a] Error 2
make[1]: Leaving directory `/root/xbmc-android-frodo/tools/android/depends/pcre'
make: *** [pcre] Error 2
try gcc 4.6 - sdk doesn't matter. If this doesn't work - go for android-14 api. Sorry frodo is so outdated when it comes to android and it wasn't even officially released for android iirc - so you have to do a bit of digging if you want to compile that old hunk.
switched to 4.6, and tried a lots of combines, still the same error on pcre:

Code:
/opt/android-toolchain-arm/android-9/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /opt/android-toolchain-arm/android-9/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/lib/armv7-a/libcrystax.a(_hdtoa.o): in function __hdtoa:/home/crystax/work/ndk/platform/ndk/sources/crystax/src/gdtoa/_hdtoa.c:112: error: undefined reference to '__fpclassifyd'
/opt/android-toolchain-arm/android-9/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /opt/android-toolchain-arm/android-9/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/lib/armv7-a/libcrystax.a(_ldtoa.o): in function __ldtoa:/home/crystax/work/ndk/platform/ndk/sources/crystax/src/gdtoa/_ldtoa.c:108: error: undefined reference to '__fpclassifyd'
collect2: ld returned 1 exit status
make[3]: *** [pcretest] Error 1
make[3]: Leaving directory `/root/xbmc-android-frodo/tools/android/depends/pcre/armeabi-v7a'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/xbmc-android-frodo/tools/android/depends/pcre/armeabi-v7a'
make[1]: *** [armeabi-v7a/.libs/libpcre.a] Error 2
make[1]: Leaving directory `/root/xbmc-android-frodo/tools/android/depends/pcre'
make: *** [pcre] Error 2

I thought I should giveup this version....I have no idea about how to solve these problem....
i can tell you that i built the frodo branch yesterday on one of our buildservers (for the upcoming 12.3 release) and ot worked like a charme. I just followed the docs/README.android and was done after 30mins...
did you really used the right crystax version (something with beta3 at the end iirc) - the exact version to use is mentioned in the readme aswell...
Thanks again,

My fault! I downloaded the Crystax ndk 8, not 7 beta3, so it build failed...

switched to 7beta3, and use Pivos branch, finally got the apk.

but, on AMLogic MX box/OS Android 4.2.2, only audio, the video frame is totally empty.


the thread about "depends build failed" can close now.

Thanks!