天嵌 ARM开发社区

 找回密码
 注册
查看: 2804|回复: 1

ffmpeg移植板子的glibc版本太低,ffmpeg无法运行

[复制链接]
木♀木 发表于 2012-7-28 15:42:29 | 显示全部楼层 |阅读模式
./ffmpeg: libc.so.6: version `GLIBC_2.7' not found (required by ./ffmpeg)
[root@Real6410 mnt1]# /lib/libc.so.6
GNU C Library stable release version 2.6.1, by Roland McGrath et al.
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.2.2.
Compiled on a Linux >>2.6.20-1.2944.fc6<< system on 2008-01-24.
Available extensions:
        crypt add-on version 2.1 by Michael Glad and others
        Native POSIX Threads Library by Ulrich Drepper et al
        Support for some architectures added on, not maintained in glibc core.
        BIND-8.2.3-T5B
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
板子的版本是2.6.1的,请问高手咋解决?
 楼主| 木♀木 发表于 2012-7-29 14:28:44 | 显示全部楼层
这个问题已经解决,静态编译就行了./configure加上下面两个选项就是静态编译ffmpeg了 --extra-cflags=-static --extra-ldflags=-static
--extra-cflags=ECFLAGS   add ECFLAGS to CFLAGS []
--extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS []
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-23 17:53 , Processed in 1.062500 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表