Перекрестная компиляция freeswitch для ARM "_Float128" не поддерживается для этой целевой ошибки - PullRequest
0 голосов
/ 10 июля 2020

Я пытаюсь перекрестно скомпилировать freeswitch для ARM с помощью arm- linux -gnueabihf-g cc

./configure --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf LDFLAGS="-L/usr/src/realarm/realarm/gcc-linaro/lib/" CPPFLAGES="-I/usr/src/realarm/realarm/gcc-linaro/include" --prefix=/usr/src/freeswitch/lee --disable-libvpx CXXFLAGS="-D__STRICT_ANSI__"

набрал команду make, и в результате компиляция завершилась неудачно со следующими ошибками :

/usr/include/x86_64-linux-gnu/bits/mathcalls.h:322:38: error: ‘_Float128’ is not supported on this 
target
 __MATHDECL (long long int,llround,, (_Mdouble_ __x));
                                  ^
 /usr/include/x86_64-linux-gnu/bits/mathcalls.h:322:38: error: ‘_Float128’ is not supported on this 
target
__MATHDECL (long long int,llround,, (_Mdouble_ __x));
                                  ^
 /usr/include/x86_64-linux-gnu/bits/mathcalls.h:326:1: error: ‘_Float128’ is not supported on this 
target
__MATHCALL (fdim,, (_Mdouble_ __x, _Mdouble_ __y));
  ^
 usr/include/x86_64-linux-gnu/bits/mathcalls.h:326:21: error: ‘_Float128’ is not supported on this 
 target
__MATHCALL (fdim,, (_Mdouble_ __x, _Mdouble_ __y));

/usr/include/x86_64-linux-gnu/bits/math-finite.h:181:35: error: ‘_Float64x’ is not supported on this 
target
__REDIRFROM (__gamma, _r_finite) (_Mdouble_, int *);
                               ^
/usr/include/x86_64-linux-gnu/bits/math-finite.h:183:24: error: ‘_Float64x’ is not supported on this 
target
__extern_always_inline _Mdouble_
                    ^
  In file included from /usr/arm-linux-gnueabihf/include/features.h:424:0,
             from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
             from /usr/arm-linux-gnueabihf/include/stdlib.h:25,
             from ./src/include/switch.h:79,
             from src/switch_apr.c:34:
/usr/include/x86_64-linux-gnu/bits/math-finite.h:184:32: error: ‘_Float64x’ is not supported on this 
target
__NTH (__REDIRFROM (tgamma, ) (_Mdouble_ __d))
                            ^
 In file included from ./src/include/switch_utils.h:43:0,
             from ./src/include/switch.h:122,
             from src/switch_apr.c:34:
 /usr/include/x86_64-linux-gnu/bits/math-finite.h: In function ‘tgammaf64x’:
/usr/include/x86_64-linux-gnu/bits/math-finite.h:187:3: error: ‘_Float64x’ is not supported on this 
target
 _Mdouble_ __res = __REDIRTO (gamma, _r) (__d, &__local_signgam);
 ^
  make[1]: *** [src/libfreeswitch_la-switch_apr.lo] Error 1
  make: *** [all] Error 2

с последующим make, я не могу понять, почему это происходит! Пожалуйста, подскажите, сталкивался ли кто-нибудь из вас с таким же

...