Advertisement
Guest User

error with tdelibs

a guest
Dec 28th, 2020
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.83 KB | None | 0 0
  1. Determining if the include file sys/sockio.h exists failed with the following output:
  2. Change Dir: /tmp/tdebase.build/CMakeFiles/CMakeTmp
  3.  
  4. Run Build Command(s):/usr/bin/make cmTC_f6df8/fast && /usr/bin/make -f CMakeFiles/cmTC_f6df8.dir/build.make CMakeFiles/cmTC_f6df8.dir/build
  5. make[1]: Entering directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  6. Building C object CMakeFiles/cmTC_f6df8.dir/CheckIncludeFile.c.o
  7. /usr/bin/cc -o CMakeFiles/cmTC_f6df8.dir/CheckIncludeFile.c.o -c /tmp/tdebase.build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
  8. /tmp/tdebase.build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/sockio.h: No such file or directory
  9. 1 | #include <sys/sockio.h>
  10. | ^~~~~~~~~~~~~~
  11. compilation terminated.
  12. make[1]: *** [CMakeFiles/cmTC_f6df8.dir/build.make:85: CMakeFiles/cmTC_f6df8.dir/CheckIncludeFile.c.o] Error 1
  13. make[1]: Leaving directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  14. make: *** [Makefile:140: cmTC_f6df8/fast] Error 2
  15.  
  16.  
  17.  
  18. Performing C SOURCE FILE Test HAVE_STRUCT_SOCKADDR_SA_LEN failed with the following output:
  19. Change Dir: /tmp/tdebase.build/CMakeFiles/CMakeTmp
  20.  
  21. Run Build Command(s):/usr/bin/make cmTC_3c421/fast && /usr/bin/make -f CMakeFiles/cmTC_3c421.dir/build.make CMakeFiles/cmTC_3c421.dir/build
  22. make[1]: Entering directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  23. Building C object CMakeFiles/cmTC_3c421.dir/src.c.o
  24. /usr/bin/cc -DHAVE_STRUCT_SOCKADDR_SA_LEN -o CMakeFiles/cmTC_3c421.dir/src.c.o -c /tmp/tdebase.build/CMakeFiles/CMakeTmp/src.c
  25. /tmp/tdebase.build/CMakeFiles/CMakeTmp/src.c: In function 'main':
  26. /tmp/tdebase.build/CMakeFiles/CMakeTmp/src.c:7:38: error: 'struct sockaddr' has no member named 'sa_len'
  27. 7 | (void)sizeof(((struct sockaddr *)0)->sa_len);
  28. | ^~
  29. make[1]: *** [CMakeFiles/cmTC_3c421.dir/build.make:85: CMakeFiles/cmTC_3c421.dir/src.c.o] Error 1
  30. make[1]: Leaving directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  31. make: *** [Makefile:140: cmTC_3c421/fast] Error 2
  32.  
  33.  
  34. Source file was:
  35.  
  36. #include <sys/types.h>
  37. #include <sys/socket.h>
  38.  
  39. int main()
  40. {
  41. (void)sizeof(((struct sockaddr *)0)->sa_len);
  42. return 0;
  43. }
  44.  
  45. Determining if the include file stropts.h exists failed with the following output:
  46. Change Dir: /tmp/tdebase.build/CMakeFiles/CMakeTmp
  47.  
  48. Run Build Command(s):/usr/bin/make cmTC_b68f3/fast && /usr/bin/make -f CMakeFiles/cmTC_b68f3.dir/build.make CMakeFiles/cmTC_b68f3.dir/build
  49. make[1]: Entering directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  50. Building C object CMakeFiles/cmTC_b68f3.dir/CheckIncludeFile.c.o
  51. /usr/bin/cc -o CMakeFiles/cmTC_b68f3.dir/CheckIncludeFile.c.o -c /tmp/tdebase.build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
  52. /tmp/tdebase.build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: stropts.h: No such file or directory
  53. 1 | #include <stropts.h>
  54. | ^~~~~~~~~~~
  55. compilation terminated.
  56. make[1]: *** [CMakeFiles/cmTC_b68f3.dir/build.make:85: CMakeFiles/cmTC_b68f3.dir/CheckIncludeFile.c.o] Error 1
  57. make[1]: Leaving directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  58. make: *** [Makefile:140: cmTC_b68f3/fast] Error 2
  59.  
  60.  
  61.  
  62. Determining if the include file libutil.h exists failed with the following output:
  63. Change Dir: /tmp/tdebase.build/CMakeFiles/CMakeTmp
  64.  
  65. Run Build Command(s):/usr/bin/make cmTC_0247f/fast && /usr/bin/make -f CMakeFiles/cmTC_0247f.dir/build.make CMakeFiles/cmTC_0247f.dir/build
  66. make[1]: Entering directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  67. Building C object CMakeFiles/cmTC_0247f.dir/CheckIncludeFile.c.o
  68. /usr/bin/cc -o CMakeFiles/cmTC_0247f.dir/CheckIncludeFile.c.o -c /tmp/tdebase.build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
  69. /tmp/tdebase.build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: libutil.h: No such file or directory
  70. 1 | #include <libutil.h>
  71. | ^~~~~~~~~~~
  72. compilation terminated.
  73. make[1]: *** [CMakeFiles/cmTC_0247f.dir/build.make:85: CMakeFiles/cmTC_0247f.dir/CheckIncludeFile.c.o] Error 1
  74. make[1]: Leaving directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  75. make: *** [Makefile:140: cmTC_0247f/fast] Error 2
  76.  
  77.  
  78.  
  79. Determining if the include file util.h exists failed with the following output:
  80. Change Dir: /tmp/tdebase.build/CMakeFiles/CMakeTmp
  81.  
  82. Run Build Command(s):/usr/bin/make cmTC_dd73d/fast && /usr/bin/make -f CMakeFiles/cmTC_dd73d.dir/build.make CMakeFiles/cmTC_dd73d.dir/build
  83. make[1]: Entering directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  84. Building C object CMakeFiles/cmTC_dd73d.dir/CheckIncludeFile.c.o
  85. /usr/bin/cc -o CMakeFiles/cmTC_dd73d.dir/CheckIncludeFile.c.o -c /tmp/tdebase.build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
  86. /tmp/tdebase.build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: util.h: No such file or directory
  87. 1 | #include <util.h>
  88. | ^~~~~~~~
  89. compilation terminated.
  90. make[1]: *** [CMakeFiles/cmTC_dd73d.dir/build.make:85: CMakeFiles/cmTC_dd73d.dir/CheckIncludeFile.c.o] Error 1
  91. make[1]: Leaving directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  92. make: *** [Makefile:140: cmTC_dd73d/fast] Error 2
  93.  
  94.  
  95.  
  96. Performing C SOURCE FILE Test HAVE_NOGROUP failed with the following compile output:
  97. Change Dir: /tmp/tdebase.build/CMakeFiles/CMakeTmp
  98.  
  99. Run Build Command(s):/usr/bin/make cmTC_28cd2/fast && /usr/bin/make -f CMakeFiles/cmTC_28cd2.dir/build.make CMakeFiles/cmTC_28cd2.dir/build
  100. make[1]: Entering directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  101. Building C object CMakeFiles/cmTC_28cd2.dir/src.c.o
  102. /usr/bin/cc -DHAVE_NOGROUP -o CMakeFiles/cmTC_28cd2.dir/src.c.o -c /tmp/tdebase.build/CMakeFiles/CMakeTmp/src.c
  103. Linking C executable cmTC_28cd2
  104. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_28cd2.dir/link.txt --verbose=1
  105. /usr/bin/cc -rdynamic CMakeFiles/cmTC_28cd2.dir/src.c.o -o cmTC_28cd2
  106. make[1]: Leaving directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  107.  
  108.  
  109. ...and run output:
  110.  
  111. Return value: 1
  112. Source file was:
  113.  
  114. #include <grp.h>
  115. #include <sys/types.h>
  116. int main() { struct group *grp = getgrnam("nogroup"); if(grp) return 0; return 1; }
  117. Determining if the function getpeereid exists failed with the following output:
  118. Change Dir: /tmp/tdebase.build/CMakeFiles/CMakeTmp
  119.  
  120. Run Build Command(s):/usr/bin/make cmTC_5183a/fast && /usr/bin/make -f CMakeFiles/cmTC_5183a.dir/build.make CMakeFiles/cmTC_5183a.dir/build
  121. make[1]: Entering directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  122. Building C object CMakeFiles/cmTC_5183a.dir/CheckFunctionExists.c.o
  123. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=getpeereid -o CMakeFiles/cmTC_5183a.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.19/Modules/CheckFunctionExists.c
  124. Linking C executable cmTC_5183a
  125. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5183a.dir/link.txt --verbose=1
  126. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=getpeereid -rdynamic CMakeFiles/cmTC_5183a.dir/CheckFunctionExists.c.o -o cmTC_5183a
  127. /usr/bin/ld: CMakeFiles/cmTC_5183a.dir/CheckFunctionExists.c.o: in function `main':
  128. CheckFunctionExists.c:(.text+0x10): undefined reference to `getpeereid'
  129. collect2: error: ld returned 1 exit status
  130. make[1]: *** [CMakeFiles/cmTC_5183a.dir/build.make:106: cmTC_5183a] Error 1
  131. make[1]: Leaving directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  132. make: *** [Makefile:140: cmTC_5183a/fast] Error 2
  133.  
  134.  
  135.  
  136. Determining if the function setproctitle exists failed with the following output:
  137. Change Dir: /tmp/tdebase.build/CMakeFiles/CMakeTmp
  138.  
  139. Run Build Command(s):/usr/bin/make cmTC_849c1/fast && /usr/bin/make -f CMakeFiles/cmTC_849c1.dir/build.make CMakeFiles/cmTC_849c1.dir/build
  140. make[1]: Entering directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  141. Building C object CMakeFiles/cmTC_849c1.dir/CheckFunctionExists.c.o
  142. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=setproctitle -o CMakeFiles/cmTC_849c1.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.19/Modules/CheckFunctionExists.c
  143. Linking C executable cmTC_849c1
  144. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_849c1.dir/link.txt --verbose=1
  145. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=setproctitle -rdynamic CMakeFiles/cmTC_849c1.dir/CheckFunctionExists.c.o -o cmTC_849c1
  146. /usr/bin/ld: CMakeFiles/cmTC_849c1.dir/CheckFunctionExists.c.o: in function `main':
  147. CheckFunctionExists.c:(.text+0x10): undefined reference to `setproctitle'
  148. collect2: error: ld returned 1 exit status
  149. make[1]: *** [CMakeFiles/cmTC_849c1.dir/build.make:106: cmTC_849c1] Error 1
  150. make[1]: Leaving directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  151. make: *** [Makefile:140: cmTC_849c1/fast] Error 2
  152.  
  153.  
  154.  
  155. Determining if the function setusercontext exists failed with the following output:
  156. Change Dir: /tmp/tdebase.build/CMakeFiles/CMakeTmp
  157.  
  158. Run Build Command(s):/usr/bin/make cmTC_dcada/fast && /usr/bin/make -f CMakeFiles/cmTC_dcada.dir/build.make CMakeFiles/cmTC_dcada.dir/build
  159. make[1]: Entering directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  160. Building C object CMakeFiles/cmTC_dcada.dir/CheckFunctionExists.c.o
  161. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=setusercontext -o CMakeFiles/cmTC_dcada.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.19/Modules/CheckFunctionExists.c
  162. Linking C executable cmTC_dcada
  163. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_dcada.dir/link.txt --verbose=1
  164. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=setusercontext -rdynamic CMakeFiles/cmTC_dcada.dir/CheckFunctionExists.c.o -o cmTC_dcada /usr/lib/libutil.so
  165. /usr/bin/ld: CMakeFiles/cmTC_dcada.dir/CheckFunctionExists.c.o: in function `main':
  166. CheckFunctionExists.c:(.text+0x10): undefined reference to `setusercontext'
  167. collect2: error: ld returned 1 exit status
  168. make[1]: *** [CMakeFiles/cmTC_dcada.dir/build.make:107: cmTC_dcada] Error 1
  169. make[1]: Leaving directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  170. make: *** [Makefile:140: cmTC_dcada/fast] Error 2
  171.  
  172.  
  173.  
  174. Determining if the function login_getclass exists failed with the following output:
  175. Change Dir: /tmp/tdebase.build/CMakeFiles/CMakeTmp
  176.  
  177. Run Build Command(s):/usr/bin/make cmTC_21912/fast && /usr/bin/make -f CMakeFiles/cmTC_21912.dir/build.make CMakeFiles/cmTC_21912.dir/build
  178. make[1]: Entering directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  179. Building C object CMakeFiles/cmTC_21912.dir/CheckFunctionExists.c.o
  180. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=login_getclass -o CMakeFiles/cmTC_21912.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.19/Modules/CheckFunctionExists.c
  181. Linking C executable cmTC_21912
  182. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_21912.dir/link.txt --verbose=1
  183. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=login_getclass -rdynamic CMakeFiles/cmTC_21912.dir/CheckFunctionExists.c.o -o cmTC_21912 /usr/lib/libutil.so
  184. /usr/bin/ld: CMakeFiles/cmTC_21912.dir/CheckFunctionExists.c.o: in function `main':
  185. CheckFunctionExists.c:(.text+0x10): undefined reference to `login_getclass'
  186. collect2: error: ld returned 1 exit status
  187. make[1]: *** [CMakeFiles/cmTC_21912.dir/build.make:107: cmTC_21912] Error 1
  188. make[1]: Leaving directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  189. make: *** [Makefile:140: cmTC_21912/fast] Error 2
  190.  
  191.  
  192.  
  193. Determining if the function auth_timeok exists failed with the following output:
  194. Change Dir: /tmp/tdebase.build/CMakeFiles/CMakeTmp
  195.  
  196. Run Build Command(s):/usr/bin/make cmTC_b52b8/fast && /usr/bin/make -f CMakeFiles/cmTC_b52b8.dir/build.make CMakeFiles/cmTC_b52b8.dir/build
  197. make[1]: Entering directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  198. Building C object CMakeFiles/cmTC_b52b8.dir/CheckFunctionExists.c.o
  199. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=auth_timeok -o CMakeFiles/cmTC_b52b8.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.19/Modules/CheckFunctionExists.c
  200. Linking C executable cmTC_b52b8
  201. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b52b8.dir/link.txt --verbose=1
  202. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=auth_timeok -rdynamic CMakeFiles/cmTC_b52b8.dir/CheckFunctionExists.c.o -o cmTC_b52b8 /usr/lib/libutil.so
  203. /usr/bin/ld: CMakeFiles/cmTC_b52b8.dir/CheckFunctionExists.c.o: in function `main':
  204. CheckFunctionExists.c:(.text+0x10): undefined reference to `auth_timeok'
  205. collect2: error: ld returned 1 exit status
  206. make[1]: *** [CMakeFiles/cmTC_b52b8.dir/build.make:107: cmTC_b52b8] Error 1
  207. make[1]: Leaving directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  208. make: *** [Makefile:140: cmTC_b52b8/fast] Error 2
  209.  
  210.  
  211.  
  212. Performing C SOURCE FILE Test HAVE_STRUCT_SOCKADDR_IN_SIN_LEN failed with the following output:
  213. Change Dir: /tmp/tdebase.build/CMakeFiles/CMakeTmp
  214.  
  215. Run Build Command(s):/usr/bin/make cmTC_0b3a8/fast && /usr/bin/make -f CMakeFiles/cmTC_0b3a8.dir/build.make CMakeFiles/cmTC_0b3a8.dir/build
  216. make[1]: Entering directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  217. Building C object CMakeFiles/cmTC_0b3a8.dir/src.c.o
  218. /usr/bin/cc -DHAVE_STRUCT_SOCKADDR_IN_SIN_LEN -o CMakeFiles/cmTC_0b3a8.dir/src.c.o -c /tmp/tdebase.build/CMakeFiles/CMakeTmp/src.c
  219. /tmp/tdebase.build/CMakeFiles/CMakeTmp/src.c: In function 'main':
  220. /tmp/tdebase.build/CMakeFiles/CMakeTmp/src.c:7:41: error: 'struct sockaddr_in' has no member named 'sin_len'
  221. 7 | (void)sizeof(((struct sockaddr_in *)0)->sin_len);
  222. | ^~
  223. make[1]: *** [CMakeFiles/cmTC_0b3a8.dir/build.make:85: CMakeFiles/cmTC_0b3a8.dir/src.c.o] Error 1
  224. make[1]: Leaving directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  225. make: *** [Makefile:140: cmTC_0b3a8/fast] Error 2
  226.  
  227.  
  228. Source file was:
  229.  
  230. #include <sys/socket.h>
  231. #include <netinet/in.h>
  232.  
  233. int main()
  234. {
  235. (void)sizeof(((struct sockaddr_in *)0)->sin_len);
  236. return 0;
  237. }
  238.  
  239. Performing C SOURCE FILE Test HAVE_STRUCT_PASSWD_PW_EXPIRE failed with the following output:
  240. Change Dir: /tmp/tdebase.build/CMakeFiles/CMakeTmp
  241.  
  242. Run Build Command(s):/usr/bin/make cmTC_2a023/fast && /usr/bin/make -f CMakeFiles/cmTC_2a023.dir/build.make CMakeFiles/cmTC_2a023.dir/build
  243. make[1]: Entering directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  244. Building C object CMakeFiles/cmTC_2a023.dir/src.c.o
  245. /usr/bin/cc -DHAVE_STRUCT_PASSWD_PW_EXPIRE -o CMakeFiles/cmTC_2a023.dir/src.c.o -c /tmp/tdebase.build/CMakeFiles/CMakeTmp/src.c
  246. /tmp/tdebase.build/CMakeFiles/CMakeTmp/src.c: In function 'main':
  247. /tmp/tdebase.build/CMakeFiles/CMakeTmp/src.c:6:36: error: 'struct passwd' has no member named 'pw_expire'
  248. 6 | (void)sizeof(((struct passwd *)0)->pw_expire);
  249. | ^~
  250. make[1]: *** [CMakeFiles/cmTC_2a023.dir/build.make:85: CMakeFiles/cmTC_2a023.dir/src.c.o] Error 1
  251. make[1]: Leaving directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  252. make: *** [Makefile:140: cmTC_2a023/fast] Error 2
  253.  
  254.  
  255. Source file was:
  256.  
  257. #include <pwd.h>
  258.  
  259. int main()
  260. {
  261. (void)sizeof(((struct passwd *)0)->pw_expire);
  262. return 0;
  263. }
  264.  
  265. Performing C SOURCE FILE Test HAVE_SETLOGIN failed with the following compile output:
  266. Change Dir: /tmp/tdebase.build/CMakeFiles/CMakeTmp
  267.  
  268. Run Build Command(s):/usr/bin/make cmTC_bfc7d/fast && /usr/bin/make -f CMakeFiles/cmTC_bfc7d.dir/build.make CMakeFiles/cmTC_bfc7d.dir/build
  269. make[1]: Entering directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  270. Building C object CMakeFiles/cmTC_bfc7d.dir/src.c.o
  271. /usr/bin/cc -DHAVE_SETLOGIN -o CMakeFiles/cmTC_bfc7d.dir/src.c.o -c /tmp/tdebase.build/CMakeFiles/CMakeTmp/src.c
  272. Linking C executable cmTC_bfc7d
  273. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bfc7d.dir/link.txt --verbose=1
  274. /usr/bin/cc -rdynamic CMakeFiles/cmTC_bfc7d.dir/src.c.o -o cmTC_bfc7d
  275. /usr/bin/ld: CMakeFiles/cmTC_bfc7d.dir/src.c.o: in function `main':
  276. src.c:(.text+0xa): warning: setlogin is not implemented and will always fail
  277. make[1]: Leaving directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  278.  
  279.  
  280. ...and run output:
  281.  
  282. Return value: 1
  283. Source file was:
  284.  
  285. #include <errno.h>
  286. #include <unistd.h>
  287. int main()
  288. {
  289. setlogin(0);
  290. return errno == ENOSYS;
  291. }
  292.  
  293. Determining if the function arc4random exists failed with the following output:
  294. Change Dir: /tmp/tdebase.build/CMakeFiles/CMakeTmp
  295.  
  296. Run Build Command(s):/usr/bin/make cmTC_9fc2d/fast && /usr/bin/make -f CMakeFiles/cmTC_9fc2d.dir/build.make CMakeFiles/cmTC_9fc2d.dir/build
  297. make[1]: Entering directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  298. Building C object CMakeFiles/cmTC_9fc2d.dir/CheckFunctionExists.c.o
  299. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=arc4random -o CMakeFiles/cmTC_9fc2d.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.19/Modules/CheckFunctionExists.c
  300. Linking C executable cmTC_9fc2d
  301. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9fc2d.dir/link.txt --verbose=1
  302. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=arc4random -rdynamic CMakeFiles/cmTC_9fc2d.dir/CheckFunctionExists.c.o -o cmTC_9fc2d
  303. /usr/bin/ld: CMakeFiles/cmTC_9fc2d.dir/CheckFunctionExists.c.o: in function `main':
  304. CheckFunctionExists.c:(.text+0x10): undefined reference to `arc4random'
  305. collect2: error: ld returned 1 exit status
  306. make[1]: *** [CMakeFiles/cmTC_9fc2d.dir/build.make:106: cmTC_9fc2d] Error 1
  307. make[1]: Leaving directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  308. make: *** [Makefile:140: cmTC_9fc2d/fast] Error 2
  309.  
  310.  
  311.  
  312. Determining if the function arc4random_buf exists failed with the following output:
  313. Change Dir: /tmp/tdebase.build/CMakeFiles/CMakeTmp
  314.  
  315. Run Build Command(s):/usr/bin/make cmTC_bedcd/fast && /usr/bin/make -f CMakeFiles/cmTC_bedcd.dir/build.make CMakeFiles/cmTC_bedcd.dir/build
  316. make[1]: Entering directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  317. Building C object CMakeFiles/cmTC_bedcd.dir/CheckFunctionExists.c.o
  318. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=arc4random_buf -o CMakeFiles/cmTC_bedcd.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.19/Modules/CheckFunctionExists.c
  319. Linking C executable cmTC_bedcd
  320. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bedcd.dir/link.txt --verbose=1
  321. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=arc4random_buf -rdynamic CMakeFiles/cmTC_bedcd.dir/CheckFunctionExists.c.o -o cmTC_bedcd
  322. /usr/bin/ld: CMakeFiles/cmTC_bedcd.dir/CheckFunctionExists.c.o: in function `main':
  323. CheckFunctionExists.c:(.text+0x10): undefined reference to `arc4random_buf'
  324. collect2: error: ld returned 1 exit status
  325. make[1]: *** [CMakeFiles/cmTC_bedcd.dir/build.make:106: cmTC_bedcd] Error 1
  326. make[1]: Leaving directory '/tmp/tdebase.build/CMakeFiles/CMakeTmp'
  327. make: *** [Makefile:140: cmTC_bedcd/fast] Error 2
  328.  
  329.  
  330.  
  331.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement