💾 Archived View for bbs.geminispace.org › u › freezr › file › 22 captured on 2024-05-12 at 17:28:44.

View Raw

More Information

⬅️ Previous capture (2023-06-14)

-=-=-=-=-=-=-

Performing C SOURCE FILE Test iHavePThreadTimedMutex failed with the following output:
Change Dir: /home/freezr/Git/lagrange/build/CMakeFiles/CMakeScratch/TryCompile-dDSZaC

Run Build Command(s):/usr/bin/make -f Makefile cmTC_ef88e/fast && /usr/bin/make  -f CMakeFiles/cmTC_ef88e.dir/build.make CMakeFiles/cmTC_ef88e.dir/build
Building C object CMakeFiles/cmTC_ef88e.dir/src.c.o
/usr/bin/cc -DiHavePThreadTimedMutex   -MD -MT CMakeFiles/cmTC_ef88e.dir/src.c.o -MF CMakeFiles/cmTC_ef88e.dir/src.c.o.d -o CMakeFiles/cmTC_ef88e.dir/src.c.o -c /home/freezr/Git/lagrange/build/CMakeFiles/CMakeScratch/TryCompile-dDSZaC/src.c
/home/freezr/Git/lagrange/build/CMakeFiles/CMakeScratch/TryCompile-dDSZaC/src.c:4:20: error: use of undeclared identifier 'PTHREAD_MUTEX_TIMED_NP'
            return PTHREAD_MUTEX_TIMED_NP;
                   ^
1 error generated.


Stop.
make[1]: stopped in /usr/home/freezr/Git/lagrange/build/CMakeFiles/CMakeScratch/TryCompile-dDSZaC


Stop.
make: stopped in /usr/home/freezr/Git/lagrange/build/CMakeFiles/CMakeScratch/TryCompile-dDSZaC


Source file was:

        #include <pthread.h>
        int main(int argc, char **argv) {
            return PTHREAD_MUTEX_TIMED_NP;
        }