Undefined reference to vaCopy

Open
#222 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
build-system

Research direction

Reproduce the Yocto build and start with videoprocess/vacopy.cpp at line 544, then inspect the vacopy target around Makefile lines 487 and 459. Determine why the linker cannot resolve vaCopy; done means the vacopy target links successfully and the build completes without this error.

Written by the indexing model from the issue text.

Description

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

Dominant language
C
Stars
244
Forks
175
Avg merge
9d 7h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from intel/libva-utils

All issues in intel/libva-utils

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.