Kodi Community Forum

Full Version: undefined reference to '__fpclassifyd
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello ,
I encounter some problem when I compiled xbmc for android,The following is the error logļ¼š
/opt/android-toolchain/android-14/bin/arm-linux-androideabi-gcc -DANDROID -Os -fexceptions -march=armv7-a -mtune=cortex-a9 -mfloat-abi=softfp -mfpu=neon -I/opt/xbmc-deps/arm-linux-androideabi-android-14/include/android-14 -isystem /opt/xbmc-deps/arm-linux-androideabi-android-14/include -o pcretest pcretest.o -L/opt/xbmc-deps/arm-linux-androideabi-android-14/lib -L/opt/xbmc-deps/arm-linux-androideabi-android-14/lib/android-14 ./.libs/libpcreposix.a /home/liuxiaoyao/xbmc-android/tools/depends/target/pcre/arm-linux-androideabi-android-14/.libs/libpcre.a
/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[2]: *** [pcretest] Error 1
make[2]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/target/pcre/arm-linux-androideabi-android-14'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/target/pcre/arm-linux-androideabi-android-14'
make: *** [arm-linux-androideabi-android-14/.libs/libpcre.a] Error 2
What am I doing wrong?
Thanks in advance,
liuxiaoyao
Which toolchain? (only gcc 4.7 and 4.8 are supported also you should use if possible official NDK r9 - no crystax anymore...).
(2013-10-29, 10:48)Memphiz Wrote: [ -> ]Which toolchain? (only gcc 4.7 and 4.8 are supported also you should use if possible official NDK r9 - no crystax anymore...).

my toolchain is gcc 4.7,your mean is that i use the official NDK r9?
yep use NDK r9 and gcc - 4.8 (4.7 is not there in NDK r9 by default)
(2013-10-29, 16:25)Memphiz Wrote: [ -> ]yep use NDK r9 and gcc - 4.8 (4.7 is not there in NDK r9 by default)

I will try it ,thanks