重新提出来ffmpeg configure编译的问题

mz454619501 mz454619501 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
老话题了,在论坛里面找到一个一样的帖子,也有好多人遇到这个问题,但是貌似没有给出解决方案,现在重新提出来,有谁知道怎么解决?

在官网下载的ffmpeg:http://ffmpeg.org/

root@ubuntu:/mnt/hgfs/NXP/6410/ffmpeg-2.4.2# ./configure --disable-shared --enable-static --prefix=/mnt/hgfs/NXP/6410/mpeg/ --cross-prefix=/opt/Mozart_toolchain/arm-eabi-uclibc/usr/bin/arm-linux- --arch=arm --target-os=linux --enable-gpl --disable-bzlib --disable-zlib
提示:
License: GPL version 2 or later
Creating config.mak, config.h, and doc/config.texi...
libavutil/avconfig.h is unchanged

WARNING: /opt/Mozart_toolchain/arm-eabi-uclibc/usr/bin/arm-linux-pkg-config not found, library detection may fail.
然后忽略warning,直接make:
提示:


root@ubuntu:/mnt/hgfs/NXP/6410/ffmpeg-2.4.2# make
make: Warning: File `.version' has modification time 1.5 s in the future
CC libavdevice/alldevices.o
In file included from ./libavutil/internal.h:168,
from ./libavutil/common.h:415,
from ./libavutil/avutil.h:289,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/libm.h:87: error: static declaration of 'fminf' follows non-static declaration
make: *** [libavdevice/alldevices.o] Error 1

...全文
评论 2
收藏 已收藏
分享
返回顶部