ffmpeg v5.1.4 for DOS (Announce)
> >
> > Don't know for sure yet what's going on with v6.x
> > Will get back to it sometime later to get more 'into it'.
> >
>
> Found the problem.
> Tried building v6.1.1 for Linux but without pthreads.
> _________________________________________________________
>
> root@glennmcc-i7:~/build/ffmpeg-6.1.1# ./configure --disable-pthreads
>
> root@glennmcc-i7:~/build/ffmpeg-6.1.1# time make
>
> Even tho I disabled pthreads.... it still got these errors and it did not
> build ffmpeg, ffprobe, ffplay for Linux.
>
> In file included from libavcodec/vulkan.c:19:
> ./libavutil/vulkan.c: In function 'ff_vk_exec_pool_free':
> ./libavutil/vulkan.c:267:9: error: implicit declaration of function
> 'pthread_mutex_destroy'; did you mean 'ff_mutex_destroy'?
> [-Werror=implicit-function-declaration]
> 267 | pthread_mutex_destroy(&e->lock);
> | ^~~~~~~~~~~~~~~~~~~~~
> | ff_mutex_destroy
> ./libavutil/vulkan.c: In function 'ff_vk_exec_pool_init':
> ./libavutil/vulkan.c:410:15: error: implicit declaration of function
> 'pthread_mutex_init' [-Werror=implicit-function-declaration]
> 410 | err = pthread_mutex_init(&e->lock, NULL);
> | ^~~~~~~~~~~~~~~~~~
> ./libavutil/vulkan.c: In function 'ff_vk_exec_wait':
> ./libavutil/vulkan.c:507:5: error: implicit declaration of function
> 'pthread_mutex_lock' [-Werror=implicit-function-declaration]
> 507 | pthread_mutex_lock(&e->lock);
> | ^~~~~~~~~~~~~~~~~~
> ./libavutil/vulkan.c:510:5: error: implicit declaration of function
> 'pthread_mutex_unlock'; did you mean 'ff_mutex_unlock'?
> [-Werror=implicit-function-declaration]
> 510 | pthread_mutex_unlock(&e->lock);
> | ^~~~~~~~~~~~~~~~~~~~
> | ff_mutex_unlock
> cc1: some warnings being treated as errors
> make: *** [ffbuild/common.mak:81: libavcodec/vulkan.o] Error 1
> ___________________________________________________________________
>
> Conculsion:
>
> Even for Linux the 6.x branch REQUIRES the current implementation of
> pthreads.
>
> ____________
>
> And since the only thing I can find for DJGPP
> is a 7yr old port of the 23.5yr old version of the prthreads source
> code.....
> that's it.... we're noe 'frozen' at ffmpeg/ffprobe v5.1.4
>
> [until someone ports the _current_ pthreads source code for use on DJGPP]
> ;)
>
> __________________
>
> As we see, v5.1.4 does _not_ require pthreads.
>
>
> root@glennmcc-i7:~/build/ffmpeg-6.1.1# ./configure --enable-pthreads
>
> root@glennmcc-i7:~/build/ffmpeg-6.1.1# time make
>
> real 16m9.759s
> user 15m1.857s
> sys 0m47.397s
> root@glennmcc-i7:~/build/ffmpeg-6.1.1# ls -l ffmpeg
> -rwxr-xr-x 1 root root 23139936 Mar 11 21:53 ffmpeg*
>
> root@glennmcc-i7:~/build/ffmpeg-6.1.1# ls -l ffprobe
> -rwxr-xr-x 1 root root 23013856 Mar 11 21:54 ffprobe*
you may report this to ffmpeg ML since it looks like a bug that pthreads can't be disabled in compilation time.
Complete thread:
- ffmpeg v5.1.4 for DOS - glennmcc, 08.03.2024, 19:20 (Announce)
- ffmpeg v5.1.4 for DOS - Zyzzle, 09.03.2024, 03:14
- ffmpeg v5.1.4 for DOS - glennmcc, 09.03.2024, 04:01
- ffmpeg v5.1.4 for DOS - glennmcc, 12.03.2024, 02:47
- ffmpeg v5.1.4 for DOS - roytam, 12.03.2024, 03:21
- ffmpeg v5.1.4 for DOS - glennmcc, 12.03.2024, 03:33
- ffmpeg v5.1.4 for DOS - glennmcc, 12.03.2024, 19:11
- ffmpeg v5.1.4 for DOS - rr, 12.03.2024, 19:47
- ffmpeg v5.1.4 for DOS - glennmcc, 12.03.2024, 20:42
- ffmpeg v5.1.4 for DOS - rr, 12.03.2024, 19:47
- ffmpeg v5.1.4 for DOS - glennmcc, 12.03.2024, 19:11
- ffmpeg v5.1.4 for DOS - glennmcc, 12.03.2024, 03:33
- ffmpeg v5.1.4 for DOS - roytam, 12.03.2024, 03:21
- ffmpeg v5.1.4 for DOS - Zyzzle, 12.03.2024, 03:43
- ffmpeg v5.1.4 for DOS - RayeR, 18.03.2024, 17:59
- ffmpeg v5.1.4 for DOS - glennmcc, 19.03.2024, 01:52
- ffmpeg v5.1.4 for DOS - Rugxulo, 19.03.2024, 02:27
- ffmpeg v5.1.4 for DOS - glennmcc, 19.03.2024, 05:15
- ffmpeg v5.1.4 for DOS - RayeR, 19.03.2024, 22:30
- ffmpeg v5.1.4 for DOS - glennmcc, 20.03.2024, 01:26
- ffmpeg v5.1.4 for DOS - RayeR, 21.03.2024, 02:40
- ffmpeg v5.1.4 for DOS - glennmcc, 20.03.2024, 01:26
- ffmpeg v5.1.4 for DOS - Rugxulo, 19.03.2024, 02:27
- ffmpeg v5.1.4 for DOS - glennmcc, 19.03.2024, 01:52
- ffmpeg v5.1.4 for DOS - RayeR, 18.03.2024, 17:59
- ffmpeg v5.1.4 for DOS - glennmcc, 12.03.2024, 02:47
- ffmpeg v5.1.4 for DOS - glennmcc, 09.03.2024, 04:01
- ffmpeg v5.1.4 for DOS - Zyzzle, 09.03.2024, 03:14