构建 PJSIP:使用 libyuv CentOS 时出错
Building PJSIP: error on make with libyuv CentOS
我想在 CentOS 6 中使用 pjsip 库并尝试了 pjsip.org
入门页面中给出的步骤
我尝试使用以下命令序列构建 pjsip 库。
cd pjproject-2.5.5
./configure
make dep
make
在我 运行 最后一个命令之后,我得到了以下错误:
../../yuv/source/row_common.cc: In function ‘void libyuv::YuvPixel(uint8, uint8, uint8, uint8*, uint8*, uint8*, const libyuv::YuvConstants*)’:
../../yuv/source/row_common.cc:1256: erreur: invalid types ‘const signed char __vector__[int]’ for array subscript
../../yuv/source/row_common.cc:1257: erreur: invalid types ‘const signed char __vector__[int]’ for array subscript
../../yuv/source/row_common.cc:1258: erreur: invalid types ‘const signed char __vector__[int]’ for array subscript
../../yuv/source/row_common.cc:1259: erreur: invalid types ‘const signed char __vector__[int]’ for array subscript
../../yuv/source/row_common.cc:1260: erreur: invalid types ‘const short int __vector__[int]’ for array subscript
../../yuv/source/row_common.cc:1261: erreur: invalid types ‘const short int __vector__[int]’ for array subscript
../../yuv/source/row_common.cc:1262: erreur: invalid types ‘const short int __vector__[int]’ for array subscript
../../yuv/source/row_common.cc:1263: erreur: invalid types ‘const short int __vector__[int]’ for array subscript
make[3]: *** [output/libyuv-i686-pc-linux-gnu/row_common.o] Erreur 1
make[3]: quittant le répertoire « /home/ccapelle/pjproject-2.5.5/third_party/build/yuv »
make[2]: *** [libyuv-i686-pc-linux-gnu.a] Erreur 2
make[2]: quittant le répertoire « /home/ccapelle/pjproject-2.5.5/third_party/build/yuv »
make[1]: *** [all] Erreur 1
make[1]: quittant le répertoire « /home/ccapelle/pjproject-2.5.5/third_party/build »
make: *** [all] Erreur 1
这是一个 link 的答案:https://trac.pjsip.org/repos/ticket/1937
./configure --disable-libyuv
我想在 CentOS 6 中使用 pjsip 库并尝试了 pjsip.org
入门页面中给出的步骤我尝试使用以下命令序列构建 pjsip 库。
cd pjproject-2.5.5
./configure
make dep
make
在我 运行 最后一个命令之后,我得到了以下错误:
../../yuv/source/row_common.cc: In function ‘void libyuv::YuvPixel(uint8, uint8, uint8, uint8*, uint8*, uint8*, const libyuv::YuvConstants*)’:
../../yuv/source/row_common.cc:1256: erreur: invalid types ‘const signed char __vector__[int]’ for array subscript
../../yuv/source/row_common.cc:1257: erreur: invalid types ‘const signed char __vector__[int]’ for array subscript
../../yuv/source/row_common.cc:1258: erreur: invalid types ‘const signed char __vector__[int]’ for array subscript
../../yuv/source/row_common.cc:1259: erreur: invalid types ‘const signed char __vector__[int]’ for array subscript
../../yuv/source/row_common.cc:1260: erreur: invalid types ‘const short int __vector__[int]’ for array subscript
../../yuv/source/row_common.cc:1261: erreur: invalid types ‘const short int __vector__[int]’ for array subscript
../../yuv/source/row_common.cc:1262: erreur: invalid types ‘const short int __vector__[int]’ for array subscript
../../yuv/source/row_common.cc:1263: erreur: invalid types ‘const short int __vector__[int]’ for array subscript
make[3]: *** [output/libyuv-i686-pc-linux-gnu/row_common.o] Erreur 1
make[3]: quittant le répertoire « /home/ccapelle/pjproject-2.5.5/third_party/build/yuv »
make[2]: *** [libyuv-i686-pc-linux-gnu.a] Erreur 2
make[2]: quittant le répertoire « /home/ccapelle/pjproject-2.5.5/third_party/build/yuv »
make[1]: *** [all] Erreur 1
make[1]: quittant le répertoire « /home/ccapelle/pjproject-2.5.5/third_party/build »
make: *** [all] Erreur 1
这是一个 link 的答案:https://trac.pjsip.org/repos/ticket/1937
./configure --disable-libyuv