当前位置: 首页 > article >正文

Ubuntu20.04 Rk3588 交叉编译ffmpeg7.0

firefly 公司出的rk3588的设备,其中已经安装了gcc 交叉编译工具,系统版本是Ubuntu20.04。

使用Ubuntu20.04 交叉编译ffmpeg_ubuntu下配置ffmpeg交叉编译器为arm-linux-gnueabihf-gcc-CSDN博客文章浏览阅读541次。ubuntu20.04 交叉编译ffmpeg_ubuntu下配置ffmpeg交叉编译器为arm-linux-gnueabihf-gcchttps://blog.csdn.net/sz76211822/article/details/127815935

该文中configure方法。

./configure --prefix=/opt/build/ --enable-cross-compile --target-os=linux --arch=arm --enable-shared --disable-static --enable-gpl --enable-nonfree --disable-ffplay --enable-swscale --enable-pthreads --disable-yasm --disable-stripping --disable-doc

出现:

/tmp/ccnlzH3P.s: Assembler messages:
/tmp/ccnlzH3P.s:1793: Error: unknown mnemonic `itt' -- `itt gt'
/tmp/ccnlzH3P.s:1794: Error: unknown mnemonic `movgt' -- `movgt x4,x1'
/tmp/ccnlzH3P.s:1795: Error: unknown mnemonic `movgt' -- `movgt x1,x2'
/tmp/ccnlzH3P.s:1797: Error: unknown mnemonic `it' -- `it le'
/tmp/ccnlzH3P.s:1798: Error: unknown mnemonic `movle' -- `movle x1,x3'
/tmp/ccnlzH3P.s:1800: Error: unknown mnemonic `it' -- `it gt'
/tmp/ccnlzH3P.s:1801: Error: unknown mnemonic `movgt' -- `movgt x4,x1'
/tmp/ccnlzH3P.s:1819: Error: unknown mnemonic `itt' -- `itt gt'
/tmp/ccnlzH3P.s:1820: Error: unknown mnemonic `movgt' -- `movgt x3,x0'
/tmp/ccnlzH3P.s:1821: Error: unknown mnemonic `movgt' -- `movgt x0,x1'
/tmp/ccnlzH3P.s:1823: Error: unknown mnemonic `it' -- `it le'
/tmp/ccnlzH3P.s:1824: Error: unknown mnemonic `movle' -- `movle x0,x2'
/tmp/ccnlzH3P.s:1826: Error: unknown mnemonic `it' -- `it gt'
/tmp/ccnlzH3P.s:1827: Error: unknown mnemonic `movgt' -- `movgt x3,x0'
/tmp/ccnlzH3P.s:2053: Error: unknown mnemonic `itt' -- `itt gt'
/tmp/ccnlzH3P.s:2054: Error: unknown mnemonic `movgt' -- `movgt x4,x1'
/tmp/ccnlzH3P.s:2055: Error: unknown mnemonic `movgt' -- `movgt x1,x2'
/tmp/ccnlzH3P.s:2057: Error: unknown mnemonic `it' -- `it le'
/tmp/ccnlzH3P.s:2058: Error: unknown mnemonic `movle' -- `movle x1,x3'
/tmp/ccnlzH3P.s:2060: Error: unknown mnemonic `it' -- `it gt'
/tmp/ccnlzH3P.s:2061: Error: unknown mnemonic `movgt' -- `movgt x4,x1'
/tmp/ccnlzH3P.s:2079: Error: unknown mnemonic `itt' -- `itt gt'
/tmp/ccnlzH3P.s:2080: Error: unknown mnemonic `movgt' -- `movgt x3,x0'
/tmp/ccnlzH3P.s:2081: Error: unknown mnemonic `movgt' -- `movgt x0,x1'
/tmp/ccnlzH3P.s:2083: Error: unknown mnemonic `it' -- `it le'
/tmp/ccnlzH3P.s:2084: Error: unknown mnemonic `movle' -- `movle x0,x2'
/tmp/ccnlzH3P.s:2086: Error: unknown mnemonic `it' -- `it gt'
/tmp/ccnlzH3P.s:2087: Error: unknown mnemonic `movgt' -- `movgt x3,x0'
/tmp/ccnlzH3P.s:2628: Error: unknown mnemonic `itt' -- `itt gt'
/tmp/ccnlzH3P.s:2629: Error: unknown mnemonic `movgt' -- `movgt x15,x4'
/tmp/ccnlzH3P.s:2630: Error: unknown mnemonic `movgt' -- `movgt x4,x11'
/tmp/ccnlzH3P.s:2632: Error: unknown mnemonic `it' -- `it le'
/tmp/ccnlzH3P.s:2633: Error: unknown mnemonic `movle' -- `movle x4,x13'
/tmp/ccnlzH3P.s:2635: Error: unknown mnemonic `it' -- `it gt'
/tmp/ccnlzH3P.s:2636: Error: unknown mnemonic `movgt' -- `movgt x15,x4'
/tmp/ccnlzH3P.s:2654: Error: unknown mnemonic `itt' -- `itt gt'
/tmp/ccnlzH3P.s:2655: Error: unknown mnemonic `movgt' -- `movgt x13,x2'
/tmp/ccnlzH3P.s:2656: Error: unknown mnemonic `movgt' -- `movgt x2,x4'
/tmp/ccnlzH3P.s:2658: Error: unknown mnemonic `it' -- `it le'
/tmp/ccnlzH3P.s:2659: Error: unknown mnemonic `movle' -- `movle x2,x11'
/tmp/ccnlzH3P.s:2661: Error: unknown mnemonic `it' -- `it gt'
/tmp/ccnlzH3P.s:2662: Error: unknown mnemonic `movgt' -- `movgt x13,x2'
/tmp/ccnlzH3P.s:2697: Error: unknown mnemonic `itt' -- `itt gt'
/tmp/ccnlzH3P.s:2698: Error: unknown mnemonic `movgt' -- `movgt x15,x4'
/tmp/ccnlzH3P.s:2699: Error: unknown mnemonic `movgt' -- `movgt x4,x11'
/tmp/ccnlzH3P.s:2701: Error: unknown mnemonic `it' -- `it le'
/tmp/ccnlzH3P.s:2702: Error: unknown mnemonic `movle' -- `movle x4,x13'
/tmp/ccnlzH3P.s:2704: Error: unknown mnemonic `it' -- `it gt'
/tmp/ccnlzH3P.s:2705: Error: unknown mnemonic `movgt' -- `movgt x15,x4'
/tmp/ccnlzH3P.s:2723: Error: unknown mnemonic `itt' -- `itt gt'
/tmp/ccnlzH3P.s:2724: Error: unknown mnemonic `movgt' -- `movgt x13,x2'
/tmp/ccnlzH3P.s:2725: Error: unknown mnemonic `movgt' -- `movgt x2,x4'
/tmp/ccnlzH3P.s:2727: Error: unknown mnemonic `it' -- `it le'
/tmp/ccnlzH3P.s:2728: Error: unknown mnemonic `movle' -- `movle x2,x11'
/tmp/ccnlzH3P.s:2730: Error: unknown mnemonic `it' -- `it gt'
/tmp/ccnlzH3P.s:2731: Error: unknown mnemonic `movgt' -- `movgt x13,x2'
make: *** [ffbuild/common.mak:81: libavfilter/vf_mestimate.o] Error 1

