File: //home/ubuntu/neovim/build/CMakeFiles/CMakeError.log
Determining if the function kstat_lookup exists in the kstat failed with the following output:
Change Dir: /home/ubuntu/neovim/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_51380 && [1/2] Building C object CMakeFiles/cmTC_51380.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_51380
FAILED: cmTC_51380
: && /usr/bin/cc -DCHECK_FUNCTION_EXISTS=kstat_lookup CMakeFiles/cmTC_51380.dir/CheckFunctionExists.c.o -o cmTC_51380 -L/home/ubuntu/neovim/build/CMakeFiles/CMakeTmp/kstat.h -Wl,-rpath,/home/ubuntu/neovim/build/CMakeFiles/CMakeTmp/kstat.h -lkstat && :
/usr/bin/ld: cannot find -lkstat
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Determining if the function kvm_open exists in the kvm failed with the following output:
Change Dir: /home/ubuntu/neovim/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_74baf && [1/2] Building C object CMakeFiles/cmTC_74baf.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_74baf
FAILED: cmTC_74baf
: && /usr/bin/cc -DCHECK_FUNCTION_EXISTS=kvm_open CMakeFiles/cmTC_74baf.dir/CheckFunctionExists.c.o -o cmTC_74baf -L/home/ubuntu/neovim/build/CMakeFiles/CMakeTmp/kvm.h -Wl,-rpath,/home/ubuntu/neovim/build/CMakeFiles/CMakeTmp/kvm.h -lkvm && :
/usr/bin/ld: cannot find -lkvm
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Determining if the function perfstat_cpu exists in the perfstat failed with the following output:
Change Dir: /home/ubuntu/neovim/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_5d0a3 && [1/2] Building C object CMakeFiles/cmTC_5d0a3.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_5d0a3
FAILED: cmTC_5d0a3
: && /usr/bin/cc -DCHECK_FUNCTION_EXISTS=perfstat_cpu CMakeFiles/cmTC_5d0a3.dir/CheckFunctionExists.c.o -o cmTC_5d0a3 -L/home/ubuntu/neovim/build/CMakeFiles/CMakeTmp/libperfstat.h -Wl,-rpath,/home/ubuntu/neovim/build/CMakeFiles/CMakeTmp/libperfstat.h -lperfstat && :
/usr/bin/ld: cannot find -lperfstat
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Determining if the function sendfile exists in the sendfile failed with the following output:
Change Dir: /home/ubuntu/neovim/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_e3bed && [1/2] Building C object CMakeFiles/cmTC_e3bed.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_e3bed
FAILED: cmTC_e3bed
: && /usr/bin/cc -DCHECK_FUNCTION_EXISTS=sendfile CMakeFiles/cmTC_e3bed.dir/CheckFunctionExists.c.o -o cmTC_e3bed -lsendfile && :
/usr/bin/ld: cannot find -lsendfile
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /home/ubuntu/neovim/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_516ac && [1/2] Building C object CMakeFiles/cmTC_516ac.dir/src.c.o
[2/2] Linking C executable cmTC_516ac
FAILED: cmTC_516ac
: && /usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD CMakeFiles/cmTC_516ac.dir/src.c.o -o cmTC_516ac && :
/usr/bin/ld: CMakeFiles/cmTC_516ac.dir/src.c.o: in function `main':
src.c:(.text+0x48): undefined reference to `pthread_create'
/usr/bin/ld: src.c:(.text+0x50): undefined reference to `pthread_detach'
/usr/bin/ld: src.c:(.text+0x5c): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Source file was:
#include <pthread.h>
void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/ubuntu/neovim/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_6daf5 && [1/2] Building C object CMakeFiles/cmTC_6daf5.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_6daf5
FAILED: cmTC_6daf5
: && /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_6daf5.dir/CheckFunctionExists.c.o -o cmTC_6daf5 -lpthreads && :
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Determining if the _NSGetEnviron exist failed with the following output:
Change Dir: /home/ubuntu/neovim/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_a0978 && [1/2] Building C object CMakeFiles/cmTC_a0978.dir/CheckSymbolExists.c.o
FAILED: CMakeFiles/cmTC_a0978.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTC_a0978.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c
CheckSymbolExists.c:2:10: fatal error: crt_externs.h: No such file or directory
2 | #include <crt_externs.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
File /home/ubuntu/neovim/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <crt_externs.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef _NSGetEnviron
return ((int*)(&_NSGetEnviron))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if files sys/sdt.h exist failed with the following output:
Change Dir: /home/ubuntu/neovim/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_ff46f && [1/2] Building C object CMakeFiles/cmTC_ff46f.dir/HAVE_SYS_SDT_H.c.o
FAILED: CMakeFiles/cmTC_ff46f.dir/HAVE_SYS_SDT_H.c.o
/usr/bin/cc -o CMakeFiles/cmTC_ff46f.dir/HAVE_SYS_SDT_H.c.o -c /home/ubuntu/neovim/build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_SDT_H.c
/home/ubuntu/neovim/build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_SDT_H.c:2:10: fatal error: sys/sdt.h: No such file or directory
2 | #include <sys/sdt.h>
| ^~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
Source:
/* */
#include <sys/sdt.h>
int main(void){return 0;}
Performing C SOURCE FILE Test HAVE_BITSCANFORWARD64 failed with the following output:
Change Dir: /home/ubuntu/neovim/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_e0d81 && [1/2] Building C object CMakeFiles/cmTC_e0d81.dir/src.c.o
FAILED: CMakeFiles/cmTC_e0d81.dir/src.c.o
/usr/bin/cc -DHAVE_BITSCANFORWARD64 -o CMakeFiles/cmTC_e0d81.dir/src.c.o -c src.c
src.c:2:10: fatal error: intrin.h: No such file or directory
2 | #include <intrin.h>
| ^~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
Source file was:
#include <intrin.h>
int main(void)
{
unsigned long index;
unsigned char mask = 0x8000;
_BitScanForward64(&index, mask);
return 0;
}