[FFmpeg-user] Trying to compile ffmpeg 7.1

David Niklas deference at null.net
Fri Dec 20 04:38:10 EET 2024


On Thu, 19 Dec 2024 21:18:01 -0500
David Niklas <deference at null.net> wrote:
> Hello,
> I'm trying to compile the latest build of ffmpeg, 7.1 on Devuan (Debian
> bullseye) Linux.
> I'm running into some problems.
>
> I don't know what to put into the arch argument to configure. I thought,
> znver2 would be sufficient. But I just get "warning unknown architecture
> znver2" Is znver2 not supported or am I missing something?
>
> Also, I keep getting configure errors specifying that a library doesn't
> exist, but in reality the error is that stdbit.h cannot be found.
> Searching online isn't helping. Could you tell me where to find it?
>
> Thanks!


Hello again,
I've hit a wall. First I couldn't compile with librsvg.

# librsvg2-dev/oldstable,oldstable-security,now 2.50.3+dfsg-1+deb11u1
% nice -n19 make
CC      libavcodec/librsvgdec.o
libavcodec/librsvgdec.c: In function 'librsvg_decode_frame':
libavcodec/librsvgdec.c:93:5: error: 'viewport' undeclared (first use in
this function) 93 |     viewport.width = dimensions.width;
      |     ^~~~~~~~
libavcodec/librsvgdec.c:93:5: note: each undeclared identifier is
reported only once for each function it appears in make: ***
[ffbuild/common.mak:81: libavcodec/librsvgdec.o] Error 1

# And now ffmpeg is not linking properly.
% nice -n19 make
LD      ffmpeg_g
/usr/bin/ld: libavutil/libavutil.a(tx.o): in function
`ff_tx_decompose_length': /root/working/ffmpeg-7.1/libavutil/tx.c:419:
undefined reference to `ff_tx_codelet_list_float_x86' /usr/bin/ld:
libavutil/libavutil.a(tx.o):(.data.rel.ro+0x20): undefined reference to
`ff_tx_codelet_list_float_x86' collect2: error: ld returned 1 exit status
make: *** [Makefile:141: ffmpeg_g] Error 1

Any ideas?
Thanks!


More information about the ffmpeg-user mailing list