改成:

 ./configure --prefix=/opt/build/ --enable-cross-compile --target-os=linux --arch=arm64 --enable-shared --disable-static --enable-gpl --enable-nonfree --disable-ffplay --enable-swscale --enable-pthreads --disable-yasm --disable-stripping --disable-doc

 即可。

参考:移ffmpeg到axera平台时遇到的错误_unknown mnemonic `emms' -- `emms-CSDN博客

 


http://www.kler.cn/a/401582.html

相关文章:

  • Vue3 虚拟列表组件库 virtual-list-vue3 的使用
  • Gin路由深入
  • 代码随想录算法训练营第五十一天|Day51 图论
  • 人工智能与自动驾驶:从梦想到现实
  • 智谱AI清影升级:引领AI视频进入音效新时代
  • 【分割评价指标-nnUNet V2训练】- AutoDL
  • 疫情下的图书馆管理系统:Spring Boot实现
  • 【MCU】GD32H7定时器使用外部时钟源
  • 01 IP路由基础
  • 集群聊天服务器(13)redis环境安装和发布订阅命令
  • 电子应用设计方案-13:智能消毒柜系统方案设计
  • 【LangChain】LangChain框架快速入门
  • html本地离线引入vant和vue2(详细步骤)
  • 《Python制作动态爱心粒子特效》
  • 【C语言】操作符2(含操作符的应用)
  • 小学知识相关链接
  • 阿里云轻量应用服务器可以用在哪些场景呢
  • 《YOLO:目标检测领域的璀璨之星》
  • 网络安全之信息收集-实战-2
  • 青训营刷题笔记09
  • 【mongodb】社区版8:改变配置bindip和授权
  • Spire.PDF for .NET【页面设置】演示:更改 PDF 页面大小
  • 外汇市场中的羊群效应:如何克服盲目追随
  • CC工具箱使用指南:【CAD导出界址点Excel】
  • Windows多JDK版本管理工具JVMs
  • 了解鱼叉式网络钓鱼攻击的社会工程学元素