Sorry Sam,
here is the log:
CMakeError:
Determining if the pthread_create exist failed with the following output:
Change Dir: /mnt/package/mediacenter-next-osmc/src/xbmc-a4ad91e06a77b05ea5c7804cfe1707fe52596be2/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_8874d/fast"
/usr/bin/make -f CMakeFiles/cmTC_8874d.dir/build.make CMakeFiles/cmTC_8874d.dir/build
make[1]: Entering directory '/mnt/package/mediacenter-next-osmc/src/xbmc-a4ad91e06a77b05ea5c7804cfe1707fe52596be2/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_8874d.dir/CheckSymbolExists.c.o
/usr/bin/cc -O3 -fomit-frame-pointer -I/usr/osmc/include -L/usr/osmc/lib -I/opt/vero3/include -Wl,-rpath=/usr/osmc/lib -L/usr/osmc/lib -o CMakeFiles/cmTC_8874d.dir/CheckSymbolExists.c.o -c /mnt/package/mediacenter-next-osmc/src/xbmc-a4ad91e06a77b05ea5c7804cfe1707fe52596be2/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_8874d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8874d.dir/link.txt --verbose=1
/usr/bin/cc -O3 -fomit-frame-pointer -I/usr/osmc/include -L/usr/osmc/lib -I/opt/vero3/include -Wl,-rpath=/usr/osmc/lib -L/usr/osmc/lib -L/opt/vero3/lib CMakeFiles/cmTC_8874d.dir/CheckSymbolExists.c.o -o cmTC_8874d -rdynamic
CMakeFiles/cmTC_8874d.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text.startup+0x14): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_8874d.dir/build.make:97: recipe for target 'cmTC_8874d' failed
make[1]: *** [cmTC_8874d] Error 1
make[1]: Leaving directory '/mnt/package/mediacenter-next-osmc/src/xbmc-a4ad91e06a77b05ea5c7804cfe1707fe52596be2/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_8874d/fast' failed
make: *** [cmTC_8874d/fast] Error 2
File /mnt/package/mediacenter-next-osmc/src/xbmc-a4ad91e06a77b05ea5c7804cfe1707fe52596be2/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /mnt/package/mediacenter-next-osmc/src/xbmc-a4ad91e06a77b05ea5c7804cfe1707fe52596be2/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_e67fa/fast"
/usr/bin/make -f CMakeFiles/cmTC_e67fa.dir/build.make CMakeFiles/cmTC_e67fa.dir/build
make[1]: Entering directory '/mnt/package/mediacenter-next-osmc/src/xbmc-a4ad91e06a77b05ea5c7804cfe1707fe52596be2/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_e67fa.dir/CheckFunctionExists.c.o
/usr/bin/cc -O3 -fomit-frame-pointer -I/usr/osmc/include -L/usr/osmc/lib -I/opt/vero3/include -Wl,-rpath=/usr/osmc/lib -L/usr/osmc/lib -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_e67fa.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_e67fa
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e67fa.dir/link.txt --verbose=1
/usr/bin/cc -O3 -fomit-frame-pointer -I/usr/osmc/include -L/usr/osmc/lib -I/opt/vero3/include -Wl,-rpath=/usr/osmc/lib -L/usr/osmc/lib -DCHECK_FUNCTION_EXISTS=pthread_create -L/opt/vero3/lib CMakeFiles/cmTC_e67fa.dir/CheckFunctionExists.c.o -o cmTC_e67fa -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_e67fa.dir/build.make:97: recipe for target 'cmTC_e67fa' failed
make[1]: *** [cmTC_e67fa] Error 1
make[1]: Leaving directory '/mnt/package/mediacenter-next-osmc/src/xbmc-a4ad91e06a77b05ea5c7804cfe1707fe52596be2/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_e67fa/fast' failed
make: *** [cmTC_e67fa/fast] Error 2