cc -O2 -pthread -Wall -Wextra -Werror=implicit-function-declaration pthread/pthread_condattr_getpshared.c -o pthread/pthread_condattr_getpshared -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -lcrypt pthread/pthread_condattr_getpshared.c: In function 'main': pthread/pthread_condattr_getpshared.c:14:16: error: implicit declaration of function 'pthread_condattr_getpshared'; did you mean 'pthread_condattr_destroy'? [-Werror=implicit-function-declaration] 14 | if ( (errno = pthread_condattr_getpshared(&attr, &shared)) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | pthread_condattr_destroy cc1: some warnings being treated as errors