undefined reference to '__fpclassifyd
#1
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
Reply
#2
Which toolchain? (only gcc 4.7 and 4.8 are supported also you should use if possible official NDK r9 - no crystax anymore...).
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)
Reply
#3
(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?
Reply
#4
yep use NDK r9 and gcc - 4.8 (4.7 is not there in NDK r9 by default)
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)
Reply
#5
(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
Reply

Logout Mark Read Team Forum Stats Members Help
undefined reference to '__fpclassifyd1