0
我想用PJSIP庫中的CentOS 6,並試圖在入門pjsip.org的頁面給出的步驟錯誤大廈PJSIP:與libyuv的CentOS使
我試圖通過建立PJSIP的lib下面命令序列。
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
的我發現唯一的解決方案是停用lib,因爲我沒有使用視頻: ./configure --disable-libyuv –