Closed alucryd closed 2 years ago
Trying to build ffms2 against ffmpeg 5.0 produces an error during configure:
configure:17197: checking whether FFmpeg works configure:17217: gcc -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -D__STDC_CONSTANT_MACROS -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto conftest.c -lavformat -lavcodec -lswscale -lavutil -lswresample >&5 conftest.c: In function 'main': conftest.c:31:17: warning: implicit declaration of function 'avcodec_register_all' [-Wimplicit-function-declaration] 31 | avcodec_register_all(); | ^~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccTVFp6e.ltrans0.ltrans.o: in function `main': <artificial>:(.text.startup+0xc): undefined reference to `avcodec_register_all' collect2: error: ld returned 1 exit status
Does ffms2 need to be updated?
This was fixed in https://github.com/FFMS/ffms2/commit/586d87de3f896d0c4ff01b21f572375e11f9c3f1 in master, quite a while ago.
Ah sorry, I had found the commit and forgot to close this, thanks for the fix!
Trying to build ffms2 against ffmpeg 5.0 produces an error during configure:
Does ffms2 need to be updated?