82 lines
5.5 KiB
Plaintext
82 lines
5.5 KiB
Plaintext
|
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
|
||
|
Compiler: /home/rmueller/EIVE/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc
|
||
|
Build flags: -mcpu=cortex-a9;-mfpu=neon-vfpv3;-mfloat-abi=hard;-lgpiod;-lxiphos
|
||
|
Id flags:
|
||
|
|
||
|
The output was:
|
||
|
1
|
||
|
/home/rmueller/EIVE/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lgpiod
|
||
|
/home/rmueller/EIVE/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lxiphos
|
||
|
collect2: error: ld returned 1 exit status
|
||
|
|
||
|
|
||
|
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
|
||
|
Compiler: /home/rmueller/EIVE/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++
|
||
|
Build flags: -mcpu=cortex-a9;-mfpu=neon-vfpv3;-mfloat-abi=hard;-lgpiod;-lxiphos
|
||
|
Id flags:
|
||
|
|
||
|
The output was:
|
||
|
1
|
||
|
/home/rmueller/EIVE/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lgpiod
|
||
|
/home/rmueller/EIVE/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lxiphos
|
||
|
collect2: error: ld returned 1 exit status
|
||
|
|
||
|
|
||
|
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
|
||
|
Change Dir: /home/rmueller/EIVE/eive-obsw/cmake-build-debug-q7s/CMakeFiles/CMakeTmp
|
||
|
|
||
|
Run Build Command(s):/usr/bin/gmake cmTC_bd75e/fast && /usr/bin/gmake -f CMakeFiles/cmTC_bd75e.dir/build.make CMakeFiles/cmTC_bd75e.dir/build
|
||
|
gmake[1]: Entering directory '/home/rmueller/EIVE/eive-obsw/cmake-build-debug-q7s/CMakeFiles/CMakeTmp'
|
||
|
Building C object CMakeFiles/cmTC_bd75e.dir/src.c.o
|
||
|
/home/rmueller/EIVE/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc --sysroot=/opt/xiphos/sdk/ark/sysroots/cortexa9hf-neon-xiphos-linux-gnueabi -mcpu=cortex-a9 -mfpu=neon-vfpv3 -mfloat-abi=hard -lgpiod -lxiphos -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_bd75e.dir/src.c.o -c /home/rmueller/EIVE/eive-obsw/cmake-build-debug-q7s/CMakeFiles/CMakeTmp/src.c
|
||
|
Linking C executable cmTC_bd75e
|
||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bd75e.dir/link.txt --verbose=1
|
||
|
/home/rmueller/EIVE/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc --sysroot=/opt/xiphos/sdk/ark/sysroots/cortexa9hf-neon-xiphos-linux-gnueabi -mcpu=cortex-a9 -mfpu=neon-vfpv3 -mfloat-abi=hard -lgpiod -lxiphos -DCMAKE_HAVE_LIBC_PTHREAD CMakeFiles/cmTC_bd75e.dir/src.c.o -o cmTC_bd75e
|
||
|
/home/rmueller/EIVE/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: CMakeFiles/cmTC_bd75e.dir/src.c.o: undefined reference to symbol 'pthread_join@@GLIBC_2.4'
|
||
|
/home/rmueller/EIVE/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: /opt/xiphos/sdk/ark/sysroots/cortexa9hf-neon-xiphos-linux-gnueabi/lib/libpthread.so.0: error adding symbols: DSO missing from command line
|
||
|
collect2: error: ld returned 1 exit status
|
||
|
gmake[1]: *** [CMakeFiles/cmTC_bd75e.dir/build.make:106: cmTC_bd75e] Error 1
|
||
|
gmake[1]: Leaving directory '/home/rmueller/EIVE/eive-obsw/cmake-build-debug-q7s/CMakeFiles/CMakeTmp'
|
||
|
gmake: *** [Makefile:140: cmTC_bd75e/fast] Error 2
|
||
|
|
||
|
|
||
|
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_cancel(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/rmueller/EIVE/eive-obsw/cmake-build-debug-q7s/CMakeFiles/CMakeTmp
|
||
|
|
||
|
Run Build Command(s):/usr/bin/gmake cmTC_3eaa5/fast && /usr/bin/gmake -f CMakeFiles/cmTC_3eaa5.dir/build.make CMakeFiles/cmTC_3eaa5.dir/build
|
||
|
gmake[1]: Entering directory '/home/rmueller/EIVE/eive-obsw/cmake-build-debug-q7s/CMakeFiles/CMakeTmp'
|
||
|
Building C object CMakeFiles/cmTC_3eaa5.dir/CheckFunctionExists.c.o
|
||
|
/home/rmueller/EIVE/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc --sysroot=/opt/xiphos/sdk/ark/sysroots/cortexa9hf-neon-xiphos-linux-gnueabi -mcpu=cortex-a9 -mfpu=neon-vfpv3 -mfloat-abi=hard -lgpiod -lxiphos -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_3eaa5.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.18/Modules/CheckFunctionExists.c
|
||
|
Linking C executable cmTC_3eaa5
|
||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3eaa5.dir/link.txt --verbose=1
|
||
|
/home/rmueller/EIVE/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc --sysroot=/opt/xiphos/sdk/ark/sysroots/cortexa9hf-neon-xiphos-linux-gnueabi -mcpu=cortex-a9 -mfpu=neon-vfpv3 -mfloat-abi=hard -lgpiod -lxiphos -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_3eaa5.dir/CheckFunctionExists.c.o -o cmTC_3eaa5 -lpthreads
|
||
|
/home/rmueller/EIVE/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lpthreads
|
||
|
collect2: error: ld returned 1 exit status
|
||
|
gmake[1]: *** [CMakeFiles/cmTC_3eaa5.dir/build.make:106: cmTC_3eaa5] Error 1
|
||
|
gmake[1]: Leaving directory '/home/rmueller/EIVE/eive-obsw/cmake-build-debug-q7s/CMakeFiles/CMakeTmp'
|
||
|
gmake: *** [Makefile:140: cmTC_3eaa5/fast] Error 2
|
||
|
|
||
|
|
||
|
|