Ffmpeg 使用libx264为Raspberry pi编译Xugler时出现问题2

Ffmpeg 使用libx264为Raspberry pi编译Xugler时出现问题2,ffmpeg,raspberry-pi,raspbian,xuggler,libx264,Ffmpeg,Raspberry Pi,Raspbian,Xuggler,Libx264,我正在尝试编译Raspberry Pi(在Debian OS上运行,又称Raspbian) 我遵循了可用于编译Xugler的“基本构建说明” 成功安装所有必备组件并设置正确路径后,我运行了以下命令: ant run-tests 过了一段时间,我面临以下错误,ant构建在libx264上失败: {在日志末尾滚动查看问题} common/arm/mc-c.c: In function âx264_weight_cache_neonâ: common/arm/mc-c.c:89:25: warnin

我正在尝试编译Raspberry Pi(在Debian OS上运行,又称Raspbian)

我遵循了可用于编译Xugler的“基本构建说明”

成功安装所有必备组件并设置正确路径后,我运行了以下命令:

ant run-tests
过了一段时间,我面临以下错误,ant构建在libx264上失败:

{在日志末尾滚动查看问题}

common/arm/mc-c.c: In function âx264_weight_cache_neonâ:
common/arm/mc-c.c:89:25: warning: assignment discards âconstâ qualifier from pointer target type [enabled by default]
common/arm/mc-c.c:94:25: warning: assignment discards âconstâ qualifier from pointer target type [enabled by default]
common/arm/mc-c.c:99:21: warning: assignment discards âconstâ qualifier from pointer target type [enabled by default]
common/arm/mc-c.c:101:21: warning: assignment discards âconstâ qualifier from pointer target type [enabled by default]
common/arm/mc-c.c: In function âx264_mc_init_armâ:
common/arm/mc-c.c:236:19: warning: assignment discards âconstâ qualifier from pointer target type [enabled by default]
common/arm/mc-c.c:237:19: warning: assignment discards âconstâ qualifier from pointer target type [enabled by default]
common/arm/mc-c.c:238:19: warning: assignment discards âconstâ qualifier from pointer target type [enabled by default]
gcc -Wshadow -O3 -fno-fast-math -I/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/stage/home/pi/Downloads/xuggler/include  -Wall -I. -I.  -I'/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/stage/home/pi/Downloads/xuggler/include' -std=gnu99 -mcpu=cortex-a8 -mfpu=neon -fPIC -fomit-frame-pointer -fno-tree-vectorize   -c -o common/arm/predict-c.o common/arm/predict-c.c
as -I/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/stage/home/pi/Downloads/xuggler/include  -Wall -I. -I.  -I'/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/stage/home/pi/Downloads/xuggler/include' -std=gnu99 -mcpu=cortex-a8 -mfpu=neon -c -DPIC -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8 -o common/arm/cpu-a.o common/arm/cpu-a.S
as: unrecognized option '-std=gnu99'
make[1]: *** [common/arm/cpu-a.o] Error 1
make[1]: Leaving directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libx264/csrc'
make: *** [all-local] Error 2
我无法理解“Unrecogned option'-std=gnu99'”这一问题,有人能告诉我如何在xuggler中解决或绕过它吗?已知“ant run tests”在某些架构上失败。当您仅运行以下命令时,是否会出现相同的错误

ant stage
我已经成功地用“ant stage”在树莓皮上构建了Xuggler。这就产生了魔法罐,可以在许多不同的ARM计算机上使用。我个人只对构建该库的LGPL版本感兴趣,您可以在这里签出构建pi分支的代码:


这不包括X264支持,因为它构建了LGPL版本。我知道也有可能建立标准的GPL版本,只是我还没有做到。您可以查看我最近的几次提交,看看我做了哪些更改,以使其建立在pi上。

对不起,我以前没有看到过这个错误。我知道Sudhir Kumar(gmail的sudhirm4)已经在pi上构建了支持x264的Xugler。你可以试着和他联系。