package builds with custom message definitions

This commit is contained in:
Sem van der Hoeven
2023-04-19 12:16:49 +00:00
parent 35e28ca6d4
commit 3405c36e47
205 changed files with 34137 additions and 25114 deletions

View File

@@ -1,21 +1,21 @@
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /home/ubuntu/ros2_ws/build/px4_ros_com/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_55c7c/fast && /usr/bin/make -f CMakeFiles/cmTC_55c7c.dir/build.make CMakeFiles/cmTC_55c7c.dir/build
Run Build Command(s):/usr/bin/make cmTC_a40a3/fast && /usr/bin/make -f CMakeFiles/cmTC_a40a3.dir/build.make CMakeFiles/cmTC_a40a3.dir/build
make[1]: Entering directory '/home/ubuntu/ros2_ws/build/px4_ros_com/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_55c7c.dir/src.c.o
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_55c7c.dir/src.c.o -c /home/ubuntu/ros2_ws/build/px4_ros_com/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_55c7c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_55c7c.dir/link.txt --verbose=1
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD CMakeFiles/cmTC_55c7c.dir/src.c.o -o cmTC_55c7c
/usr/bin/ld: CMakeFiles/cmTC_55c7c.dir/src.c.o: in function `main':
Building C object CMakeFiles/cmTC_a40a3.dir/src.c.o
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_a40a3.dir/src.c.o -c /home/ubuntu/ros2_ws/build/px4_ros_com/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_a40a3
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a40a3.dir/link.txt --verbose=1
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD CMakeFiles/cmTC_a40a3.dir/src.c.o -o cmTC_a40a3
/usr/bin/ld: CMakeFiles/cmTC_a40a3.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
make[1]: *** [CMakeFiles/cmTC_55c7c.dir/build.make:87: cmTC_55c7c] Error 1
make[1]: *** [CMakeFiles/cmTC_a40a3.dir/build.make:87: cmTC_a40a3] Error 1
make[1]: Leaving directory '/home/ubuntu/ros2_ws/build/px4_ros_com/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_55c7c/fast] Error 2
make: *** [Makefile:121: cmTC_a40a3/fast] Error 2
Source file was:
@@ -41,18 +41,18 @@ int main(void)
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/ubuntu/ros2_ws/build/px4_ros_com/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_13ab9/fast && /usr/bin/make -f CMakeFiles/cmTC_13ab9.dir/build.make CMakeFiles/cmTC_13ab9.dir/build
Run Build Command(s):/usr/bin/make cmTC_f29c4/fast && /usr/bin/make -f CMakeFiles/cmTC_f29c4.dir/build.make CMakeFiles/cmTC_f29c4.dir/build
make[1]: Entering directory '/home/ubuntu/ros2_ws/build/px4_ros_com/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_13ab9.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_13ab9.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c
Linking C executable cmTC_13ab9
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_13ab9.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_13ab9.dir/CheckFunctionExists.c.o -o cmTC_13ab9 -lpthreads
Building C object CMakeFiles/cmTC_f29c4.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_f29c4.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c
Linking C executable cmTC_f29c4
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f29c4.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_f29c4.dir/CheckFunctionExists.c.o -o cmTC_f29c4 -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_13ab9.dir/build.make:87: cmTC_13ab9] Error 1
make[1]: *** [CMakeFiles/cmTC_f29c4.dir/build.make:87: cmTC_f29c4] Error 1
make[1]: Leaving directory '/home/ubuntu/ros2_ws/build/px4_ros_com/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_13ab9/fast] Error 2
make: *** [Makefile:121: cmTC_f29c4/fast] Error 2