Undefined reference to vaCopy

未关闭
#222 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
cpp
领域
build-system

调研方向

重现 Yocto 构建,并从 videoprocess/vacopy.cpp 第 544 行开始,然后检查 Makefile 第 487 行和第 459 行附近的 vacopy 目标。确定链接器无法解析 vaCopy 的原因;当 vacopy 目标成功完成链接且构建在没有此错误的情况下完成时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

Building the latest libva-utils on yocto gives the following error. Request you to provide a solution.

/usr/lib64/gcc/x86_64-ese-linux/9.3.0/../../../../x86_64-ese-linux/bin/ld: vacopy.o: in function `main':
/home/root/hemanth/libva-utils/videoprocess/vacopy.cpp:544: undefined reference to `vaCopy'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:487: vacopy] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/root/hemanth/libva-utils/videoprocess'
make[1]: *** [Makefile:459: all-recursive] Error 1
make[1]: Leaving directory '/home/root/hemanth/libva-utils'
make: *** [Makefile:391: all] Error 2

主要语言
C
星标
244
派生
175
平均合并
9 天 7 小时
30 天内合并 PR
1

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

intel/libva-utils 的其他 Issue

查看 intel/libva-utils 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。