-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"libavcodec/x86/mathops.h" has "Error: operand type mismatch for 'shr'" with binutil >= 2.41 #11
Comments
Thanks for the info! I think we should provide a Dockerfile for this repository to make the build more reproducible. Unfortunately, due to the older ffmpeg version and the various modifications made to it, it's not that portable. |
So I checked — I still have to do some tests with the Docker image… |
Ah, maybe I saw the missing libraries first when I tried to skip to compile
the local ffmepg and rather use the system one. So maybe, it is a false
positive. Also, I ended up compiling this project because of itu-t
p.1204.3. So, the unsuccessful initial compiling was triggered by it.
I am not home now, I will check Monday for a reason for the 1st error.
Le mer. 8 mai 2024 à 13:46, Werner Robitza ***@***.***> a
écrit :
… So I checked — libavcodec-dev and libavformat-dev are definitely not
needed as dependencies, as the libraries are already part of the modified
ffmpeg source code and should be found by scons relative to the local
directory.
The patch does not seem to be necessary per my testing with Ubuntu 22.04
in a Dockerfile with the linux/amd64 image. What is your system like?
—
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3YAFDTR7X2TPXSY75FL6DZBIGA5AVCNFSM6AAAAABHLQDIV2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBQGM4TIOJRGA>
.
You are receiving this because you authored the thread.Message ID:
<Telecommunication-Telemedia-Assessment/bitstream_mode3_videoparser/issues/11/2100394910
@github.com>
|
So the reason of the patch is for:
https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/effadce6c756247ea8bae32dc13bb3e6f464f0eb Now, I checked and the system has such version of |
Just tried to build the project on Ubuntu 22.04, it worked but I had to do a few changes:
Apply a patch to
libavcodec/x86/mathops.h
againstError: operand type mismatch for 'shr'
Patch: https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/effadce6c756247ea8bae32dc13bb3e6f464f0eb
found from https://bbs.archlinux.org/viewtopic.php?id=289424
Also(False positive, see comment)scons
needed the extra libraries:libavcodec-dev
andlibavformat-dev
The text was updated successfully, but these errors were encountered: