免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1231 | 回复: 0
打印 上一主题 下一主题

移植FFMPEG到Davinc DM644x ARM上碰到的问题: [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-21 15:27 |只看该作者 |倒序浏览

移植FFMPEG到Davinc DM644x ARM上碰到的问题:

FFMPEG version---ffmpeg-0.5
Cross-compiler  --- TI arm_v5t_le-gcc

进入FFMPEG源码目录,
./configure --prefix=/project/dengjj/ffmpeg/arm_install --cross-prefix=arm_v5t_le- --arch=arm --disable-ffserver  -- disable-ffplay --disable-shared

make

1. 编译到arm/dsputil_vfp.S报错
arm/dsputil_vfp.S:46: Error: bad instruction `vpush {d8-d15}'
arm/dsputil_vfp.S:52: Error: bad instruction `vldmia r3!,{s0-s3}'
arm/dsputil_vfp.S:53: Error: bad instruction `vldmia r1!,{s8-s11}'
arm/dsputil_vfp.S:54: Error: bad instruction `vldmia r3!,{s4-s7}'
arm/dsputil_vfp.S:55: Error: bad instruction `vldmia r1!,{s12-s15}'
arm/dsputil_vfp.S:56: Error: bad instruction `vmul.f32 s8,s0,s8'
arm/dsputil_vfp.S:59: Error: bad instruction `vmul.f32 s12,s4,s12'
arm/dsputil_vfp.S:60: Error: bad instruction `vldmiage r3!,{s16-s19}'
arm/dsputil_vfp.S:61: Error: bad instruction `vldmiage r1!,{s24-s27}'
arm/dsputil_vfp.S:62: Error: bad instruction `vldmiage r3!,{s20-s23}'
arm/dsputil_vfp.S:63: Error: bad instruction `vldmiage r1!,{s28-s31}'
arm/dsputil_vfp.S:64: Error: bad instruction `vmulge.f32 s24,s16,s24'
arm/dsputil_vfp.S:65: Error: bad instruction `vstmia r0!,{s8-s11}'
arm/dsputil_vfp.S:66: Error: bad instruction `vstmia r0!,{s12-s15}'
arm/dsputil_vfp.S:67: Error: bad instruction `vmulge.f32 s28,s20,s28'
arm/dsputil_vfp.S:68: Error: bad instruction `vldmiagt r3!,{s0-s3}'
arm/dsputil_vfp.S:69: Error: bad instruction `vldmiagt r1!,{s8-s11}'
arm/dsputil_vfp.S:70: Error: bad instruction `vldmiagt r3!,{s4-s7}'
arm/dsputil_vfp.S:71: Error: bad instruction `vldmiagt r1!,{s12-s15}'
arm/dsputil_vfp.S:72: Error: bad instruction `vmulge.f32 s8,s0,s8'
arm/dsputil_vfp.S:73: Error: bad instruction `vstmiage r0!,{s24-s27}'
arm/dsputil_vfp.S:74: Error: bad instruction `vstmiage r0!,{s28-s31}'
arm/dsputil_vfp.S:79: Error: bad instruction `vpop {d8-d15}'
arm/dsputil_vfp.S:90: Error: bad instruction `vpush {d8-d15}'

使用TI提供的交叉编译工具可以编译通过。自己做的交叉编译工具有问题。

2. ffmpeg运行所需要的库文件:

arm_v5t_le-ldd bin/ffmpeg
        libz.so.1 => /project/tool/montavista/pro/devkit/arm/v5t_le/target/usr/lib/libz.so.1 (0xdead1000)
        libbz2.so.1.0 => /project/tool/montavista/pro/devkit/arm/v5t_le/target/usr/lib/libbz2.so.1.0 (0xdead2000)
        libm.so.6 => /project/tool/montavista/pro/devkit/arm/v5t_le/target/lib/libm.so.6 (0xdead3000)
        libdl.so.2 => /project/tool/montavista/pro/devkit/arm/v5t_le/target/lib/libdl.so.2 (0xdead4000)
        libgcc_s.so.1 => /project/tool/montavista/pro/devkit/arm/v5t_le/target/lib/libgcc_s.so.1 (0xdead5000)
        libc.so.6 => /project/tool/montavista/pro/devkit/arm/v5t_le/target/lib/libc.so.6 (0xdead6000)
        /lib/ld-linux.so.3 => /project/tool/montavista/pro/devkit/arm/v5t_le/target/lib/ld-linux.so.3 (0xdead7000)


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/54388/showart_1905506.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP