Advertisement
Guest User

ntpsec build/config.log for failed build

a guest
Aug 17th, 2016
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 139.65 KB | None | 0 0
  1. # project configured on Wed Aug 17 22:40:29 2016 by
  2. # waf 1.8.20 (abi 98, python 20709f0 on linux2)
  3. # using waf configure --refclock=28
  4. #
  5. ----------------------------------------
  6. Setting top to
  7. /home/jon/ntpsec
  8. ----------------------------------------
  9. Setting out to
  10. /home/jon/ntpsec/build
  11. ----------------------------------------
  12. Checking for 'gcc' (C compiler)
  13. find program=['gcc', 'cc'] paths=['/home/jon/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '.'] var='CC' -> ['/usr/bin/gcc']
  14. ['/usr/bin/gcc', '-dM', '-E', '-']
  15. out: #define __DBL_MIN_EXP__ (-1021)
  16. #define __HQ_FBIT__ 15
  17. #define __UINT_LEAST16_MAX__ 65535
  18. #define __ARM_SIZEOF_WCHAR_T 32
  19. #define __ATOMIC_ACQUIRE 2
  20. #define __SFRACT_IBIT__ 0
  21. #define __FLT_MIN__ 1.1754943508222875e-38F
  22. #define __GCC_IEC_559_COMPLEX 2
  23. #define __UFRACT_MAX__ 0XFFFFP-16UR
  24. #define __UINT_LEAST8_TYPE__ unsigned char
  25. #define __DQ_FBIT__ 63
  26. #define __INTMAX_C(c) c ## LL
  27. #define __ARM_FEATURE_SAT 1
  28. #define __ULFRACT_FBIT__ 32
  29. #define __SACCUM_EPSILON__ 0x1P-7HK
  30. #define __CHAR_BIT__ 8
  31. #define __USQ_IBIT__ 0
  32. #define __UINT8_MAX__ 255
  33. #define __ACCUM_FBIT__ 15
  34. #define __WINT_MAX__ 4294967295U
  35. #define __USFRACT_FBIT__ 8
  36. #define __ORDER_LITTLE_ENDIAN__ 1234
  37. #define __SIZE_MAX__ 4294967295U
  38. #define __ARM_ARCH_ISA_ARM 1
  39. #define __WCHAR_MAX__ 4294967295U
  40. #define __LACCUM_IBIT__ 32
  41. #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
  42. #define __DBL_DENORM_MIN__ ((double)4.9406564584124654e-324L)
  43. #define __GCC_ATOMIC_CHAR_LOCK_FREE 1
  44. #define __GCC_IEC_559 2
  45. #define __FLT_EVAL_METHOD__ 0
  46. #define __unix__ 1
  47. #define __LLACCUM_MAX__ 0X7FFFFFFFFFFFFFFFP-31LLK
  48. #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
  49. #define __FRACT_FBIT__ 15
  50. #define __UINT_FAST64_MAX__ 18446744073709551615ULL
  51. #define __SIG_ATOMIC_TYPE__ int
  52. #define __UACCUM_FBIT__ 16
  53. #define __DBL_MIN_10_EXP__ (-307)
  54. #define __FINITE_MATH_ONLY__ 0
  55. #define __ARMEL__ 1
  56. #define __ARM_FEATURE_UNALIGNED 1
  57. #define __LFRACT_IBIT__ 0
  58. #define __GNUC_PATCHLEVEL__ 2
  59. #define __LFRACT_MAX__ 0X7FFFFFFFP-31LR
  60. #define __UINT_FAST8_MAX__ 255
  61. #define __has_include(STR) __has_include__(STR)
  62. #define __DEC64_MAX_EXP__ 385
  63. #define __INT8_C(c) c
  64. #define __UINT_LEAST64_MAX__ 18446744073709551615ULL
  65. #define __SA_FBIT__ 15
  66. #define __SHRT_MAX__ 32767
  67. #define __LDBL_MAX__ 1.7976931348623157e+308L
  68. #define __FRACT_MAX__ 0X7FFFP-15R
  69. #define __UFRACT_FBIT__ 16
  70. #define __ARM_FP 12
  71. #define __UFRACT_MIN__ 0.0UR
  72. #define __UINT_LEAST8_MAX__ 255
  73. #define __GCC_ATOMIC_BOOL_LOCK_FREE 1
  74. #define __UINTMAX_TYPE__ long long unsigned int
  75. #define __LLFRACT_EPSILON__ 0x1P-63LLR
  76. #define __linux 1
  77. #define __DEC32_EPSILON__ 1E-6DF
  78. #define __CHAR_UNSIGNED__ 1
  79. #define __UINT32_MAX__ 4294967295U
  80. #define __ULFRACT_MAX__ 0XFFFFFFFFP-32ULR
  81. #define __TA_IBIT__ 64
  82. #define __LDBL_MAX_EXP__ 1024
  83. #define __WINT_MIN__ 0U
  84. #define __linux__ 1
  85. #define __ULLFRACT_MIN__ 0.0ULLR
  86. #define __SCHAR_MAX__ 127
  87. #define __WCHAR_MIN__ 0U
  88. #define __INT64_C(c) c ## LL
  89. #define __DBL_DIG__ 15
  90. #define __ARM_NEON_FP 4
  91. #define __GCC_ATOMIC_POINTER_LOCK_FREE 2
  92. #define __LLACCUM_MIN__ (-0X1P31LLK-0X1P31LLK)
  93. #define __SIZEOF_INT__ 4
  94. #define __SIZEOF_POINTER__ 4
  95. #define __USACCUM_IBIT__ 8
  96. #define __USER_LABEL_PREFIX__
  97. #define __STDC_HOSTED__ 1
  98. #define __LDBL_HAS_INFINITY__ 1
  99. #define __LFRACT_MIN__ (-0.5LR-0.5LR)
  100. #define __HA_IBIT__ 8
  101. #define __TQ_IBIT__ 0
  102. #define __FLT_EPSILON__ 1.1920928955078125e-7F
  103. #define __APCS_32__ 1
  104. #define __USFRACT_IBIT__ 0
  105. #define __LDBL_MIN__ 2.2250738585072014e-308L
  106. #define __FRACT_MIN__ (-0.5R-0.5R)
  107. #define __DEC32_MAX__ 9.999999E96DF
  108. #define __DA_IBIT__ 32
  109. #define __ARM_SIZEOF_MINIMAL_ENUM 4
  110. #define __INT32_MAX__ 2147483647
  111. #define __UQQ_FBIT__ 8
  112. #define __SIZEOF_LONG__ 4
  113. #define __UACCUM_MAX__ 0XFFFFFFFFP-16UK
  114. #define __STDC_IEC_559__ 1
  115. #define __STDC_ISO_10646__ 201103L
  116. #define __UINT16_C(c) c
  117. #define __DECIMAL_DIG__ 17
  118. #define __LFRACT_EPSILON__ 0x1P-31LR
  119. #define __ULFRACT_MIN__ 0.0ULR
  120. #define __gnu_linux__ 1
  121. #define __has_include_next(STR) __has_include_next__(STR)
  122. #define __ARM_PCS_VFP 1
  123. #define __LDBL_HAS_QUIET_NAN__ 1
  124. #define __ULACCUM_IBIT__ 32
  125. #define __UACCUM_EPSILON__ 0x1P-16UK
  126. #define __GNUC__ 4
  127. #define __ULLACCUM_MAX__ 0XFFFFFFFFFFFFFFFFP-32ULLK
  128. #define __HQ_IBIT__ 0
  129. #define __FLT_HAS_DENORM__ 1
  130. #define __SIZEOF_LONG_DOUBLE__ 8
  131. #define __BIGGEST_ALIGNMENT__ 8
  132. #define __DQ_IBIT__ 0
  133. #define __DBL_MAX__ ((double)1.7976931348623157e+308L)
  134. #define __ULFRACT_IBIT__ 0
  135. #define __INT_FAST32_MAX__ 2147483647
  136. #define __DBL_HAS_INFINITY__ 1
  137. #define __ACCUM_IBIT__ 16
  138. #define __DEC32_MIN_EXP__ (-94)
  139. #define __THUMB_INTERWORK__ 1
  140. #define __LACCUM_MAX__ 0X7FFFFFFFFFFFFFFFP-31LK
  141. #define __INT_FAST16_TYPE__ int
  142. #define __LDBL_HAS_DENORM__ 1
  143. #define __ARM_FEATURE_LDREX 4
  144. #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL
  145. #define __INT_LEAST32_MAX__ 2147483647
  146. #define __DEC32_MIN__ 1E-95DF
  147. #define __ACCUM_MAX__ 0X7FFFFFFFP-15K
  148. #define __DBL_MAX_EXP__ 1024
  149. #define __USACCUM_EPSILON__ 0x1P-8UHK
  150. #define __DEC128_EPSILON__ 1E-33DL
  151. #define __SFRACT_MAX__ 0X7FP-7HR
  152. #define __FRACT_IBIT__ 0
  153. #define __PTRDIFF_MAX__ 2147483647
  154. #define __UACCUM_MIN__ 0.0UK
  155. #define __STDC_NO_THREADS__ 1
  156. #define __UACCUM_IBIT__ 16
  157. #define __LONG_LONG_MAX__ 9223372036854775807LL
  158. #define __SIZEOF_SIZE_T__ 4
  159. #define __ULACCUM_MAX__ 0XFFFFFFFFFFFFFFFFP-32ULK
  160. #define __SIZEOF_WINT_T__ 4
  161. #define __SA_IBIT__ 16
  162. #define __ULLACCUM_MIN__ 0.0ULLK
  163. #define __GXX_ABI_VERSION 1002
  164. #define __UTA_FBIT__ 64
  165. #define __FLT_MIN_EXP__ (-125)
  166. #define __USFRACT_MAX__ 0XFFP-8UHR
  167. #define __UFRACT_IBIT__ 0
  168. #define __ARM_FEATURE_QBIT 1
  169. #define __INT_FAST64_TYPE__ long long int
  170. #define __DBL_MIN__ ((double)2.2250738585072014e-308L)
  171. #define __LACCUM_MIN__ (-0X1P31LK-0X1P31LK)
  172. #define __ULLACCUM_FBIT__ 32
  173. #define __GXX_TYPEINFO_EQUALITY_INLINE 0
  174. #define __ULLFRACT_EPSILON__ 0x1P-64ULLR
  175. #define __DEC128_MIN__ 1E-6143DL
  176. #define __REGISTER_PREFIX__
  177. #define __UINT16_MAX__ 65535
  178. #define __DBL_HAS_DENORM__ 1
  179. #define __ACCUM_MIN__ (-0X1P15K-0X1P15K)
  180. #define __SQ_IBIT__ 0
  181. #define __UINT8_TYPE__ unsigned char
  182. #define __UHA_FBIT__ 8
  183. #define __NO_INLINE__ 1
  184. #define __SFRACT_MIN__ (-0.5HR-0.5HR)
  185. #define __UTQ_FBIT__ 128
  186. #define __FLT_MANT_DIG__ 24
  187. #define __VERSION__ "4.9.2"
  188. #define __UINT64_C(c) c ## ULL
  189. #define __ULLFRACT_FBIT__ 64
  190. #define __FRACT_EPSILON__ 0x1P-15R
  191. #define __ULACCUM_MIN__ 0.0ULK
  192. #define _STDC_PREDEF_H 1
  193. #define __UDA_FBIT__ 32
  194. #define __LLACCUM_EPSILON__ 0x1P-31LLK
  195. #define __GCC_ATOMIC_INT_LOCK_FREE 2
  196. #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__
  197. #define __USFRACT_MIN__ 0.0UHR
  198. #define __UQQ_IBIT__ 0
  199. #define __STDC_IEC_559_COMPLEX__ 1
  200. #define __INT32_C(c) c
  201. #define __DEC64_EPSILON__ 1E-15DD
  202. #define __ORDER_PDP_ENDIAN__ 3412
  203. #define __DEC128_MIN_EXP__ (-6142)
  204. #define __UHQ_FBIT__ 16
  205. #define __LLACCUM_FBIT__ 31
  206. #define __INT_FAST32_TYPE__ int
  207. #define __UINT_LEAST16_TYPE__ short unsigned int
  208. #define unix 1
  209. #define __INT16_MAX__ 32767
  210. #define __SIZE_TYPE__ unsigned int
  211. #define __UINT64_MAX__ 18446744073709551615ULL
  212. #define __UDQ_FBIT__ 64
  213. #define __INT8_TYPE__ signed char
  214. #define __ELF__ 1
  215. #define __ULFRACT_EPSILON__ 0x1P-32ULR
  216. #define __LLFRACT_FBIT__ 63
  217. #define __FLT_RADIX__ 2
  218. #define __INT_LEAST16_TYPE__ short int
  219. #define __LDBL_EPSILON__ 2.2204460492503131e-16L
  220. #define __UINTMAX_C(c) c ## ULL
  221. #define __SACCUM_MAX__ 0X7FFFP-7HK
  222. #define __SIG_ATOMIC_MAX__ 2147483647
  223. #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
  224. #define __VFP_FP__ 1
  225. #define __SIZEOF_PTRDIFF_T__ 4
  226. #define __LACCUM_EPSILON__ 0x1P-31LK
  227. #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF
  228. #define __INT_FAST16_MAX__ 2147483647
  229. #define __ARM_ARCH_6__ 1
  230. #define __UINT_FAST32_MAX__ 4294967295U
  231. #define __UINT_LEAST64_TYPE__ long long unsigned int
  232. #define __USACCUM_MAX__ 0XFFFFP-8UHK
  233. #define __SFRACT_EPSILON__ 0x1P-7HR
  234. #define __FLT_HAS_QUIET_NAN__ 1
  235. #define __FLT_MAX_10_EXP__ 38
  236. #define __LONG_MAX__ 2147483647L
  237. #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL
  238. #define __FLT_HAS_INFINITY__ 1
  239. #define __unix 1
  240. #define __USA_FBIT__ 16
  241. #define __UINT_FAST16_TYPE__ unsigned int
  242. #define __DEC64_MAX__ 9.999999999999999E384DD
  243. #define __ARM_32BIT_STATE 1
  244. #define __CHAR16_TYPE__ short unsigned int
  245. #define __PRAGMA_REDEFINE_EXTNAME 1
  246. #define __INT_LEAST16_MAX__ 32767
  247. #define __DEC64_MANT_DIG__ 16
  248. #define __INT64_MAX__ 9223372036854775807LL
  249. #define __UINT_LEAST32_MAX__ 4294967295U
  250. #define __SACCUM_FBIT__ 7
  251. #define __GCC_ATOMIC_LONG_LOCK_FREE 2
  252. #define __INT_LEAST64_TYPE__ long long int
  253. #define __ARM_FEATURE_CLZ 1
  254. #define __INT16_TYPE__ short int
  255. #define __INT_LEAST8_TYPE__ signed char
  256. #define __SQ_FBIT__ 31
  257. #define __DEC32_MAX_EXP__ 97
  258. #define __ARM_ARCH_ISA_THUMB 1
  259. #define __INT_FAST8_MAX__ 127
  260. #define __ARM_ARCH 6
  261. #define __INTPTR_MAX__ 2147483647
  262. #define __QQ_FBIT__ 7
  263. #define linux 1
  264. #define __UTA_IBIT__ 64
  265. #define __LDBL_MANT_DIG__ 53
  266. #define __SFRACT_FBIT__ 7
  267. #define __SACCUM_MIN__ (-0X1P7HK-0X1P7HK)
  268. #define __DBL_HAS_QUIET_NAN__ 1
  269. #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1)
  270. #define __INTPTR_TYPE__ int
  271. #define __UINT16_TYPE__ short unsigned int
  272. #define __WCHAR_TYPE__ unsigned int
  273. #define __SIZEOF_FLOAT__ 4
  274. #define __USQ_FBIT__ 32
  275. #define __UINTPTR_MAX__ 4294967295U
  276. #define __DEC64_MIN_EXP__ (-382)
  277. #define __ULLACCUM_IBIT__ 32
  278. #define __INT_FAST64_MAX__ 9223372036854775807LL
  279. #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
  280. #define __FLT_DIG__ 6
  281. #define __UINT_FAST64_TYPE__ long long unsigned int
  282. #define __INT_MAX__ 2147483647
  283. #define __LACCUM_FBIT__ 31
  284. #define __USACCUM_MIN__ 0.0UHK
  285. #define __UHA_IBIT__ 8
  286. #define __INT64_TYPE__ long long int
  287. #define __FLT_MAX_EXP__ 128
  288. #define __UTQ_IBIT__ 0
  289. #define __DBL_MANT_DIG__ 53
  290. #define __INT_LEAST64_MAX__ 9223372036854775807LL
  291. #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 1
  292. #define __DEC64_MIN__ 1E-383DD
  293. #define __WINT_TYPE__ unsigned int
  294. #define __UINT_LEAST32_TYPE__ unsigned int
  295. #define __SIZEOF_SHORT__ 2
  296. #define __ULLFRACT_IBIT__ 0
  297. #define __LDBL_MIN_EXP__ (-1021)
  298. #define __arm__ 1
  299. #define __UDA_IBIT__ 32
  300. #define __INT_LEAST8_MAX__ 127
  301. #define __LFRACT_FBIT__ 31
  302. #define __LDBL_MAX_10_EXP__ 308
  303. #define __ATOMIC_RELAXED 0
  304. #define __DBL_EPSILON__ ((double)2.2204460492503131e-16L)
  305. #define __ARM_FEATURE_SIMD32 1
  306. #define __UINT8_C(c) c
  307. #define __INT_LEAST32_TYPE__ int
  308. #define __SIZEOF_WCHAR_T__ 4
  309. #define __UINT64_TYPE__ long long unsigned int
  310. #define __LLFRACT_MAX__ 0X7FFFFFFFFFFFFFFFP-63LLR
  311. #define __TQ_FBIT__ 127
  312. #define __INT_FAST8_TYPE__ signed char
  313. #define __ULLACCUM_EPSILON__ 0x1P-32ULLK
  314. #define __UHQ_IBIT__ 0
  315. #define __LLACCUM_IBIT__ 32
  316. #define __DBL_DECIMAL_DIG__ 17
  317. #define __DEC_EVAL_METHOD__ 2
  318. #define __TA_FBIT__ 63
  319. #define __UDQ_IBIT__ 0
  320. #define __ORDER_BIG_ENDIAN__ 4321
  321. #define __ACCUM_EPSILON__ 0x1P-15K
  322. #define __UINT32_C(c) c ## U
  323. #define __INTMAX_MAX__ 9223372036854775807LL
  324. #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
  325. #define __FLT_DENORM_MIN__ 1.4012984643248171e-45F
  326. #define __LLFRACT_IBIT__ 0
  327. #define __INT8_MAX__ 127
  328. #define __UINT_FAST32_TYPE__ unsigned int
  329. #define __CHAR32_TYPE__ unsigned int
  330. #define __FLT_MAX__ 3.4028234663852886e+38F
  331. #define __USACCUM_FBIT__ 8
  332. #define __INT32_TYPE__ int
  333. #define __SIZEOF_DOUBLE__ 8
  334. #define __FLT_MIN_10_EXP__ (-37)
  335. #define __UFRACT_EPSILON__ 0x1P-16UR
  336. #define __INTMAX_TYPE__ long long int
  337. #define __DEC128_MAX_EXP__ 6145
  338. #define __ATOMIC_CONSUME 1
  339. #define __GNUC_MINOR__ 9
  340. #define __UINTMAX_MAX__ 18446744073709551615ULL
  341. #define __DEC32_MANT_DIG__ 7
  342. #define __HA_FBIT__ 7
  343. #define __DBL_MAX_10_EXP__ 308
  344. #define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
  345. #define __INT16_C(c) c
  346. #define __STDC__ 1
  347. #define __PTRDIFF_TYPE__ int
  348. #define __LLFRACT_MIN__ (-0.5LLR-0.5LLR)
  349. #define __ATOMIC_SEQ_CST 5
  350. #define __DA_FBIT__ 31
  351. #define __UINT32_TYPE__ unsigned int
  352. #define __UINTPTR_TYPE__ unsigned int
  353. #define __USA_IBIT__ 16
  354. #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD
  355. #define __ARM_EABI__ 1
  356. #define __DEC128_MANT_DIG__ 34
  357. #define __LDBL_MIN_10_EXP__ (-307)
  358. #define __SIZEOF_LONG_LONG__ 8
  359. #define __ULACCUM_EPSILON__ 0x1P-32ULK
  360. #define __SACCUM_IBIT__ 8
  361. #define __GCC_ATOMIC_LLONG_LOCK_FREE 1
  362. #define __LDBL_DIG__ 15
  363. #define __FLT_DECIMAL_DIG__ 9
  364. #define __UINT_FAST16_MAX__ 4294967295U
  365. #define __GNUC_GNU_INLINE__ 1
  366. #define __GCC_ATOMIC_SHORT_LOCK_FREE 1
  367. #define __ULLFRACT_MAX__ 0XFFFFFFFFFFFFFFFFP-64ULLR
  368. #define __UINT_FAST8_TYPE__ unsigned char
  369. #define __USFRACT_EPSILON__ 0x1P-8UHR
  370. #define __ULACCUM_FBIT__ 32
  371. #define __ARM_FEATURE_DSP 1
  372. #define __QQ_IBIT__ 0
  373. #define __ATOMIC_ACQ_REL 4
  374. #define __ATOMIC_RELEASE 3
  375.  
  376. find program=['ar'] paths=['/home/jon/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '.'] var='AR' -> ['/usr/bin/ar']
  377. /usr/bin/gcc
  378. ----------------------------------------
  379. Checking for program 'bison'
  380. /usr/bin/bison
  381. find program=['bison'] paths=['/home/jon/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '.'] var='BISON' -> ['/usr/bin/bison']
  382. ----------------------------------------
  383. Checking compiler
  384. ==>
  385.  
  386. #include <stdio.h>
  387.  
  388. int main(void) {
  389. #ifdef __clang__
  390. printf("1");
  391. #elif __INTEL_COMPILER
  392. printf("2");
  393. #elif __GNUC__
  394. printf("3");
  395. #else
  396. printf("255");
  397. #endif
  398. return 0;
  399. }
  400.  
  401. <==
  402. [1/3] Compiling build/.conf_check_6d04bf36d98945894d9fba68b7feef52/test.c
  403.  
  404. ['/usr/bin/gcc', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_6d04bf36d98945894d9fba68b7feef52/testbuild/test.c.1.o']
  405. [2/3] Linking build/.conf_check_6d04bf36d98945894d9fba68b7feef52/testbuild/testprog
  406.  
  407. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_6d04bf36d98945894d9fba68b7feef52/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  408. [3/3] Processing build/.conf_check_6d04bf36d98945894d9fba68b7feef52/testbuild/testprog
  409.  
  410. ['/home/jon/ntpsec/build/.conf_check_6d04bf36d98945894d9fba68b7feef52/testbuild/testprog']
  411. out: 3
  412. yes
  413. ----------------------------------------
  414. Compiler found
  415. GCC
  416. ----------------------------------------
  417. Checking for program 'awk'
  418. /usr/bin/awk
  419. find program=['awk'] paths=['/home/jon/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '.'] var='BIN_AWK' -> ['/usr/bin/awk']
  420. ----------------------------------------
  421. Checking for program 'perl'
  422. /usr/bin/perl
  423. find program=['perl'] paths=['/home/jon/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '.'] var='BIN_PERL' -> ['/usr/bin/perl']
  424. ----------------------------------------
  425. Checking for program 'sh'
  426. /bin/sh
  427. find program=['sh'] paths=['/home/jon/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '.'] var='BIN_SH' -> ['/bin/sh']
  428. ----------------------------------------
  429. Checking for program 'asciidoc'
  430. not found
  431. find program=['asciidoc'] paths=['/home/jon/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '.'] var='BIN_ASCIIDOC' -> None
  432. from /home/jon/ntpsec: Could not find the program ['asciidoc']
  433. ----------------------------------------
  434. Checking for program 'a2x'
  435. not found
  436. find program=['a2x'] paths=['/home/jon/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '.'] var='BIN_A2X' -> None
  437. from /home/jon/ntpsec: Could not find the program ['a2x']
  438. ----------------------------------------
  439. Checking for program 'xsltproc'
  440. /usr/bin/xsltproc
  441. find program=['xsltproc'] paths=['/home/jon/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '.'] var='BIN_XSLTPROC' -> ['/usr/bin/xsltproc']
  442. ----------------------------------------
  443. Checking for program 'git'
  444. /usr/bin/git
  445. find program=['git'] paths=['/home/jon/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '.'] var='BIN_GIT' -> ['/usr/bin/git']
  446. ----------------------------------------
  447. DEVEL: Getting revision
  448. 298805ed20a586eb6436ed1e9ebcfe1e5a2ca224
  449. ----------------------------------------
  450. Building version
  451. 0.9.5-298805e
  452. ----------------------------------------
  453. Checking build target
  454. unix
  455. ----------------------------------------
  456. Checking for type uint64_t
  457. ==>
  458. #include <stdint.h>
  459. #include <sys/types.h>
  460.  
  461. int main () {
  462. if (sizeof (uint64_t))
  463. return 0;
  464. return 0;
  465. }
  466.  
  467. <==
  468. [1/2] Compiling build/.conf_check_9ae4f81cdfbe44fb55e4a7e74b0bf48a/test.c
  469.  
  470. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_9ae4f81cdfbe44fb55e4a7e74b0bf48a/testbuild/test.c.1.o']
  471. [2/2] Linking build/.conf_check_9ae4f81cdfbe44fb55e4a7e74b0bf48a/testbuild/testprog
  472.  
  473. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_9ae4f81cdfbe44fb55e4a7e74b0bf48a/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  474. yes
  475. ----------------------------------------
  476. Checking for type struct if_laddrconf
  477. ==>
  478. #include <sys/types.h>
  479. #include <net/if6.h>
  480.  
  481. int main () {
  482. if (sizeof (struct if_laddrconf))
  483. return 0;
  484. return 0;
  485. }
  486.  
  487. <==
  488. [1/2] Compiling build/.conf_check_70bec5eb3c1b620247838aa4953cffa4/test.c
  489.  
  490. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_70bec5eb3c1b620247838aa4953cffa4/testbuild/test.c.1.o']
  491. err: ../test.c:2:21: fatal error: net/if6.h: No such file or directory
  492. #include <net/if6.h>
  493. ^
  494. compilation terminated.
  495.  
  496. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  497. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  498. bld.compile()
  499. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  500. raise Errors.BuildError(self.producer.error)
  501. BuildError: Build failed
  502. -> task in 'testprog' failed (exit status 1):
  503. {task 3057478608L: c test.c -> test.c.1.o}
  504. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_70bec5eb3c1b620247838aa4953cffa4/testbuild/test.c.1.o']
  505.  
  506. no
  507. from /home/jon/ntpsec: The configuration failed
  508. ----------------------------------------
  509. Checking for type struct if_laddrreq
  510. ==>
  511. #include <sys/types.h>
  512. #include <net/if6.h>
  513.  
  514. int main () {
  515. if (sizeof (struct if_laddrreq))
  516. return 0;
  517. return 0;
  518. }
  519.  
  520. <==
  521. [1/2] Compiling build/.conf_check_744ac1208749dd23bf5c2a6ea4502b44/test.c
  522.  
  523. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_744ac1208749dd23bf5c2a6ea4502b44/testbuild/test.c.1.o']
  524. err: ../test.c:2:21: fatal error: net/if6.h: No such file or directory
  525. #include <net/if6.h>
  526. ^
  527. compilation terminated.
  528.  
  529. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  530. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  531. bld.compile()
  532. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  533. raise Errors.BuildError(self.producer.error)
  534. BuildError: Build failed
  535. -> task in 'testprog' failed (exit status 1):
  536. {task 3057462320L: c test.c -> test.c.1.o}
  537. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_744ac1208749dd23bf5c2a6ea4502b44/testbuild/test.c.1.o']
  538.  
  539. no
  540. from /home/jon/ntpsec: The configuration failed
  541. ----------------------------------------
  542. Checking for type struct timex
  543. ==>
  544. #include <sys/time.h>
  545. #include <sys/timex.h>
  546.  
  547. int main () {
  548. if (sizeof (struct timex))
  549. return 0;
  550. return 0;
  551. }
  552.  
  553. <==
  554. [1/2] Compiling build/.conf_check_e66e6cecac8f837d89db500e20a69a8d/test.c
  555.  
  556. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_e66e6cecac8f837d89db500e20a69a8d/testbuild/test.c.1.o']
  557. [2/2] Linking build/.conf_check_e66e6cecac8f837d89db500e20a69a8d/testbuild/testprog
  558.  
  559. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_e66e6cecac8f837d89db500e20a69a8d/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  560. yes
  561. ----------------------------------------
  562. Checking for type struct ntptimeval
  563. ==>
  564. #include <sys/time.h>
  565. #include <sys/timex.h>
  566.  
  567. int main () {
  568. if (sizeof (struct ntptimeval))
  569. return 0;
  570. return 0;
  571. }
  572.  
  573. <==
  574. [1/2] Compiling build/.conf_check_0e0749be0a1c106246840fb703223df2/test.c
  575.  
  576. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_0e0749be0a1c106246840fb703223df2/testbuild/test.c.1.o']
  577. [2/2] Linking build/.conf_check_0e0749be0a1c106246840fb703223df2/testbuild/testprog
  578.  
  579. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_0e0749be0a1c106246840fb703223df2/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  580. yes
  581. ----------------------------------------
  582. Checking for time_tick in struct timex
  583. ==>
  584.  
  585. #include <stdint.h>
  586. #include <sys/types.h>
  587. #include <sys/time.h>
  588. #include <sys/timex.h>
  589.  
  590. int main () {
  591. struct timex x;
  592. if (sizeof (x.time_tick))
  593. return 0;
  594. return 0;
  595. }
  596.  
  597. <==
  598. [1/2] Compiling build/.conf_check_467317bc34483c43c71f2c4d67a361a0/test.c
  599.  
  600. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_467317bc34483c43c71f2c4d67a361a0/testbuild/test.c.1.o']
  601. err: ../test.c: In function ‘main’:
  602. ../test.c:9:15: error: ‘struct timex’ has no member named ‘time_tick’
  603. if (sizeof (x.time_tick))
  604. ^
  605. ../test.c:8:15: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
  606. struct timex x;
  607. ^
  608.  
  609. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  610. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  611. bld.compile()
  612. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  613. raise Errors.BuildError(self.producer.error)
  614. BuildError: Build failed
  615. -> task in 'testprog' failed (exit status 1):
  616. {task 3057541744L: c test.c -> test.c.1.o}
  617. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_467317bc34483c43c71f2c4d67a361a0/testbuild/test.c.1.o']
  618.  
  619. no
  620. from /home/jon/ntpsec: The configuration failed
  621. ----------------------------------------
  622. Checking for modes in struct timex
  623. ==>
  624.  
  625. #include <stdint.h>
  626. #include <sys/types.h>
  627. #include <sys/time.h>
  628. #include <sys/timex.h>
  629.  
  630. int main () {
  631. struct timex x;
  632. if (sizeof (x.modes))
  633. return 0;
  634. return 0;
  635. }
  636.  
  637. <==
  638. [1/2] Compiling build/.conf_check_7bf8e5151b7e25cd8afd7d93eab85075/test.c
  639.  
  640. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_7bf8e5151b7e25cd8afd7d93eab85075/testbuild/test.c.1.o']
  641. [2/2] Linking build/.conf_check_7bf8e5151b7e25cd8afd7d93eab85075/testbuild/testprog
  642.  
  643. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_7bf8e5151b7e25cd8afd7d93eab85075/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  644. yes
  645. ----------------------------------------------
  646. Checking for time.tv_nsec in struct ntptimeval
  647. ==>
  648.  
  649. #include <stdint.h>
  650. #include <sys/types.h>
  651. #include <sys/time.h>
  652. #include <sys/timex.h>
  653.  
  654. int main () {
  655. struct ntptimeval x;
  656. if (sizeof (x.time.tv_nsec))
  657. return 0;
  658. return 0;
  659. }
  660.  
  661. <==
  662. [1/2] Compiling build/.conf_check_b5f41b852fe6999c7bd6a49b50b09f94/test.c
  663.  
  664. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_b5f41b852fe6999c7bd6a49b50b09f94/testbuild/test.c.1.o']
  665. err: ../test.c: In function ‘main’:
  666. ../test.c:9:20: error: ‘struct timeval’ has no member named ‘tv_nsec’
  667. if (sizeof (x.time.tv_nsec))
  668. ^
  669. ../test.c:8:20: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
  670. struct ntptimeval x;
  671. ^
  672.  
  673. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  674. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  675. bld.compile()
  676. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  677. raise Errors.BuildError(self.producer.error)
  678. BuildError: Build failed
  679. -> task in 'testprog' failed (exit status 1):
  680. {task 3057543856L: c test.c -> test.c.1.o}
  681. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_b5f41b852fe6999c7bd6a49b50b09f94/testbuild/test.c.1.o']
  682.  
  683. no
  684. from /home/jon/ntpsec: The configuration failed
  685. ----------------------------------------------
  686. Checking sizeof int
  687. ==>
  688.  
  689.  
  690. #include <stdio.h>
  691. int main () {
  692. printf("%lu", sizeof(int));
  693. return 0;
  694. }
  695.  
  696. <==
  697. [1/3] Compiling build/.conf_check_b58068ecbfb6d9367e225ea564e0d498/test.c
  698.  
  699. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_b58068ecbfb6d9367e225ea564e0d498/testbuild/test.c.1.o']
  700. err: ../test.c: In function ‘main’:
  701. ../test.c:5:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ [-Wformat=]
  702. printf("%lu", sizeof(int));
  703. ^
  704.  
  705. [2/3] Linking build/.conf_check_b58068ecbfb6d9367e225ea564e0d498/testbuild/testprog
  706.  
  707. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_b58068ecbfb6d9367e225ea564e0d498/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  708. [3/3] Processing build/.conf_check_b58068ecbfb6d9367e225ea564e0d498/testbuild/testprog
  709.  
  710. ['/home/jon/ntpsec/build/.conf_check_b58068ecbfb6d9367e225ea564e0d498/testbuild/testprog']
  711. out: 4
  712. 4
  713. ----------------------------------------------
  714. Checking sizeof long
  715. ==>
  716.  
  717.  
  718. #include <stdio.h>
  719. int main () {
  720. printf("%lu", sizeof(long));
  721. return 0;
  722. }
  723.  
  724. <==
  725. [1/3] Compiling build/.conf_check_8c95aef27846244aaf2aabe4f14ce0b1/test.c
  726.  
  727. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_8c95aef27846244aaf2aabe4f14ce0b1/testbuild/test.c.1.o']
  728. err: ../test.c: In function ‘main’:
  729. ../test.c:5:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ [-Wformat=]
  730. printf("%lu", sizeof(long));
  731. ^
  732.  
  733. [2/3] Linking build/.conf_check_8c95aef27846244aaf2aabe4f14ce0b1/testbuild/testprog
  734.  
  735. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_8c95aef27846244aaf2aabe4f14ce0b1/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  736. [3/3] Processing build/.conf_check_8c95aef27846244aaf2aabe4f14ce0b1/testbuild/testprog
  737.  
  738. ['/home/jon/ntpsec/build/.conf_check_8c95aef27846244aaf2aabe4f14ce0b1/testbuild/testprog']
  739. out: 4
  740. 4
  741. ----------------------------------------------
  742. Checking sizeof long long
  743. ==>
  744.  
  745.  
  746. #include <stdio.h>
  747. int main () {
  748. printf("%lu", sizeof(long long));
  749. return 0;
  750. }
  751.  
  752. <==
  753. [1/3] Compiling build/.conf_check_6910500899ffa2c25e43cc63b8553804/test.c
  754.  
  755. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_6910500899ffa2c25e43cc63b8553804/testbuild/test.c.1.o']
  756. err: ../test.c: In function ‘main’:
  757. ../test.c:5:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ [-Wformat=]
  758. printf("%lu", sizeof(long long));
  759. ^
  760.  
  761. [2/3] Linking build/.conf_check_6910500899ffa2c25e43cc63b8553804/testbuild/testprog
  762.  
  763. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_6910500899ffa2c25e43cc63b8553804/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  764. [3/3] Processing build/.conf_check_6910500899ffa2c25e43cc63b8553804/testbuild/testprog
  765.  
  766. ['/home/jon/ntpsec/build/.conf_check_6910500899ffa2c25e43cc63b8553804/testbuild/testprog']
  767. out: 8
  768. 8
  769. ----------------------------------------------
  770. Checking sizeof time_t (time.h)
  771. ==>
  772.  
  773. #include <time.h>
  774. #include <stdio.h>
  775. int main () {
  776. printf("%lu", sizeof(time_t));
  777. return 0;
  778. }
  779.  
  780. <==
  781. [1/3] Compiling build/.conf_check_89a4a990d8669814a319d979daed22c6/test.c
  782.  
  783. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_89a4a990d8669814a319d979daed22c6/testbuild/test.c.1.o']
  784. err: ../test.c: In function ‘main’:
  785. ../test.c:5:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ [-Wformat=]
  786. printf("%lu", sizeof(time_t));
  787. ^
  788.  
  789. [2/3] Linking build/.conf_check_89a4a990d8669814a319d979daed22c6/testbuild/testprog
  790.  
  791. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_89a4a990d8669814a319d979daed22c6/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  792. [3/3] Processing build/.conf_check_89a4a990d8669814a319d979daed22c6/testbuild/testprog
  793.  
  794. ['/home/jon/ntpsec/build/.conf_check_89a4a990d8669814a319d979daed22c6/testbuild/testprog']
  795. out: 4
  796. 4
  797. ----------------------------------------------
  798. Checking for multicast capability
  799. ==>
  800.  
  801. #include <netinet/in.h>
  802. int main() {
  803. struct ip_mreq ipmr;
  804. ipmr.imr_interface.s_addr = 0;
  805. return 0;
  806. }
  807.  
  808. <==
  809. [1/2] Compiling build/.conf_check_6362e26150cc5b4edf8132ccc0c11219/test.c
  810.  
  811. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_6362e26150cc5b4edf8132ccc0c11219/testbuild/test.c.1.o']
  812. err: ../test.c: In function ‘main’:
  813. ../test.c:4:17: warning: variable ‘ipmr’ set but not used [-Wunused-but-set-variable]
  814. struct ip_mreq ipmr;
  815. ^
  816.  
  817. [2/2] Linking build/.conf_check_6362e26150cc5b4edf8132ccc0c11219/testbuild/testprog
  818.  
  819. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_6362e26150cc5b4edf8132ccc0c11219/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  820. yes
  821. ----------------------------------------------
  822. Checking for library edit
  823. ==>
  824.  
  825. int main(int argc, char **argv) {
  826. (void)argc; (void)argv;
  827. return 0;
  828. }
  829.  
  830. <==
  831. [1/2] Compiling build/.conf_check_82217c4e12e9ad6520020154c0de1e33/test.c
  832.  
  833. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_82217c4e12e9ad6520020154c0de1e33/testbuild/test.c.1.o']
  834. [2/2] Linking build/.conf_check_82217c4e12e9ad6520020154c0de1e33/testbuild/testprog
  835.  
  836. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_82217c4e12e9ad6520020154c0de1e33/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ledit']
  837. yes
  838. ----------------------------------------------
  839. Checking for library m
  840. ==>
  841.  
  842. int main(int argc, char **argv) {
  843. (void)argc; (void)argv;
  844. return 0;
  845. }
  846.  
  847. <==
  848. [1/2] Compiling build/.conf_check_f11378ffe8797d58feee959cd362d3e0/test.c
  849.  
  850. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_f11378ffe8797d58feee959cd362d3e0/testbuild/test.c.1.o']
  851. [2/2] Linking build/.conf_check_f11378ffe8797d58feee959cd362d3e0/testbuild/testprog
  852.  
  853. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_f11378ffe8797d58feee959cd362d3e0/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lm']
  854. yes
  855. ----------------------------------------------
  856. Checking for library rt
  857. ==>
  858.  
  859. int main(int argc, char **argv) {
  860. (void)argc; (void)argv;
  861. return 0;
  862. }
  863.  
  864. <==
  865. [1/2] Compiling build/.conf_check_6fa9f40c9321949124fb063365b5b8bc/test.c
  866.  
  867. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_6fa9f40c9321949124fb063365b5b8bc/testbuild/test.c.1.o']
  868. [2/2] Linking build/.conf_check_6fa9f40c9321949124fb063365b5b8bc/testbuild/testprog
  869.  
  870. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_6fa9f40c9321949124fb063365b5b8bc/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lrt']
  871. yes
  872. ----------------------------------------------
  873. Checking for library curses
  874. ==>
  875.  
  876. int main(int argc, char **argv) {
  877. (void)argc; (void)argv;
  878. return 0;
  879. }
  880.  
  881. <==
  882. [1/2] Compiling build/.conf_check_a1df94f29f77a397ba983c61ae4c5d7a/test.c
  883.  
  884. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_a1df94f29f77a397ba983c61ae4c5d7a/testbuild/test.c.1.o']
  885. [2/2] Linking build/.conf_check_a1df94f29f77a397ba983c61ae4c5d7a/testbuild/testprog
  886.  
  887. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_a1df94f29f77a397ba983c61ae4c5d7a/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lcurses']
  888. yes
  889. ----------------------------------------------
  890. Checking for library readline
  891. ==>
  892.  
  893. int main(int argc, char **argv) {
  894. (void)argc; (void)argv;
  895. return 0;
  896. }
  897.  
  898. <==
  899. [1/2] Compiling build/.conf_check_ec79eb9019ca6ae78ceb2b9e4e8b67ce/test.c
  900.  
  901. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_ec79eb9019ca6ae78ceb2b9e4e8b67ce/testbuild/test.c.1.o']
  902. [2/2] Linking build/.conf_check_ec79eb9019ca6ae78ceb2b9e4e8b67ce/testbuild/testprog
  903.  
  904. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_ec79eb9019ca6ae78ceb2b9e4e8b67ce/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lreadline', '-lcurses']
  905. yes
  906. ----------------------------------------------
  907. Checking for library gcc_s
  908. ==>
  909.  
  910. int main(int argc, char **argv) {
  911. (void)argc; (void)argv;
  912. return 0;
  913. }
  914.  
  915. <==
  916. [1/2] Compiling build/.conf_check_244afe0fb1c7eb84386a82dfe24e0346/test.c
  917.  
  918. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_244afe0fb1c7eb84386a82dfe24e0346/testbuild/test.c.1.o']
  919. [2/2] Linking build/.conf_check_244afe0fb1c7eb84386a82dfe24e0346/testbuild/testprog
  920.  
  921. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_244afe0fb1c7eb84386a82dfe24e0346/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lgcc_s']
  922. yes
  923. ----------------------------------------------
  924. Checking for function adjtimex
  925. ==>
  926. #include <sys/time.h>
  927. #include <sys/timex.h>
  928. int main() {
  929. void *p = (void*)(adjtimex);
  930. return (int)p;
  931. }
  932.  
  933. <==
  934. [1/2] Compiling build/.conf_check_ea180452a34883c547988669c154cdda/test.c
  935.  
  936. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_ea180452a34883c547988669c154cdda/testbuild/test.c.1.o']
  937. [2/2] Linking build/.conf_check_ea180452a34883c547988669c154cdda/testbuild/testprog
  938.  
  939. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_ea180452a34883c547988669c154cdda/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  940. yes
  941. ----------------------------------------------
  942. Checking for function closefrom
  943. ==>
  944. #include <stdlib.h>
  945. int main() {
  946. void *p = (void*)(closefrom);
  947. return (int)p;
  948. }
  949.  
  950. <==
  951. [1/2] Compiling build/.conf_check_e65ebda19597d85d21b8d2357f1322cc/test.c
  952.  
  953. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_e65ebda19597d85d21b8d2357f1322cc/testbuild/test.c.1.o']
  954. err: ../test.c: In function ‘main’:
  955. ../test.c:3:20: error: ‘closefrom’ undeclared (first use in this function)
  956. void *p = (void*)(closefrom);
  957. ^
  958. ../test.c:3:20: note: each undeclared identifier is reported only once for each function it appears in
  959.  
  960. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  961. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  962. bld.compile()
  963. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  964. raise Errors.BuildError(self.producer.error)
  965. BuildError: Build failed
  966. -> task in 'testprog' failed (exit status 1):
  967. {task 3057542704L: c test.c -> test.c.1.o}
  968. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_e65ebda19597d85d21b8d2357f1322cc/testbuild/test.c.1.o']
  969.  
  970. no
  971. from /home/jon/ntpsec: The configuration failed
  972. ----------------------------------------------
  973. Checking for function clock_gettime
  974. ==>
  975. #include <time.h>
  976. int main() {
  977. void *p = (void*)(clock_gettime);
  978. return (int)p;
  979. }
  980.  
  981. <==
  982. [1/2] Compiling build/.conf_check_3f7c0a01ad311cc7a00d8d7f418c915b/test.c
  983.  
  984. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_3f7c0a01ad311cc7a00d8d7f418c915b/testbuild/test.c.1.o']
  985. [2/2] Linking build/.conf_check_3f7c0a01ad311cc7a00d8d7f418c915b/testbuild/testprog
  986.  
  987. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_3f7c0a01ad311cc7a00d8d7f418c915b/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lrt']
  988. yes
  989. ----------------------------------------------
  990. Checking for function clock_settime
  991. ==>
  992. #include <time.h>
  993. int main() {
  994. void *p = (void*)(clock_settime);
  995. return (int)p;
  996. }
  997.  
  998. <==
  999. [1/2] Compiling build/.conf_check_1cee2c94d5a20f3b3c8cc99f76ff0727/test.c
  1000.  
  1001. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_1cee2c94d5a20f3b3c8cc99f76ff0727/testbuild/test.c.1.o']
  1002. [2/2] Linking build/.conf_check_1cee2c94d5a20f3b3c8cc99f76ff0727/testbuild/testprog
  1003.  
  1004. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_1cee2c94d5a20f3b3c8cc99f76ff0727/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lrt']
  1005. yes
  1006. ----------------------------------------------
  1007. Checking for function EVP_MD_do_all_sorted
  1008. ==>
  1009. #include <openssl/evp.h>
  1010. int main() {
  1011. void *p = (void*)(EVP_MD_do_all_sorted);
  1012. return (int)p;
  1013. }
  1014.  
  1015. <==
  1016. [1/2] Compiling build/.conf_check_edcdea800a0e2c37bc66ea1346eeaa17/test.c
  1017.  
  1018. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_edcdea800a0e2c37bc66ea1346eeaa17/testbuild/test.c.1.o']
  1019. [2/2] Linking build/.conf_check_edcdea800a0e2c37bc66ea1346eeaa17/testbuild/testprog
  1020.  
  1021. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_edcdea800a0e2c37bc66ea1346eeaa17/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1022. err: test.c.1.o: In function `main':
  1023. test.c:(.text+0x28): undefined reference to `EVP_MD_do_all_sorted'
  1024. collect2: error: ld returned 1 exit status
  1025.  
  1026. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1027. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1028. bld.compile()
  1029. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1030. raise Errors.BuildError(self.producer.error)
  1031. BuildError: Build failed
  1032. -> task in 'testprog' failed (exit status 1):
  1033. {task 3056033520L: cprogram test.c.1.o -> testprog}
  1034. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_edcdea800a0e2c37bc66ea1346eeaa17/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1035.  
  1036. no
  1037. from /home/jon/ntpsec: The configuration failed
  1038. ----------------------------------------------
  1039. Checking for function getclock
  1040. ==>
  1041. #include <sys/timers.h>
  1042. int main() {
  1043. void *p = (void*)(getclock);
  1044. return (int)p;
  1045. }
  1046.  
  1047. <==
  1048. [1/2] Compiling build/.conf_check_6ac1f6c4e0b2327195eb23fcde49be04/test.c
  1049.  
  1050. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_6ac1f6c4e0b2327195eb23fcde49be04/testbuild/test.c.1.o']
  1051. err: ../test.c:1:24: fatal error: sys/timers.h: No such file or directory
  1052. #include <sys/timers.h>
  1053. ^
  1054. compilation terminated.
  1055.  
  1056. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1057. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1058. bld.compile()
  1059. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1060. raise Errors.BuildError(self.producer.error)
  1061. BuildError: Build failed
  1062. -> task in 'testprog' failed (exit status 1):
  1063. {task 3056091664L: c test.c -> test.c.1.o}
  1064. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_6ac1f6c4e0b2327195eb23fcde49be04/testbuild/test.c.1.o']
  1065.  
  1066. no
  1067. from /home/jon/ntpsec: The configuration failed
  1068. ----------------------------------------------
  1069. Checking for function getpassphrase
  1070. ==>
  1071. #include <stdlib.h>
  1072. int main() {
  1073. void *p = (void*)(getpassphrase);
  1074. return (int)p;
  1075. }
  1076.  
  1077. <==
  1078. [1/2] Compiling build/.conf_check_9fb431d385e98d6e3b65ea290a06ebac/test.c
  1079.  
  1080. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_9fb431d385e98d6e3b65ea290a06ebac/testbuild/test.c.1.o']
  1081. err: ../test.c: In function ‘main’:
  1082. ../test.c:3:20: error: ‘getpassphrase’ undeclared (first use in this function)
  1083. void *p = (void*)(getpassphrase);
  1084. ^
  1085. ../test.c:3:20: note: each undeclared identifier is reported only once for each function it appears in
  1086.  
  1087. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1088. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1089. bld.compile()
  1090. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1091. raise Errors.BuildError(self.producer.error)
  1092. BuildError: Build failed
  1093. -> task in 'testprog' failed (exit status 1):
  1094. {task 3056033520L: c test.c -> test.c.1.o}
  1095. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_9fb431d385e98d6e3b65ea290a06ebac/testbuild/test.c.1.o']
  1096.  
  1097. no
  1098. from /home/jon/ntpsec: The configuration failed
  1099. ----------------------------------------------
  1100. Checking for function getrusage
  1101. ==>
  1102. #include <sys/time.h>
  1103. #include <sys/resource.h>
  1104. int main() {
  1105. void *p = (void*)(getrusage);
  1106. return (int)p;
  1107. }
  1108.  
  1109. <==
  1110. [1/2] Compiling build/.conf_check_bdf10c54551cb84a7c96742bb0a483d2/test.c
  1111.  
  1112. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_bdf10c54551cb84a7c96742bb0a483d2/testbuild/test.c.1.o']
  1113. [2/2] Linking build/.conf_check_bdf10c54551cb84a7c96742bb0a483d2/testbuild/testprog
  1114.  
  1115. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_bdf10c54551cb84a7c96742bb0a483d2/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1116. yes
  1117. ----------------------------------------------
  1118. Checking for function MD5Init
  1119. ==>
  1120. #include <md5.h>
  1121. int main() {
  1122. void *p = (void*)(MD5Init);
  1123. return (int)p;
  1124. }
  1125.  
  1126. <==
  1127. [1/2] Compiling build/.conf_check_b48aabbf139bbfd9caec6106d764404a/test.c
  1128.  
  1129. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_b48aabbf139bbfd9caec6106d764404a/testbuild/test.c.1.o']
  1130. err: ../test.c:1:17: fatal error: md5.h: No such file or directory
  1131. #include <md5.h>
  1132. ^
  1133. compilation terminated.
  1134.  
  1135. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1136. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1137. bld.compile()
  1138. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1139. raise Errors.BuildError(self.producer.error)
  1140. BuildError: Build failed
  1141. -> task in 'testprog' failed (exit status 1):
  1142. {task 3056031120L: c test.c -> test.c.1.o}
  1143. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_b48aabbf139bbfd9caec6106d764404a/testbuild/test.c.1.o']
  1144.  
  1145. no
  1146. from /home/jon/ntpsec: The configuration failed
  1147. ----------------------------------------------
  1148. Checking for function ntp_adjtime
  1149. ==>
  1150. #include <sys/time.h>
  1151. #include <sys/timex.h>
  1152. int main() {
  1153. void *p = (void*)(ntp_adjtime);
  1154. return (int)p;
  1155. }
  1156.  
  1157. <==
  1158. [1/2] Compiling build/.conf_check_57373f9c4f72e7b633f86a371896c06e/test.c
  1159.  
  1160. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_57373f9c4f72e7b633f86a371896c06e/testbuild/test.c.1.o']
  1161. [2/2] Linking build/.conf_check_57373f9c4f72e7b633f86a371896c06e/testbuild/testprog
  1162.  
  1163. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_57373f9c4f72e7b633f86a371896c06e/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1164. yes
  1165. ----------------------------------------------
  1166. Checking for function ntp_gettime
  1167. ==>
  1168. #include <sys/time.h>
  1169. #include <sys/timex.h>
  1170. int main() {
  1171. void *p = (void*)(ntp_gettime);
  1172. return (int)p;
  1173. }
  1174.  
  1175. <==
  1176. [1/2] Compiling build/.conf_check_068518d66e14a20e4d8237e1ab671eb5/test.c
  1177.  
  1178. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_068518d66e14a20e4d8237e1ab671eb5/testbuild/test.c.1.o']
  1179. [2/2] Linking build/.conf_check_068518d66e14a20e4d8237e1ab671eb5/testbuild/testprog
  1180.  
  1181. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_068518d66e14a20e4d8237e1ab671eb5/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1182. yes
  1183. ----------------------------------------------
  1184. Checking for function res_init
  1185. ==>
  1186. #include <resolv.h>
  1187. int main() {
  1188. void *p = (void*)(res_init);
  1189. return (int)p;
  1190. }
  1191.  
  1192. <==
  1193. [1/2] Compiling build/.conf_check_ead872161c134856e839baf82efba3ff/test.c
  1194.  
  1195. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_ead872161c134856e839baf82efba3ff/testbuild/test.c.1.o']
  1196. [2/2] Linking build/.conf_check_ead872161c134856e839baf82efba3ff/testbuild/testprog
  1197.  
  1198. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_ead872161c134856e839baf82efba3ff/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1199. yes
  1200. ----------------------------------------------
  1201. Checking for function sched_setscheduler
  1202. ==>
  1203. #include <sched.h>
  1204. int main() {
  1205. void *p = (void*)(sched_setscheduler);
  1206. return (int)p;
  1207. }
  1208.  
  1209. <==
  1210. [1/2] Compiling build/.conf_check_9d7c3da6f2cfff8ead980a99720b7cf6/test.c
  1211.  
  1212. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_9d7c3da6f2cfff8ead980a99720b7cf6/testbuild/test.c.1.o']
  1213. [2/2] Linking build/.conf_check_9d7c3da6f2cfff8ead980a99720b7cf6/testbuild/testprog
  1214.  
  1215. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_9d7c3da6f2cfff8ead980a99720b7cf6/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1216. yes
  1217. ----------------------------------------------
  1218. Checking for function settimeofday
  1219. ==>
  1220. #include <sys/time.h>
  1221. int main() {
  1222. void *p = (void*)(settimeofday);
  1223. return (int)p;
  1224. }
  1225.  
  1226. <==
  1227. [1/2] Compiling build/.conf_check_e7a13696f30f2613fb5e58873c224411/test.c
  1228.  
  1229. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_e7a13696f30f2613fb5e58873c224411/testbuild/test.c.1.o']
  1230. [2/2] Linking build/.conf_check_e7a13696f30f2613fb5e58873c224411/testbuild/testprog
  1231.  
  1232. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_e7a13696f30f2613fb5e58873c224411/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lrt']
  1233. yes
  1234. ----------------------------------------------
  1235. Checking for function strlcpy
  1236. ==>
  1237. #include <string.h>
  1238. int main() {
  1239. void *p = (void*)(strlcpy);
  1240. return (int)p;
  1241. }
  1242.  
  1243. <==
  1244. [1/2] Compiling build/.conf_check_a3704818da511deee97627044e34cd7c/test.c
  1245.  
  1246. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_a3704818da511deee97627044e34cd7c/testbuild/test.c.1.o']
  1247. err: ../test.c: In function ‘main’:
  1248. ../test.c:3:20: error: ‘strlcpy’ undeclared (first use in this function)
  1249. void *p = (void*)(strlcpy);
  1250. ^
  1251. ../test.c:3:20: note: each undeclared identifier is reported only once for each function it appears in
  1252.  
  1253. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1254. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1255. bld.compile()
  1256. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1257. raise Errors.BuildError(self.producer.error)
  1258. BuildError: Build failed
  1259. -> task in 'testprog' failed (exit status 1):
  1260. {task 3056517712L: c test.c -> test.c.1.o}
  1261. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_a3704818da511deee97627044e34cd7c/testbuild/test.c.1.o']
  1262.  
  1263. no
  1264. from /home/jon/ntpsec: The configuration failed
  1265. ----------------------------------------------
  1266. Checking for function strlcat
  1267. ==>
  1268. #include <string.h>
  1269. int main() {
  1270. void *p = (void*)(strlcat);
  1271. return (int)p;
  1272. }
  1273.  
  1274. <==
  1275. [1/2] Compiling build/.conf_check_03a270ec59e1dea24c005b1dec1cb8c4/test.c
  1276.  
  1277. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_03a270ec59e1dea24c005b1dec1cb8c4/testbuild/test.c.1.o']
  1278. err: ../test.c: In function ‘main’:
  1279. ../test.c:3:20: error: ‘strlcat’ undeclared (first use in this function)
  1280. void *p = (void*)(strlcat);
  1281. ^
  1282. ../test.c:3:20: note: each undeclared identifier is reported only once for each function it appears in
  1283.  
  1284. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1285. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1286. bld.compile()
  1287. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1288. raise Errors.BuildError(self.producer.error)
  1289. BuildError: Build failed
  1290. -> task in 'testprog' failed (exit status 1):
  1291. {task 3057541776L: c test.c -> test.c.1.o}
  1292. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_03a270ec59e1dea24c005b1dec1cb8c4/testbuild/test.c.1.o']
  1293.  
  1294. no
  1295. from /home/jon/ntpsec: The configuration failed
  1296. ----------------------------------------------
  1297. Checking for function timer_create
  1298. ==>
  1299. #include <time.h>
  1300. int main() {
  1301. void *p = (void*)(timer_create);
  1302. return (int)p;
  1303. }
  1304.  
  1305. <==
  1306. [1/2] Compiling build/.conf_check_865d84e5ebc9784add02a9a772f702fc/test.c
  1307.  
  1308. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_865d84e5ebc9784add02a9a772f702fc/testbuild/test.c.1.o']
  1309. [2/2] Linking build/.conf_check_865d84e5ebc9784add02a9a772f702fc/testbuild/testprog
  1310.  
  1311. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_865d84e5ebc9784add02a9a772f702fc/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1312. err: test.c.1.o: In function `main':
  1313. test.c:(.text+0x28): undefined reference to `timer_create'
  1314. collect2: error: ld returned 1 exit status
  1315.  
  1316. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1317. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1318. bld.compile()
  1319. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1320. raise Errors.BuildError(self.producer.error)
  1321. BuildError: Build failed
  1322. -> task in 'testprog' failed (exit status 1):
  1323. {task 3057542864L: cprogram test.c.1.o -> testprog}
  1324. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_865d84e5ebc9784add02a9a772f702fc/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1325.  
  1326. no
  1327. from /home/jon/ntpsec: The configuration failed
  1328. ----------------------------------------------
  1329. Checking for header stdbool.h
  1330. ==>
  1331. #include <stdbool.h>
  1332.  
  1333. int main(int argc, char **argv) {
  1334. (void)argc; (void)argv;
  1335. return 0;
  1336. }
  1337.  
  1338. <==
  1339. [1/2] Compiling build/.conf_check_f92993b065c0eb1815b2b95d70bf3577/test.c
  1340.  
  1341. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_f92993b065c0eb1815b2b95d70bf3577/testbuild/test.c.1.o']
  1342. [2/2] Linking build/.conf_check_f92993b065c0eb1815b2b95d70bf3577/testbuild/testprog
  1343.  
  1344. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_f92993b065c0eb1815b2b95d70bf3577/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1345. yes
  1346. ----------------------------------------------
  1347. Checking for header dns_sd.h
  1348. ==>
  1349. #include <dns_sd.h>
  1350.  
  1351. int main(int argc, char **argv) {
  1352. (void)argc; (void)argv;
  1353. return 0;
  1354. }
  1355.  
  1356. <==
  1357. [1/2] Compiling build/.conf_check_d0e988143efb0b5817dfd08cd144675d/test.c
  1358.  
  1359. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_d0e988143efb0b5817dfd08cd144675d/testbuild/test.c.1.o']
  1360. err: ../test.c:1:20: fatal error: dns_sd.h: No such file or directory
  1361. #include <dns_sd.h>
  1362. ^
  1363. compilation terminated.
  1364.  
  1365. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1366. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1367. bld.compile()
  1368. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1369. raise Errors.BuildError(self.producer.error)
  1370. BuildError: Build failed
  1371. -> task in 'testprog' failed (exit status 1):
  1372. {task 3056032496L: c test.c -> test.c.1.o}
  1373. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_d0e988143efb0b5817dfd08cd144675d/testbuild/test.c.1.o']
  1374.  
  1375. not found
  1376. from /home/jon/ntpsec: The configuration failed
  1377. ----------------------------------------------
  1378. Checking for header histedit.h
  1379. ==>
  1380. #include <histedit.h>
  1381.  
  1382. int main(int argc, char **argv) {
  1383. (void)argc; (void)argv;
  1384. return 0;
  1385. }
  1386.  
  1387. <==
  1388. [1/2] Compiling build/.conf_check_52056ebe8f69cec1c2dd0af7bb57796e/test.c
  1389.  
  1390. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_52056ebe8f69cec1c2dd0af7bb57796e/testbuild/test.c.1.o']
  1391. [2/2] Linking build/.conf_check_52056ebe8f69cec1c2dd0af7bb57796e/testbuild/testprog
  1392.  
  1393. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_52056ebe8f69cec1c2dd0af7bb57796e/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1394. yes
  1395. ----------------------------------------------
  1396. Checking for header ifaddrs.h
  1397. ==>
  1398. #include <sys/types.h>
  1399. #include <ifaddrs.h>
  1400. int main() { return 0; }
  1401.  
  1402. <==
  1403. [1/2] Compiling build/.conf_check_5d3e6a641001ad79d4e9c5e853f31620/test.c
  1404.  
  1405. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_5d3e6a641001ad79d4e9c5e853f31620/testbuild/test.c.1.o']
  1406. [2/2] Linking build/.conf_check_5d3e6a641001ad79d4e9c5e853f31620/testbuild/testprog
  1407.  
  1408. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_5d3e6a641001ad79d4e9c5e853f31620/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1409. yes
  1410. ----------------------------------------------
  1411. Checking for header libscf.h
  1412. ==>
  1413. #include <libscf.h>
  1414.  
  1415. int main(int argc, char **argv) {
  1416. (void)argc; (void)argv;
  1417. return 0;
  1418. }
  1419.  
  1420. <==
  1421. [1/2] Compiling build/.conf_check_b672842859e7bd1772730b7189b7bc24/test.c
  1422.  
  1423. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_b672842859e7bd1772730b7189b7bc24/testbuild/test.c.1.o']
  1424. err: ../test.c:1:20: fatal error: libscf.h: No such file or directory
  1425. #include <libscf.h>
  1426. ^
  1427. compilation terminated.
  1428.  
  1429. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1430. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1431. bld.compile()
  1432. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1433. raise Errors.BuildError(self.producer.error)
  1434. BuildError: Build failed
  1435. -> task in 'testprog' failed (exit status 1):
  1436. {task 3056095152L: c test.c -> test.c.1.o}
  1437. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_b672842859e7bd1772730b7189b7bc24/testbuild/test.c.1.o']
  1438.  
  1439. not found
  1440. from /home/jon/ntpsec: The configuration failed
  1441. ----------------------------------------------
  1442. Checking for header linux/if_addr.h
  1443. ==>
  1444. #include <sys/socket.h>
  1445. #include <linux/if_addr.h>
  1446. int main() { return 0; }
  1447.  
  1448. <==
  1449. [1/2] Compiling build/.conf_check_4673df97550f4b456666869aa94bc728/test.c
  1450.  
  1451. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_4673df97550f4b456666869aa94bc728/testbuild/test.c.1.o']
  1452. [2/2] Linking build/.conf_check_4673df97550f4b456666869aa94bc728/testbuild/testprog
  1453.  
  1454. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_4673df97550f4b456666869aa94bc728/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1455. yes
  1456. ----------------------------------------------
  1457. Checking for header linux/rtnetlink.h
  1458. ==>
  1459. #include <sys/socket.h>
  1460. #include <linux/rtnetlink.h>
  1461. int main() { return 0; }
  1462.  
  1463. <==
  1464. [1/2] Compiling build/.conf_check_43a240e5cf13211826f57d6c1ccea332/test.c
  1465.  
  1466. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_43a240e5cf13211826f57d6c1ccea332/testbuild/test.c.1.o']
  1467. [2/2] Linking build/.conf_check_43a240e5cf13211826f57d6c1ccea332/testbuild/testprog
  1468.  
  1469. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_43a240e5cf13211826f57d6c1ccea332/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1470. yes
  1471. ----------------------------------------------
  1472. Checking for header linux/serial.h
  1473. ==>
  1474. #include <linux/serial.h>
  1475.  
  1476. int main(int argc, char **argv) {
  1477. (void)argc; (void)argv;
  1478. return 0;
  1479. }
  1480.  
  1481. <==
  1482. [1/2] Compiling build/.conf_check_f5852941f5bcc60555e6f9a78ff93896/test.c
  1483.  
  1484. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_f5852941f5bcc60555e6f9a78ff93896/testbuild/test.c.1.o']
  1485. [2/2] Linking build/.conf_check_f5852941f5bcc60555e6f9a78ff93896/testbuild/testprog
  1486.  
  1487. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_f5852941f5bcc60555e6f9a78ff93896/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1488. yes
  1489. ----------------------------------------------
  1490. Checking for header md5.h
  1491. ==>
  1492. #include <sys/types.h>
  1493. #include <md5.h>
  1494. int main() { return 0; }
  1495.  
  1496. <==
  1497. [1/2] Compiling build/.conf_check_f58c752450cc92ed5512958e28a14089/test.c
  1498.  
  1499. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_f58c752450cc92ed5512958e28a14089/testbuild/test.c.1.o']
  1500. err: ../test.c:2:17: fatal error: md5.h: No such file or directory
  1501. #include <md5.h>
  1502. ^
  1503. compilation terminated.
  1504.  
  1505. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1506. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1507. bld.compile()
  1508. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1509. raise Errors.BuildError(self.producer.error)
  1510. BuildError: Build failed
  1511. -> task in 'testprog' failed (exit status 1):
  1512. {task 3056032944L: c test.c -> test.c.1.o}
  1513. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_f58c752450cc92ed5512958e28a14089/testbuild/test.c.1.o']
  1514.  
  1515. no
  1516. from /home/jon/ntpsec: The configuration failed
  1517. ----------------------------------------------
  1518. Checking for header net/if6.h
  1519. ==>
  1520. #include <net/if6.h>
  1521.  
  1522. int main(int argc, char **argv) {
  1523. (void)argc; (void)argv;
  1524. return 0;
  1525. }
  1526.  
  1527. <==
  1528. [1/2] Compiling build/.conf_check_4afd2756eb9b6904e8511745283c5a93/test.c
  1529.  
  1530. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_4afd2756eb9b6904e8511745283c5a93/testbuild/test.c.1.o']
  1531. err: ../test.c:1:21: fatal error: net/if6.h: No such file or directory
  1532. #include <net/if6.h>
  1533. ^
  1534. compilation terminated.
  1535.  
  1536. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1537. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1538. bld.compile()
  1539. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1540. raise Errors.BuildError(self.producer.error)
  1541. BuildError: Build failed
  1542. -> task in 'testprog' failed (exit status 1):
  1543. {task 3057542384L: c test.c -> test.c.1.o}
  1544. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_4afd2756eb9b6904e8511745283c5a93/testbuild/test.c.1.o']
  1545.  
  1546. not found
  1547. from /home/jon/ntpsec: The configuration failed
  1548. ----------------------------------------------
  1549. Checking for header net/route.h
  1550. ==>
  1551. #include <sys/types.h>
  1552. #include <sys/socket.h>
  1553. #include <net/if.h>
  1554. #include <net/route.h>
  1555. int main() { return 0; }
  1556.  
  1557. <==
  1558. [1/2] Compiling build/.conf_check_f6eeb505a4d71593d7abf8db12caae66/test.c
  1559.  
  1560. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_f6eeb505a4d71593d7abf8db12caae66/testbuild/test.c.1.o']
  1561. [2/2] Linking build/.conf_check_f6eeb505a4d71593d7abf8db12caae66/testbuild/testprog
  1562.  
  1563. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_f6eeb505a4d71593d7abf8db12caae66/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1564. yes
  1565. ----------------------------------------------
  1566. Checking for header netinfo/ni.h
  1567. ==>
  1568. #include <netinfo/ni.h>
  1569.  
  1570. int main(int argc, char **argv) {
  1571. (void)argc; (void)argv;
  1572. return 0;
  1573. }
  1574.  
  1575. <==
  1576. [1/2] Compiling build/.conf_check_88ceca475afc07369208e2489983f839/test.c
  1577.  
  1578. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_88ceca475afc07369208e2489983f839/testbuild/test.c.1.o']
  1579. err: ../test.c:1:24: fatal error: netinfo/ni.h: No such file or directory
  1580. #include <netinfo/ni.h>
  1581. ^
  1582. compilation terminated.
  1583.  
  1584. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1585. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1586. bld.compile()
  1587. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1588. raise Errors.BuildError(self.producer.error)
  1589. BuildError: Build failed
  1590. -> task in 'testprog' failed (exit status 1):
  1591. {task 3056186192L: c test.c -> test.c.1.o}
  1592. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_88ceca475afc07369208e2489983f839/testbuild/test.c.1.o']
  1593.  
  1594. not found
  1595. from /home/jon/ntpsec: The configuration failed
  1596. ----------------------------------------------
  1597. Checking for header priv.h
  1598. ==>
  1599. #include <priv.h>
  1600.  
  1601. int main(int argc, char **argv) {
  1602. (void)argc; (void)argv;
  1603. return 0;
  1604. }
  1605.  
  1606. <==
  1607. [1/2] Compiling build/.conf_check_7ff5d887f6db84642e75dddb014383f9/test.c
  1608.  
  1609. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_7ff5d887f6db84642e75dddb014383f9/testbuild/test.c.1.o']
  1610. err: ../test.c:1:18: fatal error: priv.h: No such file or directory
  1611. #include <priv.h>
  1612. ^
  1613. compilation terminated.
  1614.  
  1615. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1616. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1617. bld.compile()
  1618. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1619. raise Errors.BuildError(self.producer.error)
  1620. BuildError: Build failed
  1621. -> task in 'testprog' failed (exit status 1):
  1622. {task 3056187088L: c test.c -> test.c.1.o}
  1623. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_7ff5d887f6db84642e75dddb014383f9/testbuild/test.c.1.o']
  1624.  
  1625. not found
  1626. from /home/jon/ntpsec: The configuration failed
  1627. ----------------------------------------------
  1628. Checking for header readline/readline.h
  1629. ==>
  1630. #include <stdio.h>
  1631. #include <readline/readline.h>
  1632. int main() { return 0; }
  1633.  
  1634. <==
  1635. [1/2] Compiling build/.conf_check_7cefe80dc0402db86b1581fbd01f16e6/test.c
  1636.  
  1637. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_7cefe80dc0402db86b1581fbd01f16e6/testbuild/test.c.1.o']
  1638. [2/2] Linking build/.conf_check_7cefe80dc0402db86b1581fbd01f16e6/testbuild/testprog
  1639.  
  1640. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_7cefe80dc0402db86b1581fbd01f16e6/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1641. yes
  1642. ----------------------------------------------
  1643. Checking for header readline/history.h
  1644. ==>
  1645. #include <stdio.h>
  1646. #include <readline/readline.h>
  1647. #include <readline/history.h>
  1648. int main() { return 0; }
  1649.  
  1650. <==
  1651. [1/2] Compiling build/.conf_check_574faaae5491da1ffb031e808b15fdbb/test.c
  1652.  
  1653. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_574faaae5491da1ffb031e808b15fdbb/testbuild/test.c.1.o']
  1654. [2/2] Linking build/.conf_check_574faaae5491da1ffb031e808b15fdbb/testbuild/testprog
  1655.  
  1656. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_574faaae5491da1ffb031e808b15fdbb/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1657. yes
  1658. ----------------------------------------------
  1659. Checking for header resolv.h
  1660. ==>
  1661. #include <sys/types.h>
  1662. #include <netinet/in.h>
  1663. #include <arpa/nameser.h>
  1664. #include <resolv.h>
  1665. int main() { return 0; }
  1666.  
  1667. <==
  1668. [1/2] Compiling build/.conf_check_63902dde04ff016806e968fa504b65b3/test.c
  1669.  
  1670. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_63902dde04ff016806e968fa504b65b3/testbuild/test.c.1.o']
  1671. [2/2] Linking build/.conf_check_63902dde04ff016806e968fa504b65b3/testbuild/testprog
  1672.  
  1673. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_63902dde04ff016806e968fa504b65b3/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1674. yes
  1675. ----------------------------------------------
  1676. Checking for header semaphore.h
  1677. ==>
  1678. #include <semaphore.h>
  1679.  
  1680. int main(int argc, char **argv) {
  1681. (void)argc; (void)argv;
  1682. return 0;
  1683. }
  1684.  
  1685. <==
  1686. [1/2] Compiling build/.conf_check_41479a7e919282c4cb73ac83114d7a59/test.c
  1687.  
  1688. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_41479a7e919282c4cb73ac83114d7a59/testbuild/test.c.1.o']
  1689. [2/2] Linking build/.conf_check_41479a7e919282c4cb73ac83114d7a59/testbuild/testprog
  1690.  
  1691. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_41479a7e919282c4cb73ac83114d7a59/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1692. yes
  1693. ----------------------------------------------
  1694. Checking for header stdatomic.h
  1695. ==>
  1696. #include <stdatomic.h>
  1697.  
  1698. int main(int argc, char **argv) {
  1699. (void)argc; (void)argv;
  1700. return 0;
  1701. }
  1702.  
  1703. <==
  1704. [1/2] Compiling build/.conf_check_232ac16a5c380fdff84897c5ecb73715/test.c
  1705.  
  1706. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_232ac16a5c380fdff84897c5ecb73715/testbuild/test.c.1.o']
  1707. [2/2] Linking build/.conf_check_232ac16a5c380fdff84897c5ecb73715/testbuild/testprog
  1708.  
  1709. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_232ac16a5c380fdff84897c5ecb73715/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1710. yes
  1711. ----------------------------------------------
  1712. Checking for header sys/clockctl.h
  1713. ==>
  1714. #include <sys/clockctl.h>
  1715.  
  1716. int main(int argc, char **argv) {
  1717. (void)argc; (void)argv;
  1718. return 0;
  1719. }
  1720.  
  1721. <==
  1722. [1/2] Compiling build/.conf_check_58aabd8fbb9b20f8817a964efc0a0044/test.c
  1723.  
  1724. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_58aabd8fbb9b20f8817a964efc0a0044/testbuild/test.c.1.o']
  1725. err: ../test.c:1:26: fatal error: sys/clockctl.h: No such file or directory
  1726. #include <sys/clockctl.h>
  1727. ^
  1728. compilation terminated.
  1729.  
  1730. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1731. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1732. bld.compile()
  1733. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1734. raise Errors.BuildError(self.producer.error)
  1735. BuildError: Build failed
  1736. -> task in 'testprog' failed (exit status 1):
  1737. {task 3056033072L: c test.c -> test.c.1.o}
  1738. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_58aabd8fbb9b20f8817a964efc0a0044/testbuild/test.c.1.o']
  1739.  
  1740. not found
  1741. from /home/jon/ntpsec: The configuration failed
  1742. ----------------------------------------------
  1743. Checking for header sys/ioctl.h
  1744. ==>
  1745. #include <sys/ioctl.h>
  1746.  
  1747. int main(int argc, char **argv) {
  1748. (void)argc; (void)argv;
  1749. return 0;
  1750. }
  1751.  
  1752. <==
  1753. [1/2] Compiling build/.conf_check_731efef813497aabd2d810d209b51331/test.c
  1754.  
  1755. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_731efef813497aabd2d810d209b51331/testbuild/test.c.1.o']
  1756. [2/2] Linking build/.conf_check_731efef813497aabd2d810d209b51331/testbuild/testprog
  1757.  
  1758. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_731efef813497aabd2d810d209b51331/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1759. yes
  1760. ----------------------------------------------
  1761. Checking for header sys/modem.h
  1762. ==>
  1763. #include <sys/modem.h>
  1764.  
  1765. int main(int argc, char **argv) {
  1766. (void)argc; (void)argv;
  1767. return 0;
  1768. }
  1769.  
  1770. <==
  1771. [1/2] Compiling build/.conf_check_24227a4f10f2db7aa633bd3a9973e0b3/test.c
  1772.  
  1773. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', '-DHAVE_SYS_IOCTL_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_24227a4f10f2db7aa633bd3a9973e0b3/testbuild/test.c.1.o']
  1774. err: ../test.c:1:23: fatal error: sys/modem.h: No such file or directory
  1775. #include <sys/modem.h>
  1776. ^
  1777. compilation terminated.
  1778.  
  1779. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1780. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1781. bld.compile()
  1782. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1783. raise Errors.BuildError(self.producer.error)
  1784. BuildError: Build failed
  1785. -> task in 'testprog' failed (exit status 1):
  1786. {task 3056031600L: c test.c -> test.c.1.o}
  1787. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', '-DHAVE_SYS_IOCTL_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_24227a4f10f2db7aa633bd3a9973e0b3/testbuild/test.c.1.o']
  1788.  
  1789. not found
  1790. from /home/jon/ntpsec: The configuration failed
  1791. ----------------------------------------------
  1792. Checking for header sys/sockio.h
  1793. ==>
  1794. #include <sys/sockio.h>
  1795.  
  1796. int main(int argc, char **argv) {
  1797. (void)argc; (void)argv;
  1798. return 0;
  1799. }
  1800.  
  1801. <==
  1802. [1/2] Compiling build/.conf_check_bb677b8df9c6596dd09c10625ee9c518/test.c
  1803.  
  1804. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', '-DHAVE_SYS_IOCTL_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_bb677b8df9c6596dd09c10625ee9c518/testbuild/test.c.1.o']
  1805. err: ../test.c:1:24: fatal error: sys/sockio.h: No such file or directory
  1806. #include <sys/sockio.h>
  1807. ^
  1808. compilation terminated.
  1809.  
  1810. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1811. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1812. bld.compile()
  1813. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1814. raise Errors.BuildError(self.producer.error)
  1815. BuildError: Build failed
  1816. -> task in 'testprog' failed (exit status 1):
  1817. {task 3056091760L: c test.c -> test.c.1.o}
  1818. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', '-DHAVE_SYS_IOCTL_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_bb677b8df9c6596dd09c10625ee9c518/testbuild/test.c.1.o']
  1819.  
  1820. not found
  1821. from /home/jon/ntpsec: The configuration failed
  1822. ----------------------------------------------
  1823. Checking for header sys/sysctl.h
  1824. ==>
  1825. #include <sys/types.h>
  1826. #include <sys/sysctl.h>
  1827. int main() { return 0; }
  1828.  
  1829. <==
  1830. [1/2] Compiling build/.conf_check_82834a959ddde8f2b6ae3686f78220f0/test.c
  1831.  
  1832. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', '-DHAVE_SYS_IOCTL_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_82834a959ddde8f2b6ae3686f78220f0/testbuild/test.c.1.o']
  1833. [2/2] Linking build/.conf_check_82834a959ddde8f2b6ae3686f78220f0/testbuild/testprog
  1834.  
  1835. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_82834a959ddde8f2b6ae3686f78220f0/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1836. yes
  1837. ----------------------------------------------
  1838. Checking for header timepps.h
  1839. ==>
  1840. #include <inttypes.h>
  1841. #include <timepps.h>
  1842. int main() { return 0; }
  1843.  
  1844. <==
  1845. [1/2] Compiling build/.conf_check_46fe5dc1b521b645f1a31dbdb4476142/test.c
  1846.  
  1847. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_SYS_SYSCTL_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_46fe5dc1b521b645f1a31dbdb4476142/testbuild/test.c.1.o']
  1848. err: ../test.c:2:21: fatal error: timepps.h: No such file or directory
  1849. #include <timepps.h>
  1850. ^
  1851. compilation terminated.
  1852.  
  1853. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1854. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1855. bld.compile()
  1856. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1857. raise Errors.BuildError(self.producer.error)
  1858. BuildError: Build failed
  1859. -> task in 'testprog' failed (exit status 1):
  1860. {task 3056092336L: c test.c -> test.c.1.o}
  1861. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_SYS_SYSCTL_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_46fe5dc1b521b645f1a31dbdb4476142/testbuild/test.c.1.o']
  1862.  
  1863. no
  1864. from /home/jon/ntpsec: The configuration failed
  1865. ----------------------------------------------
  1866. Checking for header sys/timepps.h
  1867. ==>
  1868. #include <inttypes.h>
  1869. #include <sys/time.h>
  1870. #include <sys/timepps.h>
  1871. int main() { return 0; }
  1872.  
  1873. <==
  1874. [1/2] Compiling build/.conf_check_02379379bac69b819b4f2979937992ff/test.c
  1875.  
  1876. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_SYS_SYSCTL_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_02379379bac69b819b4f2979937992ff/testbuild/test.c.1.o']
  1877. [2/2] Linking build/.conf_check_02379379bac69b819b4f2979937992ff/testbuild/testprog
  1878.  
  1879. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_02379379bac69b819b4f2979937992ff/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1880. yes
  1881. ----------------------------------------------
  1882. Checking for header utmpx.h
  1883. ==>
  1884. #include <utmpx.h>
  1885.  
  1886. int main(int argc, char **argv) {
  1887. (void)argc; (void)argv;
  1888. return 0;
  1889. }
  1890.  
  1891. <==
  1892. [1/2] Compiling build/.conf_check_1ce70e0ced62634f22d308232686fcd4/test.c
  1893.  
  1894. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_SYS_SYSCTL_H=1', '-DHAVE_SYS_TIMEPPS_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_1ce70e0ced62634f22d308232686fcd4/testbuild/test.c.1.o']
  1895. [2/2] Linking build/.conf_check_1ce70e0ced62634f22d308232686fcd4/testbuild/testprog
  1896.  
  1897. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_1ce70e0ced62634f22d308232686fcd4/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1898. yes
  1899. ----------------------------------------------
  1900. Checking for header sys/timex.h
  1901. ==>
  1902. #include <sys/time.h>
  1903. #include <sys/timex.h>
  1904. int main() { return 0; }
  1905.  
  1906. <==
  1907. [1/2] Compiling build/.conf_check_6ff3a9467b2ca79d9f25f8a9a64a3846/test.c
  1908.  
  1909. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_SYS_SYSCTL_H=1', '-DHAVE_SYS_TIMEPPS_H=1', '-DHAVE_UTMPX_H=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_6ff3a9467b2ca79d9f25f8a9a64a3846/testbuild/test.c.1.o']
  1910. [2/2] Linking build/.conf_check_6ff3a9467b2ca79d9f25f8a9a64a3846/testbuild/testprog
  1911.  
  1912. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/jon/ntpsec/build/.conf_check_6ff3a9467b2ca79d9f25f8a9a64a3846/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  1913. yes
  1914. ----------------------------------------------
  1915. Checking for type sockaddr_storage
  1916. ==>
  1917.  
  1918. #include <sys/types.h>
  1919. #include <sys/socket.h>
  1920. #include <netinet/in.h>
  1921.  
  1922. struct sockaddr_storage n;
  1923.  
  1924. <==
  1925. [1/1] Compiling build/.conf_check_bb3c70b3ae8a516424bdb37b4e71c6e9/test.c
  1926.  
  1927. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_SYS_SYSCTL_H=1', '-DHAVE_SYS_TIMEPPS_H=1', '-DHAVE_UTMPX_H=1', '-DHAVE_SYS_TIMEX_H=1', '-DHAVE_PPSAPI=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_bb3c70b3ae8a516424bdb37b4e71c6e9/testbuild/test.c.1.o']
  1928. yes
  1929. ----------------------------------------------
  1930. Checking for sockaddr->sa_len
  1931. ==>
  1932.  
  1933. #include <sys/types.h>
  1934. #include <sys/socket.h>
  1935. int main () {
  1936. extern struct sockaddr *ps;
  1937. return ps->sa_len;
  1938. }
  1939.  
  1940. <==
  1941. [1/1] Compiling build/.conf_check_45de2e4e56c9ec673bc91810ef5f10f1/test.c
  1942.  
  1943. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_SYS_SYSCTL_H=1', '-DHAVE_SYS_TIMEPPS_H=1', '-DHAVE_UTMPX_H=1', '-DHAVE_SYS_TIMEX_H=1', '-DHAVE_PPSAPI=1', '-DHAVE_STRUCT_SOCKADDR_STORAGE=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_45de2e4e56c9ec673bc91810ef5f10f1/testbuild/test.c.1.o']
  1944. err: ../test.c: In function ‘main’:
  1945. ../test.c:6:12: error: ‘struct sockaddr’ has no member named ‘sa_len’
  1946. return ps->sa_len;
  1947. ^
  1948.  
  1949. from /home/jon/ntpsec: Test does not build: Traceback (most recent call last):
  1950. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", line 335, in run_build
  1951. bld.compile()
  1952. File "/home/jon/ntpsec/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", line 185, in compile
  1953. raise Errors.BuildError(self.producer.error)
  1954. BuildError: Build failed
  1955. -> task in 'testprog' failed (exit status 1):
  1956. {task 3057542768L: c test.c -> test.c.1.o}
  1957. ['/usr/bin/gcc', '-Wall', '-Wextra', '-std=gnu99', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=9', '-DNTPS_VERSION_REV=5', '-DCOMPILER_GCC=1', '-DNTPS_VERSION_STRING="0.9.5-298805e"', '-DDEBUG=1', '-DPLATFORM_UNIX=1', '-DHAVE_UINT64_T=1', '-DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', '-DSTRUCT_TIMEX_HAS_MODES=1', '-DSIZEOF_INT=4', '-DSIZEOF_LONG=4', '-DSIZEOF_LONG_LONG=8', '-DSIZEOF_TIME_T=4', '-DNTP_API=4', '-DNTP_KEYSDIR="/usr/local/etc"', '-DGETSOCKNAME_SOCKLEN_TYPE=socklen_t', '-DDFLT_RLIMIT_STACK=50', '-DMCAST=1', '-DTYPEOF_IP_MULTICAST_LOOP=u_char', '-DOPEN_BCAST_SOCKET=1', '-DHAS_ROUTING_SOCKET=1', '-DHAVE_ADJTIMEX=1', '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_SETTIMEOFDAY=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_HISTEDIT_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', '-DHAVE_NET_ROUTE_H=1', '-DHAVE_READLINE_READLINE_H=1', '-DHAVE_READLINE_HISTORY_H=1', '-DHAVE_RESOLV_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_SYS_SYSCTL_H=1', '-DHAVE_SYS_TIMEPPS_H=1', '-DHAVE_UTMPX_H=1', '-DHAVE_SYS_TIMEX_H=1', '-DHAVE_PPSAPI=1', '-DHAVE_STRUCT_SOCKADDR_STORAGE=1', '../test.c', '-c', '-o', '/home/jon/ntpsec/build/.conf_check_45de2e4e56c9ec673bc91810ef5f10f1/testbuild/test.c.1.o']
  1958.  
  1959. no
  1960. from /home/jon/ntpsec: The configuration failed
  1961. from /home/jon/ntpsec: '28' is not a valid Refclock ID
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement