Error on compile ffmpeg

Open
#67 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

The failure is reported at ffbuild/library.mak:102 while linking libavfilter/libavfilter.so.7; start by reproducing the ffmpeg build with the shown Transform360 filter and inspect that linker recipe. Check how /usr/local/lib/libTransform360.a is built, then verify the build completes without the R_X86_64_PC32 relocation error.

Written by the indexing model from the issue text.

Description

Hello, I am trying to build my ffmpeg git version with this filter and I get this error

/usr/bin/ld: /usr/local/lib/libTransform360.a(VideoFrameTransformHandler.cpp.o): relocation R_X86_64_PC32 against symbol `_ZTIj@@CXXABI_1.3' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
ffbuild/library.mak:102: recipe for target 'libavfilter/libavfilter.so.7' failed
make: *** [libavfilter/libavfilter.so.7] Error 1

I have followed all the steps in the github

Thanks for all

best regards

Dominant language
C++
Stars
1k
Forks
242
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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 facebook/transform360

All issues in facebook/transform360

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.