kopia lustrzana https://github.com/sh123/codec2_talkie
381 wiersze
18 KiB
Plaintext
381 wiersze
18 KiB
Plaintext
Determining if the floor exist failed with the following output:
|
||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||
|
||
Run Build Command:"/usr/bin/make" "cmTC_dd8dd/fast"
|
||
/usr/bin/make -f CMakeFiles/cmTC_dd8dd.dir/build.make CMakeFiles/cmTC_dd8dd.dir/build
|
||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
Building C object CMakeFiles/cmTC_dd8dd.dir/CheckSymbolExists.c.o
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_dd8dd.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||
Linking C executable cmTC_dd8dd
|
||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_dd8dd.dir/link.txt --verbose=1
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_dd8dd.dir/CheckSymbolExists.c.o -o cmTC_dd8dd
|
||
/usr/bin/ld: CMakeFiles/cmTC_dd8dd.dir/CheckSymbolExists.c.o: in function `main':
|
||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `floor'
|
||
collect2: error: ld returned 1 exit status
|
||
make[1]: *** [CMakeFiles/cmTC_dd8dd.dir/build.make:87: cmTC_dd8dd] Error 1
|
||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
make: *** [Makefile:121: cmTC_dd8dd/fast] Error 2
|
||
|
||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||
/* */
|
||
#include <math.h>
|
||
|
||
int main(int argc, char** argv)
|
||
{
|
||
(void)argv;
|
||
#ifndef floor
|
||
return ((int*)(&floor))[argc];
|
||
#else
|
||
(void)argc;
|
||
return 0;
|
||
#endif
|
||
}
|
||
|
||
Determining if the ceil exist failed with the following output:
|
||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||
|
||
Run Build Command:"/usr/bin/make" "cmTC_6c64a/fast"
|
||
/usr/bin/make -f CMakeFiles/cmTC_6c64a.dir/build.make CMakeFiles/cmTC_6c64a.dir/build
|
||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
Building C object CMakeFiles/cmTC_6c64a.dir/CheckSymbolExists.c.o
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_6c64a.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||
Linking C executable cmTC_6c64a
|
||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6c64a.dir/link.txt --verbose=1
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_6c64a.dir/CheckSymbolExists.c.o -o cmTC_6c64a
|
||
/usr/bin/ld: CMakeFiles/cmTC_6c64a.dir/CheckSymbolExists.c.o: in function `main':
|
||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `ceil'
|
||
collect2: error: ld returned 1 exit status
|
||
make[1]: *** [CMakeFiles/cmTC_6c64a.dir/build.make:87: cmTC_6c64a] Error 1
|
||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
make: *** [Makefile:121: cmTC_6c64a/fast] Error 2
|
||
|
||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||
/* */
|
||
#include <math.h>
|
||
|
||
int main(int argc, char** argv)
|
||
{
|
||
(void)argv;
|
||
#ifndef ceil
|
||
return ((int*)(&ceil))[argc];
|
||
#else
|
||
(void)argc;
|
||
return 0;
|
||
#endif
|
||
}
|
||
|
||
Determining if the pow exist failed with the following output:
|
||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||
|
||
Run Build Command:"/usr/bin/make" "cmTC_b7d1e/fast"
|
||
/usr/bin/make -f CMakeFiles/cmTC_b7d1e.dir/build.make CMakeFiles/cmTC_b7d1e.dir/build
|
||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
Building C object CMakeFiles/cmTC_b7d1e.dir/CheckSymbolExists.c.o
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_b7d1e.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||
Linking C executable cmTC_b7d1e
|
||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b7d1e.dir/link.txt --verbose=1
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_b7d1e.dir/CheckSymbolExists.c.o -o cmTC_b7d1e
|
||
/usr/bin/ld: CMakeFiles/cmTC_b7d1e.dir/CheckSymbolExists.c.o: in function `main':
|
||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `pow'
|
||
collect2: error: ld returned 1 exit status
|
||
make[1]: *** [CMakeFiles/cmTC_b7d1e.dir/build.make:87: cmTC_b7d1e] Error 1
|
||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
make: *** [Makefile:121: cmTC_b7d1e/fast] Error 2
|
||
|
||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||
/* */
|
||
#include <math.h>
|
||
|
||
int main(int argc, char** argv)
|
||
{
|
||
(void)argv;
|
||
#ifndef pow
|
||
return ((int*)(&pow))[argc];
|
||
#else
|
||
(void)argc;
|
||
return 0;
|
||
#endif
|
||
}
|
||
|
||
Determining if the sqrt exist failed with the following output:
|
||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||
|
||
Run Build Command:"/usr/bin/make" "cmTC_5c615/fast"
|
||
/usr/bin/make -f CMakeFiles/cmTC_5c615.dir/build.make CMakeFiles/cmTC_5c615.dir/build
|
||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
Building C object CMakeFiles/cmTC_5c615.dir/CheckSymbolExists.c.o
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_5c615.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||
Linking C executable cmTC_5c615
|
||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5c615.dir/link.txt --verbose=1
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_5c615.dir/CheckSymbolExists.c.o -o cmTC_5c615
|
||
/usr/bin/ld: CMakeFiles/cmTC_5c615.dir/CheckSymbolExists.c.o: in function `main':
|
||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `sqrt'
|
||
collect2: error: ld returned 1 exit status
|
||
make[1]: *** [CMakeFiles/cmTC_5c615.dir/build.make:87: cmTC_5c615] Error 1
|
||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
make: *** [Makefile:121: cmTC_5c615/fast] Error 2
|
||
|
||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||
/* */
|
||
#include <math.h>
|
||
|
||
int main(int argc, char** argv)
|
||
{
|
||
(void)argv;
|
||
#ifndef sqrt
|
||
return ((int*)(&sqrt))[argc];
|
||
#else
|
||
(void)argc;
|
||
return 0;
|
||
#endif
|
||
}
|
||
|
||
Determining if the sin exist failed with the following output:
|
||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||
|
||
Run Build Command:"/usr/bin/make" "cmTC_f86c3/fast"
|
||
/usr/bin/make -f CMakeFiles/cmTC_f86c3.dir/build.make CMakeFiles/cmTC_f86c3.dir/build
|
||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
Building C object CMakeFiles/cmTC_f86c3.dir/CheckSymbolExists.c.o
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_f86c3.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||
Linking C executable cmTC_f86c3
|
||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f86c3.dir/link.txt --verbose=1
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_f86c3.dir/CheckSymbolExists.c.o -o cmTC_f86c3
|
||
/usr/bin/ld: CMakeFiles/cmTC_f86c3.dir/CheckSymbolExists.c.o: in function `main':
|
||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `sin'
|
||
collect2: error: ld returned 1 exit status
|
||
make[1]: *** [CMakeFiles/cmTC_f86c3.dir/build.make:87: cmTC_f86c3] Error 1
|
||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
make: *** [Makefile:121: cmTC_f86c3/fast] Error 2
|
||
|
||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||
/* */
|
||
#include <math.h>
|
||
|
||
int main(int argc, char** argv)
|
||
{
|
||
(void)argv;
|
||
#ifndef sin
|
||
return ((int*)(&sin))[argc];
|
||
#else
|
||
(void)argc;
|
||
return 0;
|
||
#endif
|
||
}
|
||
|
||
Determining if the cos exist failed with the following output:
|
||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||
|
||
Run Build Command:"/usr/bin/make" "cmTC_2509b/fast"
|
||
/usr/bin/make -f CMakeFiles/cmTC_2509b.dir/build.make CMakeFiles/cmTC_2509b.dir/build
|
||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
Building C object CMakeFiles/cmTC_2509b.dir/CheckSymbolExists.c.o
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_2509b.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||
Linking C executable cmTC_2509b
|
||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2509b.dir/link.txt --verbose=1
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_2509b.dir/CheckSymbolExists.c.o -o cmTC_2509b
|
||
/usr/bin/ld: CMakeFiles/cmTC_2509b.dir/CheckSymbolExists.c.o: in function `main':
|
||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `cos'
|
||
collect2: error: ld returned 1 exit status
|
||
make[1]: *** [CMakeFiles/cmTC_2509b.dir/build.make:87: cmTC_2509b] Error 1
|
||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
make: *** [Makefile:121: cmTC_2509b/fast] Error 2
|
||
|
||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||
/* */
|
||
#include <math.h>
|
||
|
||
int main(int argc, char** argv)
|
||
{
|
||
(void)argv;
|
||
#ifndef cos
|
||
return ((int*)(&cos))[argc];
|
||
#else
|
||
(void)argc;
|
||
return 0;
|
||
#endif
|
||
}
|
||
|
||
Determining if the atan2 exist failed with the following output:
|
||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||
|
||
Run Build Command:"/usr/bin/make" "cmTC_c93e3/fast"
|
||
/usr/bin/make -f CMakeFiles/cmTC_c93e3.dir/build.make CMakeFiles/cmTC_c93e3.dir/build
|
||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
Building C object CMakeFiles/cmTC_c93e3.dir/CheckSymbolExists.c.o
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_c93e3.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||
Linking C executable cmTC_c93e3
|
||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c93e3.dir/link.txt --verbose=1
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_c93e3.dir/CheckSymbolExists.c.o -o cmTC_c93e3
|
||
/usr/bin/ld: CMakeFiles/cmTC_c93e3.dir/CheckSymbolExists.c.o: in function `main':
|
||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `atan2'
|
||
collect2: error: ld returned 1 exit status
|
||
make[1]: *** [CMakeFiles/cmTC_c93e3.dir/build.make:87: cmTC_c93e3] Error 1
|
||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
make: *** [Makefile:121: cmTC_c93e3/fast] Error 2
|
||
|
||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||
/* */
|
||
#include <math.h>
|
||
|
||
int main(int argc, char** argv)
|
||
{
|
||
(void)argv;
|
||
#ifndef atan2
|
||
return ((int*)(&atan2))[argc];
|
||
#else
|
||
(void)argc;
|
||
return 0;
|
||
#endif
|
||
}
|
||
|
||
Determining if the log10 exist failed with the following output:
|
||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||
|
||
Run Build Command:"/usr/bin/make" "cmTC_6a5ee/fast"
|
||
/usr/bin/make -f CMakeFiles/cmTC_6a5ee.dir/build.make CMakeFiles/cmTC_6a5ee.dir/build
|
||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
Building C object CMakeFiles/cmTC_6a5ee.dir/CheckSymbolExists.c.o
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_6a5ee.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||
Linking C executable cmTC_6a5ee
|
||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6a5ee.dir/link.txt --verbose=1
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_6a5ee.dir/CheckSymbolExists.c.o -o cmTC_6a5ee
|
||
/usr/bin/ld: CMakeFiles/cmTC_6a5ee.dir/CheckSymbolExists.c.o: in function `main':
|
||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `log10'
|
||
collect2: error: ld returned 1 exit status
|
||
make[1]: *** [CMakeFiles/cmTC_6a5ee.dir/build.make:87: cmTC_6a5ee] Error 1
|
||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
make: *** [Makefile:121: cmTC_6a5ee/fast] Error 2
|
||
|
||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||
/* */
|
||
#include <math.h>
|
||
|
||
int main(int argc, char** argv)
|
||
{
|
||
(void)argv;
|
||
#ifndef log10
|
||
return ((int*)(&log10))[argc];
|
||
#else
|
||
(void)argc;
|
||
return 0;
|
||
#endif
|
||
}
|
||
|
||
Determining if the round exist failed with the following output:
|
||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||
|
||
Run Build Command:"/usr/bin/make" "cmTC_4b5c4/fast"
|
||
/usr/bin/make -f CMakeFiles/cmTC_4b5c4.dir/build.make CMakeFiles/cmTC_4b5c4.dir/build
|
||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
Building C object CMakeFiles/cmTC_4b5c4.dir/CheckSymbolExists.c.o
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_4b5c4.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||
Linking C executable cmTC_4b5c4
|
||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4b5c4.dir/link.txt --verbose=1
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_4b5c4.dir/CheckSymbolExists.c.o -o cmTC_4b5c4
|
||
/usr/bin/ld: CMakeFiles/cmTC_4b5c4.dir/CheckSymbolExists.c.o: in function `main':
|
||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `round'
|
||
collect2: error: ld returned 1 exit status
|
||
make[1]: *** [CMakeFiles/cmTC_4b5c4.dir/build.make:87: cmTC_4b5c4] Error 1
|
||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
make: *** [Makefile:121: cmTC_4b5c4/fast] Error 2
|
||
|
||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||
/* */
|
||
#include <math.h>
|
||
|
||
int main(int argc, char** argv)
|
||
{
|
||
(void)argv;
|
||
#ifndef round
|
||
return ((int*)(&round))[argc];
|
||
#else
|
||
(void)argc;
|
||
return 0;
|
||
#endif
|
||
}
|
||
|
||
Determining if the getopt exist failed with the following output:
|
||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||
|
||
Run Build Command:"/usr/bin/make" "cmTC_645d4/fast"
|
||
/usr/bin/make -f CMakeFiles/cmTC_645d4.dir/build.make CMakeFiles/cmTC_645d4.dir/build
|
||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
Building C object CMakeFiles/cmTC_645d4.dir/CheckSymbolExists.c.o
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_645d4.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||
/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
|
||
/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘getopt’ undeclared (first use in this function)
|
||
return ((int*)(&getopt))[argc];
|
||
^~~~~~
|
||
/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
|
||
make[1]: *** [CMakeFiles/cmTC_645d4.dir/build.make:66: CMakeFiles/cmTC_645d4.dir/CheckSymbolExists.c.o] Error 1
|
||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
make: *** [Makefile:121: cmTC_645d4/fast] Error 2
|
||
|
||
File /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||
/* */
|
||
#include <math.h>
|
||
|
||
int main(int argc, char** argv)
|
||
{
|
||
(void)argv;
|
||
#ifndef getopt
|
||
return ((int*)(&getopt))[argc];
|
||
#else
|
||
(void)argc;
|
||
return 0;
|
||
#endif
|
||
}
|
||
|
||
Determining if the pthread_create exist failed with the following output:
|
||
Change Dir: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||
|
||
Run Build Command:"/usr/bin/make" "cmTC_1dce1/fast"
|
||
/usr/bin/make -f CMakeFiles/cmTC_1dce1.dir/build.make CMakeFiles/cmTC_1dce1.dir/build
|
||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
Building C object CMakeFiles/cmTC_1dce1.dir/CheckSymbolExists.c.o
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -o CMakeFiles/cmTC_1dce1.dir/CheckSymbolExists.c.o -c /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||
Linking C executable cmTC_1dce1
|
||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1dce1.dir/link.txt --verbose=1
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -rdynamic CMakeFiles/cmTC_1dce1.dir/CheckSymbolExists.c.o -o cmTC_1dce1
|
||
/usr/bin/ld: CMakeFiles/cmTC_1dce1.dir/CheckSymbolExists.c.o: in function `main':
|
||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `pthread_create'
|
||
collect2: error: ld returned 1 exit status
|
||
make[1]: *** [CMakeFiles/cmTC_1dce1.dir/build.make:87: cmTC_1dce1] Error 1
|
||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
make: *** [Makefile:121: cmTC_1dce1/fast] Error 2
|
||
|
||
File /home/sh/Downloads/hackrf/codec2/build_linux/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: /home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp
|
||
|
||
Run Build Command:"/usr/bin/make" "cmTC_2446c/fast"
|
||
/usr/bin/make -f CMakeFiles/cmTC_2446c.dir/build.make CMakeFiles/cmTC_2446c.dir/build
|
||
make[1]: Entering directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
Building C object CMakeFiles/cmTC_2446c.dir/CheckFunctionExists.c.o
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_2446c.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.13/Modules/CheckFunctionExists.c
|
||
Linking C executable cmTC_2446c
|
||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2446c.dir/link.txt --verbose=1
|
||
/usr/bin/cc -Wall -Wno-strict-overflow -std=gnu11 -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_2446c.dir/CheckFunctionExists.c.o -o cmTC_2446c -lpthreads
|
||
/usr/bin/ld: cannot find -lpthreads
|
||
collect2: error: ld returned 1 exit status
|
||
make[1]: *** [CMakeFiles/cmTC_2446c.dir/build.make:87: cmTC_2446c] Error 1
|
||
make[1]: Leaving directory '/home/sh/Downloads/hackrf/codec2/build_linux/CMakeFiles/CMakeTmp'
|
||
make: *** [Makefile:121: cmTC_2446c/fast] Error 2
|
||
|
||
|