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

mz454619501 2014-10-20 11:50:26
老话题了,在论坛里面找到一个一样的帖子,也有好多人遇到这个问题,但是貌似没有给出解决方案,现在重新提出来,有谁知道怎么解决?

在官网下载的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

...全文
769 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
pengzhiyong 2014-10-23
  • 打赏
  • 举报
回复
刚才说的不对,应该是跟./configure 的配置有关系,你用一个最简单的试试。
pengzhiyong 2014-10-23
  • 打赏
  • 举报
回复
我2014年10月22日遇到这个问题,我是在win7下面编译ffmpeg。我是把代码放到了C:\MinGW\msys\1.0\home\xxx\目录下面(xxx代表一个用户目录)然后make。好像行。你试试 但是我现在遇到新的问题在make过程中: c:\mingw\bin\strip.exe: 'libavfilter/x86/af_volume.o': No such file make: [libavfilter/x86/af_volume.o] Error 1 (ignored) CC libavfilter/x86/af_volume_init.o vsyasm: warning: unrecognized option `-M' YASM libavfilter/x86/vf_gradfun.o STRIP libavfilter/x86/vf_gradfun.o c:\mingw\bin\strip.exe: 'libavfilter/x86/vf_gradfun.o': No such file make: [libavfilter/x86/vf_gradfun.o] Error 1 (ignored) CC libavfilter/x86/vf_gradfun_init.o vsyasm: warning: unrecognized option `-M' YASM libavfilter/x86/vf_idet.o STRIP libavfilter/x86/vf_idet.o 你遇到过吗?

21,616

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 驱动开发/核心开发
社区管理员
  • 驱动开发/核心开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