#10900: unable to build v6.1.1 without pthreads.
--------------------------------------+----------------------------------
Reporter: glennmcc | Type: defect
Status: new | Priority: normal
Component: undetermined | Version: 6.1
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+----------------------------------
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
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10900>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".