Merge "Partial Implementation of US1574:"
[platform/upstream/iotivity.git] / csdk / libcoap-4.1.1 / config.log
1 This file contains any messages produced by compilers while
2 running configure, to aid debugging if configure makes a mistake.
3
4 It was created by libcoap configure 4.1.1, which was
5 generated by GNU Autoconf 2.69.  Invocation command line was
6
7   $ ./configure --host=avr CC=avr-gcc C_EXTRA_FLAGS=-mmcu=atmega2560 -DATMEGA2560
8
9 ## --------- ##
10 ## Platform. ##
11 ## --------- ##
12
13 hostname = precious
14 uname -m = x86_64
15 uname -r = 3.8.0-37-generic
16 uname -s = Linux
17 uname -v = #53~precise1-Ubuntu SMP Wed Feb 19 21:37:54 UTC 2014
18
19 /usr/bin/uname -p = unknown
20 /bin/uname -X     = unknown
21
22 /bin/arch              = unknown
23 /usr/bin/arch -k       = unknown
24 /usr/convex/getsysinfo = unknown
25 /usr/bin/hostinfo      = unknown
26 /bin/machine           = unknown
27 /usr/bin/oslevel       = unknown
28 /bin/universe          = unknown
29
30 PATH: /tmp/automake/home/sachin/jdk1.7.0_51/bin
31 PATH: /usr/lib/lightdm/lightdm
32 PATH: /usr/local/sbin
33 PATH: /usr/local/bin
34 PATH: /usr/sbin
35 PATH: /usr/bin
36 PATH: /sbin
37 PATH: /bin
38 PATH: /usr/games
39 PATH: /home/sachin/android/adt-bundle-linux-x86_64-20131030/sdk/tools
40 PATH: /home/sachin/android/adt-bundle-linux-x86_64-20131030/sdk/platform-tools
41 PATH: /var/tmp/android-14/bin
42
43
44 ## ----------- ##
45 ## Core tests. ##
46 ## ----------- ##
47
48 configure:2175: checking whether make sets $(MAKE)
49 configure:2197: result: yes
50 configure:2214: checking for avr-gcc
51 configure:2241: result: avr-gcc
52 configure:2510: checking for C compiler version
53 configure:2519: avr-gcc --version >&5
54 avr-gcc (GCC) 4.5.3
55 Copyright (C) 2010 Free Software Foundation, Inc.
56 This is free software; see the source for copying conditions.  There is NO
57 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
58
59 configure:2530: $? = 0
60 configure:2519: avr-gcc -v >&5
61 Using built-in specs.
62 COLLECT_GCC=avr-gcc
63 COLLECT_LTO_WRAPPER=/usr/lib/gcc/avr/4.5.3/lto-wrapper
64 Target: avr
65 Configured with: ../src/configure -v --enable-languages=c,c++ --prefix=/usr/lib --infodir=/usr/share/info --mandir=/usr/share/man --bindir=/usr/bin --libexecdir=/usr/lib --libdir=/usr/lib --enable-shared --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-libssp --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=avr
66 Thread model: single
67 gcc version 4.5.3 (GCC) 
68 configure:2530: $? = 0
69 configure:2519: avr-gcc -V >&5
70 avr-gcc: '-V' option must have argument
71 configure:2530: $? = 1
72 configure:2519: avr-gcc -qversion >&5
73 avr-gcc: unrecognized option '-qversion'
74 avr-gcc: no input files
75 configure:2530: $? = 1
76 configure:2550: checking whether the C compiler works
77 configure:2572: avr-gcc    conftest.c  >&5
78 configure:2576: $? = 0
79 configure:2624: result: yes
80 configure:2627: checking for C compiler default output file name
81 configure:2629: result: a.out
82 configure:2635: checking for suffix of executables
83 configure:2642: avr-gcc -o conftest    conftest.c  >&5
84 configure:2646: $? = 0
85 configure:2668: result: 
86 configure:2690: checking whether we are cross compiling
87 configure:2698: avr-gcc -o conftest    conftest.c  >&5
88 conftest.c: In function 'main':
89 conftest.c:13:11: warning: initialization makes pointer from integer without a cast
90 /tmp/ccBLEQG0.o: In function `main':
91 conftest.c:(.text+0x16): undefined reference to `fopen'
92 /usr/lib/gcc/avr/4.5.3/../../../avr/lib/libc.a(malloc.o): In function `malloc':
93 /build/buildd/avr-libc-1.7.1/avr/lib/avr2/../../../libc/stdlib/malloc.c:80: undefined reference to `__heap_end'
94 collect2: ld returned 1 exit status
95 configure:2702: $? = 1
96 configure:2709: ./conftest
97 ./configure: line 2711: ./conftest: No such file or directory
98 configure:2713: $? = 127
99 configure:2728: result: yes
100 configure:2733: checking for suffix of object files
101 configure:2755: avr-gcc -c   conftest.c >&5
102 configure:2759: $? = 0
103 configure:2780: result: o
104 configure:2784: checking whether we are using the GNU C compiler
105 configure:2803: avr-gcc -c   conftest.c >&5
106 configure:2803: $? = 0
107 configure:2812: result: yes
108 configure:2821: checking whether avr-gcc accepts -g
109 configure:2841: avr-gcc -c -g  conftest.c >&5
110 configure:2841: $? = 0
111 configure:2882: result: yes
112 configure:2899: checking for avr-gcc option to accept ISO C89
113 configure:2962: avr-gcc  -c -g -O2  conftest.c >&5
114 configure:2962: $? = 0
115 configure:2975: result: none needed
116 configure:2998: checking for avr-ranlib
117 configure:3014: found /usr/bin/avr-ranlib
118 configure:3025: result: avr-ranlib
119 configure:3089: checking for doxygen
120 configure:3107: found /usr/bin/doxygen
121 configure:3120: result: /usr/bin/doxygen
122 configure:3130: checking for etags
123 configure:3161: result: /bin/false
124 configure:3176: checking how to run the C preprocessor
125 configure:3207: avr-gcc -E  conftest.c
126 configure:3207: $? = 0
127 configure:3221: avr-gcc -E  conftest.c
128 conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
129 compilation terminated.
130 configure:3221: $? = 1
131 configure: failed program was:
132 | /* confdefs.h */
133 | #define PACKAGE_NAME "libcoap"
134 | #define PACKAGE_TARNAME "libcoap"
135 | #define PACKAGE_VERSION "4.1.1"
136 | #define PACKAGE_STRING "libcoap 4.1.1"
137 | #define PACKAGE_BUGREPORT ""
138 | #define PACKAGE_URL ""
139 | /* end confdefs.h.  */
140 | #include <ac_nonexistent.h>
141 configure:3246: result: avr-gcc -E
142 configure:3266: avr-gcc -E  conftest.c
143 configure:3266: $? = 0
144 configure:3280: avr-gcc -E  conftest.c
145 conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
146 compilation terminated.
147 configure:3280: $? = 1
148 configure: failed program was:
149 | /* confdefs.h */
150 | #define PACKAGE_NAME "libcoap"
151 | #define PACKAGE_TARNAME "libcoap"
152 | #define PACKAGE_VERSION "4.1.1"
153 | #define PACKAGE_STRING "libcoap 4.1.1"
154 | #define PACKAGE_BUGREPORT ""
155 | #define PACKAGE_URL ""
156 | /* end confdefs.h.  */
157 | #include <ac_nonexistent.h>
158 configure:3309: checking for grep that handles long lines and -e
159 configure:3367: result: /bin/grep
160 configure:3372: checking for egrep
161 configure:3434: result: /bin/grep -E
162 configure:3439: checking for ANSI C header files
163 configure:3459: avr-gcc -c -g -O2  conftest.c >&5
164 configure:3459: $? = 0
165 configure:3543: result: yes
166 configure:3556: checking for sys/types.h
167 configure:3556: avr-gcc -c -g -O2  conftest.c >&5
168 conftest.c:44:23: fatal error: sys/types.h: No such file or directory
169 compilation terminated.
170 configure:3556: $? = 1
171 configure: failed program was:
172 | /* confdefs.h */
173 | #define PACKAGE_NAME "libcoap"
174 | #define PACKAGE_TARNAME "libcoap"
175 | #define PACKAGE_VERSION "4.1.1"
176 | #define PACKAGE_STRING "libcoap 4.1.1"
177 | #define PACKAGE_BUGREPORT ""
178 | #define PACKAGE_URL ""
179 | #define STDC_HEADERS 1
180 | /* end confdefs.h.  */
181 | #include <stdio.h>
182 | #ifdef HAVE_SYS_TYPES_H
183 | # include <sys/types.h>
184 | #endif
185 | #ifdef HAVE_SYS_STAT_H
186 | # include <sys/stat.h>
187 | #endif
188 | #ifdef STDC_HEADERS
189 | # include <stdlib.h>
190 | # include <stddef.h>
191 | #else
192 | # ifdef HAVE_STDLIB_H
193 | #  include <stdlib.h>
194 | # endif
195 | #endif
196 | #ifdef HAVE_STRING_H
197 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
198 | #  include <memory.h>
199 | # endif
200 | # include <string.h>
201 | #endif
202 | #ifdef HAVE_STRINGS_H
203 | # include <strings.h>
204 | #endif
205 | #ifdef HAVE_INTTYPES_H
206 | # include <inttypes.h>
207 | #endif
208 | #ifdef HAVE_STDINT_H
209 | # include <stdint.h>
210 | #endif
211 | #ifdef HAVE_UNISTD_H
212 | # include <unistd.h>
213 | #endif
214
215 | #include <sys/types.h>
216 configure:3556: result: no
217 configure:3556: checking for sys/stat.h
218 configure:3556: avr-gcc -c -g -O2  conftest.c >&5
219 conftest.c:44:22: fatal error: sys/stat.h: No such file or directory
220 compilation terminated.
221 configure:3556: $? = 1
222 configure: failed program was:
223 | /* confdefs.h */
224 | #define PACKAGE_NAME "libcoap"
225 | #define PACKAGE_TARNAME "libcoap"
226 | #define PACKAGE_VERSION "4.1.1"
227 | #define PACKAGE_STRING "libcoap 4.1.1"
228 | #define PACKAGE_BUGREPORT ""
229 | #define PACKAGE_URL ""
230 | #define STDC_HEADERS 1
231 | /* end confdefs.h.  */
232 | #include <stdio.h>
233 | #ifdef HAVE_SYS_TYPES_H
234 | # include <sys/types.h>
235 | #endif
236 | #ifdef HAVE_SYS_STAT_H
237 | # include <sys/stat.h>
238 | #endif
239 | #ifdef STDC_HEADERS
240 | # include <stdlib.h>
241 | # include <stddef.h>
242 | #else
243 | # ifdef HAVE_STDLIB_H
244 | #  include <stdlib.h>
245 | # endif
246 | #endif
247 | #ifdef HAVE_STRING_H
248 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
249 | #  include <memory.h>
250 | # endif
251 | # include <string.h>
252 | #endif
253 | #ifdef HAVE_STRINGS_H
254 | # include <strings.h>
255 | #endif
256 | #ifdef HAVE_INTTYPES_H
257 | # include <inttypes.h>
258 | #endif
259 | #ifdef HAVE_STDINT_H
260 | # include <stdint.h>
261 | #endif
262 | #ifdef HAVE_UNISTD_H
263 | # include <unistd.h>
264 | #endif
265
266 | #include <sys/stat.h>
267 configure:3556: result: no
268 configure:3556: checking for stdlib.h
269 configure:3556: avr-gcc -c -g -O2  conftest.c >&5
270 configure:3556: $? = 0
271 configure:3556: result: yes
272 configure:3556: checking for string.h
273 configure:3556: avr-gcc -c -g -O2  conftest.c >&5
274 configure:3556: $? = 0
275 configure:3556: result: yes
276 configure:3556: checking for memory.h
277 configure:3556: avr-gcc -c -g -O2  conftest.c >&5
278 conftest.c:46:20: fatal error: memory.h: No such file or directory
279 compilation terminated.
280 configure:3556: $? = 1
281 configure: failed program was:
282 | /* confdefs.h */
283 | #define PACKAGE_NAME "libcoap"
284 | #define PACKAGE_TARNAME "libcoap"
285 | #define PACKAGE_VERSION "4.1.1"
286 | #define PACKAGE_STRING "libcoap 4.1.1"
287 | #define PACKAGE_BUGREPORT ""
288 | #define PACKAGE_URL ""
289 | #define STDC_HEADERS 1
290 | #define HAVE_STDLIB_H 1
291 | #define HAVE_STRING_H 1
292 | /* end confdefs.h.  */
293 | #include <stdio.h>
294 | #ifdef HAVE_SYS_TYPES_H
295 | # include <sys/types.h>
296 | #endif
297 | #ifdef HAVE_SYS_STAT_H
298 | # include <sys/stat.h>
299 | #endif
300 | #ifdef STDC_HEADERS
301 | # include <stdlib.h>
302 | # include <stddef.h>
303 | #else
304 | # ifdef HAVE_STDLIB_H
305 | #  include <stdlib.h>
306 | # endif
307 | #endif
308 | #ifdef HAVE_STRING_H
309 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
310 | #  include <memory.h>
311 | # endif
312 | # include <string.h>
313 | #endif
314 | #ifdef HAVE_STRINGS_H
315 | # include <strings.h>
316 | #endif
317 | #ifdef HAVE_INTTYPES_H
318 | # include <inttypes.h>
319 | #endif
320 | #ifdef HAVE_STDINT_H
321 | # include <stdint.h>
322 | #endif
323 | #ifdef HAVE_UNISTD_H
324 | # include <unistd.h>
325 | #endif
326
327 | #include <memory.h>
328 configure:3556: result: no
329 configure:3556: checking for strings.h
330 configure:3556: avr-gcc -c -g -O2  conftest.c >&5
331 conftest.c:46:21: fatal error: strings.h: No such file or directory
332 compilation terminated.
333 configure:3556: $? = 1
334 configure: failed program was:
335 | /* confdefs.h */
336 | #define PACKAGE_NAME "libcoap"
337 | #define PACKAGE_TARNAME "libcoap"
338 | #define PACKAGE_VERSION "4.1.1"
339 | #define PACKAGE_STRING "libcoap 4.1.1"
340 | #define PACKAGE_BUGREPORT ""
341 | #define PACKAGE_URL ""
342 | #define STDC_HEADERS 1
343 | #define HAVE_STDLIB_H 1
344 | #define HAVE_STRING_H 1
345 | /* end confdefs.h.  */
346 | #include <stdio.h>
347 | #ifdef HAVE_SYS_TYPES_H
348 | # include <sys/types.h>
349 | #endif
350 | #ifdef HAVE_SYS_STAT_H
351 | # include <sys/stat.h>
352 | #endif
353 | #ifdef STDC_HEADERS
354 | # include <stdlib.h>
355 | # include <stddef.h>
356 | #else
357 | # ifdef HAVE_STDLIB_H
358 | #  include <stdlib.h>
359 | # endif
360 | #endif
361 | #ifdef HAVE_STRING_H
362 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
363 | #  include <memory.h>
364 | # endif
365 | # include <string.h>
366 | #endif
367 | #ifdef HAVE_STRINGS_H
368 | # include <strings.h>
369 | #endif
370 | #ifdef HAVE_INTTYPES_H
371 | # include <inttypes.h>
372 | #endif
373 | #ifdef HAVE_STDINT_H
374 | # include <stdint.h>
375 | #endif
376 | #ifdef HAVE_UNISTD_H
377 | # include <unistd.h>
378 | #endif
379
380 | #include <strings.h>
381 configure:3556: result: no
382 configure:3556: checking for inttypes.h
383 configure:3556: avr-gcc -c -g -O2  conftest.c >&5
384 configure:3556: $? = 0
385 configure:3556: result: yes
386 configure:3556: checking for stdint.h
387 configure:3556: avr-gcc -c -g -O2  conftest.c >&5
388 configure:3556: $? = 0
389 configure:3556: result: yes
390 configure:3556: checking for unistd.h
391 configure:3556: avr-gcc -c -g -O2  conftest.c >&5
392 conftest.c:48:20: fatal error: unistd.h: No such file or directory
393 compilation terminated.
394 configure:3556: $? = 1
395 configure: failed program was:
396 | /* confdefs.h */
397 | #define PACKAGE_NAME "libcoap"
398 | #define PACKAGE_TARNAME "libcoap"
399 | #define PACKAGE_VERSION "4.1.1"
400 | #define PACKAGE_STRING "libcoap 4.1.1"
401 | #define PACKAGE_BUGREPORT ""
402 | #define PACKAGE_URL ""
403 | #define STDC_HEADERS 1
404 | #define HAVE_STDLIB_H 1
405 | #define HAVE_STRING_H 1
406 | #define HAVE_INTTYPES_H 1
407 | #define HAVE_STDINT_H 1
408 | /* end confdefs.h.  */
409 | #include <stdio.h>
410 | #ifdef HAVE_SYS_TYPES_H
411 | # include <sys/types.h>
412 | #endif
413 | #ifdef HAVE_SYS_STAT_H
414 | # include <sys/stat.h>
415 | #endif
416 | #ifdef STDC_HEADERS
417 | # include <stdlib.h>
418 | # include <stddef.h>
419 | #else
420 | # ifdef HAVE_STDLIB_H
421 | #  include <stdlib.h>
422 | # endif
423 | #endif
424 | #ifdef HAVE_STRING_H
425 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
426 | #  include <memory.h>
427 | # endif
428 | # include <string.h>
429 | #endif
430 | #ifdef HAVE_STRINGS_H
431 | # include <strings.h>
432 | #endif
433 | #ifdef HAVE_INTTYPES_H
434 | # include <inttypes.h>
435 | #endif
436 | #ifdef HAVE_STDINT_H
437 | # include <stdint.h>
438 | #endif
439 | #ifdef HAVE_UNISTD_H
440 | # include <unistd.h>
441 | #endif
442
443 | #include <unistd.h>
444 configure:3556: result: no
445 configure:3568: checking whether byte ordering is bigendian
446 configure:3583: avr-gcc -c -g -O2  conftest.c >&5
447 conftest.c:15:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a'
448 configure:3583: $? = 1
449 configure: failed program was:
450 | /* confdefs.h */
451 | #define PACKAGE_NAME "libcoap"
452 | #define PACKAGE_TARNAME "libcoap"
453 | #define PACKAGE_VERSION "4.1.1"
454 | #define PACKAGE_STRING "libcoap 4.1.1"
455 | #define PACKAGE_BUGREPORT ""
456 | #define PACKAGE_URL ""
457 | #define STDC_HEADERS 1
458 | #define HAVE_STDLIB_H 1
459 | #define HAVE_STRING_H 1
460 | #define HAVE_INTTYPES_H 1
461 | #define HAVE_STDINT_H 1
462 | /* end confdefs.h.  */
463 | #ifndef __APPLE_CC__
464 |              not a universal capable compiler
465 |            #endif
466 |            typedef int dummy;
467
468 configure:3628: avr-gcc -c -g -O2  conftest.c >&5
469 conftest.c:14:23: fatal error: sys/types.h: No such file or directory
470 compilation terminated.
471 configure:3628: $? = 1
472 configure: failed program was:
473 | /* confdefs.h */
474 | #define PACKAGE_NAME "libcoap"
475 | #define PACKAGE_TARNAME "libcoap"
476 | #define PACKAGE_VERSION "4.1.1"
477 | #define PACKAGE_STRING "libcoap 4.1.1"
478 | #define PACKAGE_BUGREPORT ""
479 | #define PACKAGE_URL ""
480 | #define STDC_HEADERS 1
481 | #define HAVE_STDLIB_H 1
482 | #define HAVE_STRING_H 1
483 | #define HAVE_INTTYPES_H 1
484 | #define HAVE_STDINT_H 1
485 | /* end confdefs.h.  */
486 | #include <sys/types.h>
487 |            #include <sys/param.h>
488
489 | int
490 | main ()
491 | {
492 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN                    && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN                    && LITTLE_ENDIAN)
493 |             bogus endian macros
494 |            #endif
495
496 |   ;
497 |   return 0;
498 | }
499 configure:3672: avr-gcc -c -g -O2  conftest.c >&5
500 conftest.c: In function 'main':
501 conftest.c:20:8: error: 'bogus' undeclared (first use in this function)
502 conftest.c:20:8: note: each undeclared identifier is reported only once for each function it appears in
503 conftest.c:20:14: error: expected ';' before 'endian'
504 configure:3672: $? = 1
505 configure: failed program was:
506 | /* confdefs.h */
507 | #define PACKAGE_NAME "libcoap"
508 | #define PACKAGE_TARNAME "libcoap"
509 | #define PACKAGE_VERSION "4.1.1"
510 | #define PACKAGE_STRING "libcoap 4.1.1"
511 | #define PACKAGE_BUGREPORT ""
512 | #define PACKAGE_URL ""
513 | #define STDC_HEADERS 1
514 | #define HAVE_STDLIB_H 1
515 | #define HAVE_STRING_H 1
516 | #define HAVE_INTTYPES_H 1
517 | #define HAVE_STDINT_H 1
518 | /* end confdefs.h.  */
519 | #include <limits.h>
520
521 | int
522 | main ()
523 | {
524 | #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
525 |             bogus endian macros
526 |            #endif
527
528 |   ;
529 |   return 0;
530 | }
531 configure:3728: avr-gcc -c -g -O2  conftest.c >&5
532 configure:3728: $? = 0
533 configure:3774: result: no
534 configure:3794: checking for coap_new_pdu in -lcoap
535 configure:3819: avr-gcc -o conftest -g -O2   conftest.c -lcoap   >&5
536 /usr/lib/gcc/avr/4.5.3/../../../avr/bin/ld: cannot find -lcoap
537 collect2: ld returned 1 exit status
538 configure:3819: $? = 1
539 configure: failed program was:
540 | /* confdefs.h */
541 | #define PACKAGE_NAME "libcoap"
542 | #define PACKAGE_TARNAME "libcoap"
543 | #define PACKAGE_VERSION "4.1.1"
544 | #define PACKAGE_STRING "libcoap 4.1.1"
545 | #define PACKAGE_BUGREPORT ""
546 | #define PACKAGE_URL ""
547 | #define STDC_HEADERS 1
548 | #define HAVE_STDLIB_H 1
549 | #define HAVE_STRING_H 1
550 | #define HAVE_INTTYPES_H 1
551 | #define HAVE_STDINT_H 1
552 | /* end confdefs.h.  */
553
554 | /* Override any GCC internal prototype to avoid an error.
555 |    Use char because int might match the return type of a GCC
556 |    builtin and then its argument prototype would still apply.  */
557 | #ifdef __cplusplus
558 | extern "C"
559 | #endif
560 | char coap_new_pdu ();
561 | int
562 | main ()
563 | {
564 | return coap_new_pdu ();
565 |   ;
566 |   return 0;
567 | }
568 configure:3828: result: no
569 configure:3840: checking for library containing gethostbyname
570 configure:3871: avr-gcc -o conftest -g -O2   conftest.c  >&5
571 /tmp/cc5dRuvo.o: In function `main':
572 /home/sachin/gitrepos/peg_ccfl-core/libcoap-4.1.1/conftest.c:25: undefined reference to `gethostbyname'
573 collect2: ld returned 1 exit status
574 configure:3871: $? = 1
575 configure: failed program was:
576 | /* confdefs.h */
577 | #define PACKAGE_NAME "libcoap"
578 | #define PACKAGE_TARNAME "libcoap"
579 | #define PACKAGE_VERSION "4.1.1"
580 | #define PACKAGE_STRING "libcoap 4.1.1"
581 | #define PACKAGE_BUGREPORT ""
582 | #define PACKAGE_URL ""
583 | #define STDC_HEADERS 1
584 | #define HAVE_STDLIB_H 1
585 | #define HAVE_STRING_H 1
586 | #define HAVE_INTTYPES_H 1
587 | #define HAVE_STDINT_H 1
588 | /* end confdefs.h.  */
589
590 | /* Override any GCC internal prototype to avoid an error.
591 |    Use char because int might match the return type of a GCC
592 |    builtin and then its argument prototype would still apply.  */
593 | #ifdef __cplusplus
594 | extern "C"
595 | #endif
596 | char gethostbyname ();
597 | int
598 | main ()
599 | {
600 | return gethostbyname ();
601 |   ;
602 |   return 0;
603 | }
604 configure:3871: avr-gcc -o conftest -g -O2   conftest.c -lnsl   >&5
605 /usr/lib/gcc/avr/4.5.3/../../../avr/bin/ld: cannot find -lnsl
606 collect2: ld returned 1 exit status
607 configure:3871: $? = 1
608 configure: failed program was:
609 | /* confdefs.h */
610 | #define PACKAGE_NAME "libcoap"
611 | #define PACKAGE_TARNAME "libcoap"
612 | #define PACKAGE_VERSION "4.1.1"
613 | #define PACKAGE_STRING "libcoap 4.1.1"
614 | #define PACKAGE_BUGREPORT ""
615 | #define PACKAGE_URL ""
616 | #define STDC_HEADERS 1
617 | #define HAVE_STDLIB_H 1
618 | #define HAVE_STRING_H 1
619 | #define HAVE_INTTYPES_H 1
620 | #define HAVE_STDINT_H 1
621 | /* end confdefs.h.  */
622
623 | /* Override any GCC internal prototype to avoid an error.
624 |    Use char because int might match the return type of a GCC
625 |    builtin and then its argument prototype would still apply.  */
626 | #ifdef __cplusplus
627 | extern "C"
628 | #endif
629 | char gethostbyname ();
630 | int
631 | main ()
632 | {
633 | return gethostbyname ();
634 |   ;
635 |   return 0;
636 | }
637 configure:3888: result: no
638 configure:3896: checking for library containing socket
639 configure:3927: avr-gcc -o conftest -g -O2   conftest.c  >&5
640 /tmp/cczRzsqr.o: In function `main':
641 /home/sachin/gitrepos/peg_ccfl-core/libcoap-4.1.1/conftest.c:25: undefined reference to `socket'
642 collect2: ld returned 1 exit status
643 configure:3927: $? = 1
644 configure: failed program was:
645 | /* confdefs.h */
646 | #define PACKAGE_NAME "libcoap"
647 | #define PACKAGE_TARNAME "libcoap"
648 | #define PACKAGE_VERSION "4.1.1"
649 | #define PACKAGE_STRING "libcoap 4.1.1"
650 | #define PACKAGE_BUGREPORT ""
651 | #define PACKAGE_URL ""
652 | #define STDC_HEADERS 1
653 | #define HAVE_STDLIB_H 1
654 | #define HAVE_STRING_H 1
655 | #define HAVE_INTTYPES_H 1
656 | #define HAVE_STDINT_H 1
657 | /* end confdefs.h.  */
658
659 | /* Override any GCC internal prototype to avoid an error.
660 |    Use char because int might match the return type of a GCC
661 |    builtin and then its argument prototype would still apply.  */
662 | #ifdef __cplusplus
663 | extern "C"
664 | #endif
665 | char socket ();
666 | int
667 | main ()
668 | {
669 | return socket ();
670 |   ;
671 |   return 0;
672 | }
673 configure:3927: avr-gcc -o conftest -g -O2   conftest.c -lsocket   >&5
674 /usr/lib/gcc/avr/4.5.3/../../../avr/bin/ld: cannot find -lsocket
675 collect2: ld returned 1 exit status
676 configure:3927: $? = 1
677 configure: failed program was:
678 | /* confdefs.h */
679 | #define PACKAGE_NAME "libcoap"
680 | #define PACKAGE_TARNAME "libcoap"
681 | #define PACKAGE_VERSION "4.1.1"
682 | #define PACKAGE_STRING "libcoap 4.1.1"
683 | #define PACKAGE_BUGREPORT ""
684 | #define PACKAGE_URL ""
685 | #define STDC_HEADERS 1
686 | #define HAVE_STDLIB_H 1
687 | #define HAVE_STRING_H 1
688 | #define HAVE_INTTYPES_H 1
689 | #define HAVE_STDINT_H 1
690 | /* end confdefs.h.  */
691
692 | /* Override any GCC internal prototype to avoid an error.
693 |    Use char because int might match the return type of a GCC
694 |    builtin and then its argument prototype would still apply.  */
695 | #ifdef __cplusplus
696 | extern "C"
697 | #endif
698 | char socket ();
699 | int
700 | main ()
701 | {
702 | return socket ();
703 |   ;
704 |   return 0;
705 | }
706 configure:3944: result: no
707 configure:4011: checking assert.h usability
708 configure:4011: avr-gcc -c -g -O2  -DWITH_POSIX conftest.c >&5
709 configure:4011: $? = 0
710 configure:4011: result: yes
711 configure:4011: checking assert.h presence
712 configure:4011: avr-gcc -E  -DWITH_POSIX conftest.c
713 configure:4011: $? = 0
714 configure:4011: result: yes
715 configure:4011: checking for assert.h
716 configure:4011: result: yes
717 configure:4011: checking arpa/inet.h usability
718 configure:4011: avr-gcc -c -g -O2  -DWITH_POSIX conftest.c >&5
719 conftest.c:48:23: fatal error: arpa/inet.h: No such file or directory
720 compilation terminated.
721 configure:4011: $? = 1
722 configure: failed program was:
723 | /* confdefs.h */
724 | #define PACKAGE_NAME "libcoap"
725 | #define PACKAGE_TARNAME "libcoap"
726 | #define PACKAGE_VERSION "4.1.1"
727 | #define PACKAGE_STRING "libcoap 4.1.1"
728 | #define PACKAGE_BUGREPORT ""
729 | #define PACKAGE_URL ""
730 | #define STDC_HEADERS 1
731 | #define HAVE_STDLIB_H 1
732 | #define HAVE_STRING_H 1
733 | #define HAVE_INTTYPES_H 1
734 | #define HAVE_STDINT_H 1
735 | #define HAVE_ASSERT_H 1
736 | /* end confdefs.h.  */
737 | #include <stdio.h>
738 | #ifdef HAVE_SYS_TYPES_H
739 | # include <sys/types.h>
740 | #endif
741 | #ifdef HAVE_SYS_STAT_H
742 | # include <sys/stat.h>
743 | #endif
744 | #ifdef STDC_HEADERS
745 | # include <stdlib.h>
746 | # include <stddef.h>
747 | #else
748 | # ifdef HAVE_STDLIB_H
749 | #  include <stdlib.h>
750 | # endif
751 | #endif
752 | #ifdef HAVE_STRING_H
753 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
754 | #  include <memory.h>
755 | # endif
756 | # include <string.h>
757 | #endif
758 | #ifdef HAVE_STRINGS_H
759 | # include <strings.h>
760 | #endif
761 | #ifdef HAVE_INTTYPES_H
762 | # include <inttypes.h>
763 | #endif
764 | #ifdef HAVE_STDINT_H
765 | # include <stdint.h>
766 | #endif
767 | #ifdef HAVE_UNISTD_H
768 | # include <unistd.h>
769 | #endif
770 | #include <arpa/inet.h>
771 configure:4011: result: no
772 configure:4011: checking arpa/inet.h presence
773 configure:4011: avr-gcc -E  -DWITH_POSIX conftest.c
774 conftest.c:15:23: fatal error: arpa/inet.h: No such file or directory
775 compilation terminated.
776 configure:4011: $? = 1
777 configure: failed program was:
778 | /* confdefs.h */
779 | #define PACKAGE_NAME "libcoap"
780 | #define PACKAGE_TARNAME "libcoap"
781 | #define PACKAGE_VERSION "4.1.1"
782 | #define PACKAGE_STRING "libcoap 4.1.1"
783 | #define PACKAGE_BUGREPORT ""
784 | #define PACKAGE_URL ""
785 | #define STDC_HEADERS 1
786 | #define HAVE_STDLIB_H 1
787 | #define HAVE_STRING_H 1
788 | #define HAVE_INTTYPES_H 1
789 | #define HAVE_STDINT_H 1
790 | #define HAVE_ASSERT_H 1
791 | /* end confdefs.h.  */
792 | #include <arpa/inet.h>
793 configure:4011: result: no
794 configure:4011: checking for arpa/inet.h
795 configure:4011: result: no
796 configure:4011: checking limits.h usability
797 configure:4011: avr-gcc -c -g -O2  -DWITH_POSIX conftest.c >&5
798 configure:4011: $? = 0
799 configure:4011: result: yes
800 configure:4011: checking limits.h presence
801 configure:4011: avr-gcc -E  -DWITH_POSIX conftest.c
802 configure:4011: $? = 0
803 configure:4011: result: yes
804 configure:4011: checking for limits.h
805 configure:4011: result: yes
806 configure:4011: checking netdb.h usability
807 configure:4011: avr-gcc -c -g -O2  -DWITH_POSIX conftest.c >&5
808 conftest.c:49:19: fatal error: netdb.h: No such file or directory
809 compilation terminated.
810 configure:4011: $? = 1
811 configure: failed program was:
812 | /* confdefs.h */
813 | #define PACKAGE_NAME "libcoap"
814 | #define PACKAGE_TARNAME "libcoap"
815 | #define PACKAGE_VERSION "4.1.1"
816 | #define PACKAGE_STRING "libcoap 4.1.1"
817 | #define PACKAGE_BUGREPORT ""
818 | #define PACKAGE_URL ""
819 | #define STDC_HEADERS 1
820 | #define HAVE_STDLIB_H 1
821 | #define HAVE_STRING_H 1
822 | #define HAVE_INTTYPES_H 1
823 | #define HAVE_STDINT_H 1
824 | #define HAVE_ASSERT_H 1
825 | #define HAVE_LIMITS_H 1
826 | /* end confdefs.h.  */
827 | #include <stdio.h>
828 | #ifdef HAVE_SYS_TYPES_H
829 | # include <sys/types.h>
830 | #endif
831 | #ifdef HAVE_SYS_STAT_H
832 | # include <sys/stat.h>
833 | #endif
834 | #ifdef STDC_HEADERS
835 | # include <stdlib.h>
836 | # include <stddef.h>
837 | #else
838 | # ifdef HAVE_STDLIB_H
839 | #  include <stdlib.h>
840 | # endif
841 | #endif
842 | #ifdef HAVE_STRING_H
843 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
844 | #  include <memory.h>
845 | # endif
846 | # include <string.h>
847 | #endif
848 | #ifdef HAVE_STRINGS_H
849 | # include <strings.h>
850 | #endif
851 | #ifdef HAVE_INTTYPES_H
852 | # include <inttypes.h>
853 | #endif
854 | #ifdef HAVE_STDINT_H
855 | # include <stdint.h>
856 | #endif
857 | #ifdef HAVE_UNISTD_H
858 | # include <unistd.h>
859 | #endif
860 | #include <netdb.h>
861 configure:4011: result: no
862 configure:4011: checking netdb.h presence
863 configure:4011: avr-gcc -E  -DWITH_POSIX conftest.c
864 conftest.c:16:19: fatal error: netdb.h: No such file or directory
865 compilation terminated.
866 configure:4011: $? = 1
867 configure: failed program was:
868 | /* confdefs.h */
869 | #define PACKAGE_NAME "libcoap"
870 | #define PACKAGE_TARNAME "libcoap"
871 | #define PACKAGE_VERSION "4.1.1"
872 | #define PACKAGE_STRING "libcoap 4.1.1"
873 | #define PACKAGE_BUGREPORT ""
874 | #define PACKAGE_URL ""
875 | #define STDC_HEADERS 1
876 | #define HAVE_STDLIB_H 1
877 | #define HAVE_STRING_H 1
878 | #define HAVE_INTTYPES_H 1
879 | #define HAVE_STDINT_H 1
880 | #define HAVE_ASSERT_H 1
881 | #define HAVE_LIMITS_H 1
882 | /* end confdefs.h.  */
883 | #include <netdb.h>
884 configure:4011: result: no
885 configure:4011: checking for netdb.h
886 configure:4011: result: no
887 configure:4011: checking netinet/in.h usability
888 configure:4011: avr-gcc -c -g -O2  -DWITH_POSIX conftest.c >&5
889 conftest.c:49:24: fatal error: netinet/in.h: No such file or directory
890 compilation terminated.
891 configure:4011: $? = 1
892 configure: failed program was:
893 | /* confdefs.h */
894 | #define PACKAGE_NAME "libcoap"
895 | #define PACKAGE_TARNAME "libcoap"
896 | #define PACKAGE_VERSION "4.1.1"
897 | #define PACKAGE_STRING "libcoap 4.1.1"
898 | #define PACKAGE_BUGREPORT ""
899 | #define PACKAGE_URL ""
900 | #define STDC_HEADERS 1
901 | #define HAVE_STDLIB_H 1
902 | #define HAVE_STRING_H 1
903 | #define HAVE_INTTYPES_H 1
904 | #define HAVE_STDINT_H 1
905 | #define HAVE_ASSERT_H 1
906 | #define HAVE_LIMITS_H 1
907 | /* end confdefs.h.  */
908 | #include <stdio.h>
909 | #ifdef HAVE_SYS_TYPES_H
910 | # include <sys/types.h>
911 | #endif
912 | #ifdef HAVE_SYS_STAT_H
913 | # include <sys/stat.h>
914 | #endif
915 | #ifdef STDC_HEADERS
916 | # include <stdlib.h>
917 | # include <stddef.h>
918 | #else
919 | # ifdef HAVE_STDLIB_H
920 | #  include <stdlib.h>
921 | # endif
922 | #endif
923 | #ifdef HAVE_STRING_H
924 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
925 | #  include <memory.h>
926 | # endif
927 | # include <string.h>
928 | #endif
929 | #ifdef HAVE_STRINGS_H
930 | # include <strings.h>
931 | #endif
932 | #ifdef HAVE_INTTYPES_H
933 | # include <inttypes.h>
934 | #endif
935 | #ifdef HAVE_STDINT_H
936 | # include <stdint.h>
937 | #endif
938 | #ifdef HAVE_UNISTD_H
939 | # include <unistd.h>
940 | #endif
941 | #include <netinet/in.h>
942 configure:4011: result: no
943 configure:4011: checking netinet/in.h presence
944 configure:4011: avr-gcc -E  -DWITH_POSIX conftest.c
945 conftest.c:16:24: fatal error: netinet/in.h: No such file or directory
946 compilation terminated.
947 configure:4011: $? = 1
948 configure: failed program was:
949 | /* confdefs.h */
950 | #define PACKAGE_NAME "libcoap"
951 | #define PACKAGE_TARNAME "libcoap"
952 | #define PACKAGE_VERSION "4.1.1"
953 | #define PACKAGE_STRING "libcoap 4.1.1"
954 | #define PACKAGE_BUGREPORT ""
955 | #define PACKAGE_URL ""
956 | #define STDC_HEADERS 1
957 | #define HAVE_STDLIB_H 1
958 | #define HAVE_STRING_H 1
959 | #define HAVE_INTTYPES_H 1
960 | #define HAVE_STDINT_H 1
961 | #define HAVE_ASSERT_H 1
962 | #define HAVE_LIMITS_H 1
963 | /* end confdefs.h.  */
964 | #include <netinet/in.h>
965 configure:4011: result: no
966 configure:4011: checking for netinet/in.h
967 configure:4011: result: no
968 configure:4011: checking for stdlib.h
969 configure:4011: result: yes
970 configure:4011: checking for string.h
971 configure:4011: result: yes
972 configure:4011: checking for strings.h
973 configure:4011: result: no
974 configure:4011: checking sys/socket.h usability
975 configure:4011: avr-gcc -c -g -O2  -DWITH_POSIX conftest.c >&5
976 conftest.c:51:24: fatal error: sys/socket.h: No such file or directory
977 compilation terminated.
978 configure:4011: $? = 1
979 configure: failed program was:
980 | /* confdefs.h */
981 | #define PACKAGE_NAME "libcoap"
982 | #define PACKAGE_TARNAME "libcoap"
983 | #define PACKAGE_VERSION "4.1.1"
984 | #define PACKAGE_STRING "libcoap 4.1.1"
985 | #define PACKAGE_BUGREPORT ""
986 | #define PACKAGE_URL ""
987 | #define STDC_HEADERS 1
988 | #define HAVE_STDLIB_H 1
989 | #define HAVE_STRING_H 1
990 | #define HAVE_INTTYPES_H 1
991 | #define HAVE_STDINT_H 1
992 | #define HAVE_ASSERT_H 1
993 | #define HAVE_LIMITS_H 1
994 | #define HAVE_STDLIB_H 1
995 | #define HAVE_STRING_H 1
996 | /* end confdefs.h.  */
997 | #include <stdio.h>
998 | #ifdef HAVE_SYS_TYPES_H
999 | # include <sys/types.h>
1000 | #endif
1001 | #ifdef HAVE_SYS_STAT_H
1002 | # include <sys/stat.h>
1003 | #endif
1004 | #ifdef STDC_HEADERS
1005 | # include <stdlib.h>
1006 | # include <stddef.h>
1007 | #else
1008 | # ifdef HAVE_STDLIB_H
1009 | #  include <stdlib.h>
1010 | # endif
1011 | #endif
1012 | #ifdef HAVE_STRING_H
1013 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1014 | #  include <memory.h>
1015 | # endif
1016 | # include <string.h>
1017 | #endif
1018 | #ifdef HAVE_STRINGS_H
1019 | # include <strings.h>
1020 | #endif
1021 | #ifdef HAVE_INTTYPES_H
1022 | # include <inttypes.h>
1023 | #endif
1024 | #ifdef HAVE_STDINT_H
1025 | # include <stdint.h>
1026 | #endif
1027 | #ifdef HAVE_UNISTD_H
1028 | # include <unistd.h>
1029 | #endif
1030 | #include <sys/socket.h>
1031 configure:4011: result: no
1032 configure:4011: checking sys/socket.h presence
1033 configure:4011: avr-gcc -E  -DWITH_POSIX conftest.c
1034 conftest.c:18:24: fatal error: sys/socket.h: No such file or directory
1035 compilation terminated.
1036 configure:4011: $? = 1
1037 configure: failed program was:
1038 | /* confdefs.h */
1039 | #define PACKAGE_NAME "libcoap"
1040 | #define PACKAGE_TARNAME "libcoap"
1041 | #define PACKAGE_VERSION "4.1.1"
1042 | #define PACKAGE_STRING "libcoap 4.1.1"
1043 | #define PACKAGE_BUGREPORT ""
1044 | #define PACKAGE_URL ""
1045 | #define STDC_HEADERS 1
1046 | #define HAVE_STDLIB_H 1
1047 | #define HAVE_STRING_H 1
1048 | #define HAVE_INTTYPES_H 1
1049 | #define HAVE_STDINT_H 1
1050 | #define HAVE_ASSERT_H 1
1051 | #define HAVE_LIMITS_H 1
1052 | #define HAVE_STDLIB_H 1
1053 | #define HAVE_STRING_H 1
1054 | /* end confdefs.h.  */
1055 | #include <sys/socket.h>
1056 configure:4011: result: no
1057 configure:4011: checking for sys/socket.h
1058 configure:4011: result: no
1059 configure:4011: checking sys/time.h usability
1060 configure:4011: avr-gcc -c -g -O2  -DWITH_POSIX conftest.c >&5
1061 conftest.c:51:22: fatal error: sys/time.h: No such file or directory
1062 compilation terminated.
1063 configure:4011: $? = 1
1064 configure: failed program was:
1065 | /* confdefs.h */
1066 | #define PACKAGE_NAME "libcoap"
1067 | #define PACKAGE_TARNAME "libcoap"
1068 | #define PACKAGE_VERSION "4.1.1"
1069 | #define PACKAGE_STRING "libcoap 4.1.1"
1070 | #define PACKAGE_BUGREPORT ""
1071 | #define PACKAGE_URL ""
1072 | #define STDC_HEADERS 1
1073 | #define HAVE_STDLIB_H 1
1074 | #define HAVE_STRING_H 1
1075 | #define HAVE_INTTYPES_H 1
1076 | #define HAVE_STDINT_H 1
1077 | #define HAVE_ASSERT_H 1
1078 | #define HAVE_LIMITS_H 1
1079 | #define HAVE_STDLIB_H 1
1080 | #define HAVE_STRING_H 1
1081 | /* end confdefs.h.  */
1082 | #include <stdio.h>
1083 | #ifdef HAVE_SYS_TYPES_H
1084 | # include <sys/types.h>
1085 | #endif
1086 | #ifdef HAVE_SYS_STAT_H
1087 | # include <sys/stat.h>
1088 | #endif
1089 | #ifdef STDC_HEADERS
1090 | # include <stdlib.h>
1091 | # include <stddef.h>
1092 | #else
1093 | # ifdef HAVE_STDLIB_H
1094 | #  include <stdlib.h>
1095 | # endif
1096 | #endif
1097 | #ifdef HAVE_STRING_H
1098 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1099 | #  include <memory.h>
1100 | # endif
1101 | # include <string.h>
1102 | #endif
1103 | #ifdef HAVE_STRINGS_H
1104 | # include <strings.h>
1105 | #endif
1106 | #ifdef HAVE_INTTYPES_H
1107 | # include <inttypes.h>
1108 | #endif
1109 | #ifdef HAVE_STDINT_H
1110 | # include <stdint.h>
1111 | #endif
1112 | #ifdef HAVE_UNISTD_H
1113 | # include <unistd.h>
1114 | #endif
1115 | #include <sys/time.h>
1116 configure:4011: result: no
1117 configure:4011: checking sys/time.h presence
1118 configure:4011: avr-gcc -E  -DWITH_POSIX conftest.c
1119 conftest.c:18:22: fatal error: sys/time.h: No such file or directory
1120 compilation terminated.
1121 configure:4011: $? = 1
1122 configure: failed program was:
1123 | /* confdefs.h */
1124 | #define PACKAGE_NAME "libcoap"
1125 | #define PACKAGE_TARNAME "libcoap"
1126 | #define PACKAGE_VERSION "4.1.1"
1127 | #define PACKAGE_STRING "libcoap 4.1.1"
1128 | #define PACKAGE_BUGREPORT ""
1129 | #define PACKAGE_URL ""
1130 | #define STDC_HEADERS 1
1131 | #define HAVE_STDLIB_H 1
1132 | #define HAVE_STRING_H 1
1133 | #define HAVE_INTTYPES_H 1
1134 | #define HAVE_STDINT_H 1
1135 | #define HAVE_ASSERT_H 1
1136 | #define HAVE_LIMITS_H 1
1137 | #define HAVE_STDLIB_H 1
1138 | #define HAVE_STRING_H 1
1139 | /* end confdefs.h.  */
1140 | #include <sys/time.h>
1141 configure:4011: result: no
1142 configure:4011: checking for sys/time.h
1143 configure:4011: result: no
1144 configure:4011: checking time.h usability
1145 configure:4011: avr-gcc -c -g -O2  -DWITH_POSIX conftest.c >&5
1146 conftest.c:51:18: fatal error: time.h: No such file or directory
1147 compilation terminated.
1148 configure:4011: $? = 1
1149 configure: failed program was:
1150 | /* confdefs.h */
1151 | #define PACKAGE_NAME "libcoap"
1152 | #define PACKAGE_TARNAME "libcoap"
1153 | #define PACKAGE_VERSION "4.1.1"
1154 | #define PACKAGE_STRING "libcoap 4.1.1"
1155 | #define PACKAGE_BUGREPORT ""
1156 | #define PACKAGE_URL ""
1157 | #define STDC_HEADERS 1
1158 | #define HAVE_STDLIB_H 1
1159 | #define HAVE_STRING_H 1
1160 | #define HAVE_INTTYPES_H 1
1161 | #define HAVE_STDINT_H 1
1162 | #define HAVE_ASSERT_H 1
1163 | #define HAVE_LIMITS_H 1
1164 | #define HAVE_STDLIB_H 1
1165 | #define HAVE_STRING_H 1
1166 | /* end confdefs.h.  */
1167 | #include <stdio.h>
1168 | #ifdef HAVE_SYS_TYPES_H
1169 | # include <sys/types.h>
1170 | #endif
1171 | #ifdef HAVE_SYS_STAT_H
1172 | # include <sys/stat.h>
1173 | #endif
1174 | #ifdef STDC_HEADERS
1175 | # include <stdlib.h>
1176 | # include <stddef.h>
1177 | #else
1178 | # ifdef HAVE_STDLIB_H
1179 | #  include <stdlib.h>
1180 | # endif
1181 | #endif
1182 | #ifdef HAVE_STRING_H
1183 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1184 | #  include <memory.h>
1185 | # endif
1186 | # include <string.h>
1187 | #endif
1188 | #ifdef HAVE_STRINGS_H
1189 | # include <strings.h>
1190 | #endif
1191 | #ifdef HAVE_INTTYPES_H
1192 | # include <inttypes.h>
1193 | #endif
1194 | #ifdef HAVE_STDINT_H
1195 | # include <stdint.h>
1196 | #endif
1197 | #ifdef HAVE_UNISTD_H
1198 | # include <unistd.h>
1199 | #endif
1200 | #include <time.h>
1201 configure:4011: result: no
1202 configure:4011: checking time.h presence
1203 configure:4011: avr-gcc -E  -DWITH_POSIX conftest.c
1204 conftest.c:18:18: fatal error: time.h: No such file or directory
1205 compilation terminated.
1206 configure:4011: $? = 1
1207 configure: failed program was:
1208 | /* confdefs.h */
1209 | #define PACKAGE_NAME "libcoap"
1210 | #define PACKAGE_TARNAME "libcoap"
1211 | #define PACKAGE_VERSION "4.1.1"
1212 | #define PACKAGE_STRING "libcoap 4.1.1"
1213 | #define PACKAGE_BUGREPORT ""
1214 | #define PACKAGE_URL ""
1215 | #define STDC_HEADERS 1
1216 | #define HAVE_STDLIB_H 1
1217 | #define HAVE_STRING_H 1
1218 | #define HAVE_INTTYPES_H 1
1219 | #define HAVE_STDINT_H 1
1220 | #define HAVE_ASSERT_H 1
1221 | #define HAVE_LIMITS_H 1
1222 | #define HAVE_STDLIB_H 1
1223 | #define HAVE_STRING_H 1
1224 | /* end confdefs.h.  */
1225 | #include <time.h>
1226 configure:4011: result: no
1227 configure:4011: checking for time.h
1228 configure:4011: result: no
1229 configure:4011: checking for unistd.h
1230 configure:4011: result: no
1231 configure:4011: checking sys/unistd.h usability
1232 configure:4011: avr-gcc -c -g -O2  -DWITH_POSIX conftest.c >&5
1233 conftest.c:51:24: fatal error: sys/unistd.h: No such file or directory
1234 compilation terminated.
1235 configure:4011: $? = 1
1236 configure: failed program was:
1237 | /* confdefs.h */
1238 | #define PACKAGE_NAME "libcoap"
1239 | #define PACKAGE_TARNAME "libcoap"
1240 | #define PACKAGE_VERSION "4.1.1"
1241 | #define PACKAGE_STRING "libcoap 4.1.1"
1242 | #define PACKAGE_BUGREPORT ""
1243 | #define PACKAGE_URL ""
1244 | #define STDC_HEADERS 1
1245 | #define HAVE_STDLIB_H 1
1246 | #define HAVE_STRING_H 1
1247 | #define HAVE_INTTYPES_H 1
1248 | #define HAVE_STDINT_H 1
1249 | #define HAVE_ASSERT_H 1
1250 | #define HAVE_LIMITS_H 1
1251 | #define HAVE_STDLIB_H 1
1252 | #define HAVE_STRING_H 1
1253 | /* end confdefs.h.  */
1254 | #include <stdio.h>
1255 | #ifdef HAVE_SYS_TYPES_H
1256 | # include <sys/types.h>
1257 | #endif
1258 | #ifdef HAVE_SYS_STAT_H
1259 | # include <sys/stat.h>
1260 | #endif
1261 | #ifdef STDC_HEADERS
1262 | # include <stdlib.h>
1263 | # include <stddef.h>
1264 | #else
1265 | # ifdef HAVE_STDLIB_H
1266 | #  include <stdlib.h>
1267 | # endif
1268 | #endif
1269 | #ifdef HAVE_STRING_H
1270 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1271 | #  include <memory.h>
1272 | # endif
1273 | # include <string.h>
1274 | #endif
1275 | #ifdef HAVE_STRINGS_H
1276 | # include <strings.h>
1277 | #endif
1278 | #ifdef HAVE_INTTYPES_H
1279 | # include <inttypes.h>
1280 | #endif
1281 | #ifdef HAVE_STDINT_H
1282 | # include <stdint.h>
1283 | #endif
1284 | #ifdef HAVE_UNISTD_H
1285 | # include <unistd.h>
1286 | #endif
1287 | #include <sys/unistd.h>
1288 configure:4011: result: no
1289 configure:4011: checking sys/unistd.h presence
1290 configure:4011: avr-gcc -E  -DWITH_POSIX conftest.c
1291 conftest.c:18:24: fatal error: sys/unistd.h: No such file or directory
1292 compilation terminated.
1293 configure:4011: $? = 1
1294 configure: failed program was:
1295 | /* confdefs.h */
1296 | #define PACKAGE_NAME "libcoap"
1297 | #define PACKAGE_TARNAME "libcoap"
1298 | #define PACKAGE_VERSION "4.1.1"
1299 | #define PACKAGE_STRING "libcoap 4.1.1"
1300 | #define PACKAGE_BUGREPORT ""
1301 | #define PACKAGE_URL ""
1302 | #define STDC_HEADERS 1
1303 | #define HAVE_STDLIB_H 1
1304 | #define HAVE_STRING_H 1
1305 | #define HAVE_INTTYPES_H 1
1306 | #define HAVE_STDINT_H 1
1307 | #define HAVE_ASSERT_H 1
1308 | #define HAVE_LIMITS_H 1
1309 | #define HAVE_STDLIB_H 1
1310 | #define HAVE_STRING_H 1
1311 | /* end confdefs.h.  */
1312 | #include <sys/unistd.h>
1313 configure:4011: result: no
1314 configure:4011: checking for sys/unistd.h
1315 configure:4011: result: no
1316 configure:4011: checking syslog.h usability
1317 configure:4011: avr-gcc -c -g -O2  -DWITH_POSIX conftest.c >&5
1318 conftest.c:51:20: fatal error: syslog.h: No such file or directory
1319 compilation terminated.
1320 configure:4011: $? = 1
1321 configure: failed program was:
1322 | /* confdefs.h */
1323 | #define PACKAGE_NAME "libcoap"
1324 | #define PACKAGE_TARNAME "libcoap"
1325 | #define PACKAGE_VERSION "4.1.1"
1326 | #define PACKAGE_STRING "libcoap 4.1.1"
1327 | #define PACKAGE_BUGREPORT ""
1328 | #define PACKAGE_URL ""
1329 | #define STDC_HEADERS 1
1330 | #define HAVE_STDLIB_H 1
1331 | #define HAVE_STRING_H 1
1332 | #define HAVE_INTTYPES_H 1
1333 | #define HAVE_STDINT_H 1
1334 | #define HAVE_ASSERT_H 1
1335 | #define HAVE_LIMITS_H 1
1336 | #define HAVE_STDLIB_H 1
1337 | #define HAVE_STRING_H 1
1338 | /* end confdefs.h.  */
1339 | #include <stdio.h>
1340 | #ifdef HAVE_SYS_TYPES_H
1341 | # include <sys/types.h>
1342 | #endif
1343 | #ifdef HAVE_SYS_STAT_H
1344 | # include <sys/stat.h>
1345 | #endif
1346 | #ifdef STDC_HEADERS
1347 | # include <stdlib.h>
1348 | # include <stddef.h>
1349 | #else
1350 | # ifdef HAVE_STDLIB_H
1351 | #  include <stdlib.h>
1352 | # endif
1353 | #endif
1354 | #ifdef HAVE_STRING_H
1355 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1356 | #  include <memory.h>
1357 | # endif
1358 | # include <string.h>
1359 | #endif
1360 | #ifdef HAVE_STRINGS_H
1361 | # include <strings.h>
1362 | #endif
1363 | #ifdef HAVE_INTTYPES_H
1364 | # include <inttypes.h>
1365 | #endif
1366 | #ifdef HAVE_STDINT_H
1367 | # include <stdint.h>
1368 | #endif
1369 | #ifdef HAVE_UNISTD_H
1370 | # include <unistd.h>
1371 | #endif
1372 | #include <syslog.h>
1373 configure:4011: result: no
1374 configure:4011: checking syslog.h presence
1375 configure:4011: avr-gcc -E  -DWITH_POSIX conftest.c
1376 conftest.c:18:20: fatal error: syslog.h: No such file or directory
1377 compilation terminated.
1378 configure:4011: $? = 1
1379 configure: failed program was:
1380 | /* confdefs.h */
1381 | #define PACKAGE_NAME "libcoap"
1382 | #define PACKAGE_TARNAME "libcoap"
1383 | #define PACKAGE_VERSION "4.1.1"
1384 | #define PACKAGE_STRING "libcoap 4.1.1"
1385 | #define PACKAGE_BUGREPORT ""
1386 | #define PACKAGE_URL ""
1387 | #define STDC_HEADERS 1
1388 | #define HAVE_STDLIB_H 1
1389 | #define HAVE_STRING_H 1
1390 | #define HAVE_INTTYPES_H 1
1391 | #define HAVE_STDINT_H 1
1392 | #define HAVE_ASSERT_H 1
1393 | #define HAVE_LIMITS_H 1
1394 | #define HAVE_STDLIB_H 1
1395 | #define HAVE_STRING_H 1
1396 | /* end confdefs.h.  */
1397 | #include <syslog.h>
1398 configure:4011: result: no
1399 configure:4011: checking for syslog.h
1400 configure:4011: result: no
1401 configure:4023: checking for size_t
1402 configure:4023: avr-gcc -c -g -O2  -DWITH_POSIX conftest.c >&5
1403 configure:4023: $? = 0
1404 configure:4023: avr-gcc -c -g -O2  -DWITH_POSIX conftest.c >&5
1405 conftest.c: In function 'main':
1406 conftest.c:54:21: error: expected expression before ')' token
1407 configure:4023: $? = 1
1408 configure: failed program was:
1409 | /* confdefs.h */
1410 | #define PACKAGE_NAME "libcoap"
1411 | #define PACKAGE_TARNAME "libcoap"
1412 | #define PACKAGE_VERSION "4.1.1"
1413 | #define PACKAGE_STRING "libcoap 4.1.1"
1414 | #define PACKAGE_BUGREPORT ""
1415 | #define PACKAGE_URL ""
1416 | #define STDC_HEADERS 1
1417 | #define HAVE_STDLIB_H 1
1418 | #define HAVE_STRING_H 1
1419 | #define HAVE_INTTYPES_H 1
1420 | #define HAVE_STDINT_H 1
1421 | #define HAVE_ASSERT_H 1
1422 | #define HAVE_LIMITS_H 1
1423 | #define HAVE_STDLIB_H 1
1424 | #define HAVE_STRING_H 1
1425 | /* end confdefs.h.  */
1426 | #include <stdio.h>
1427 | #ifdef HAVE_SYS_TYPES_H
1428 | # include <sys/types.h>
1429 | #endif
1430 | #ifdef HAVE_SYS_STAT_H
1431 | # include <sys/stat.h>
1432 | #endif
1433 | #ifdef STDC_HEADERS
1434 | # include <stdlib.h>
1435 | # include <stddef.h>
1436 | #else
1437 | # ifdef HAVE_STDLIB_H
1438 | #  include <stdlib.h>
1439 | # endif
1440 | #endif
1441 | #ifdef HAVE_STRING_H
1442 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1443 | #  include <memory.h>
1444 | # endif
1445 | # include <string.h>
1446 | #endif
1447 | #ifdef HAVE_STRINGS_H
1448 | # include <strings.h>
1449 | #endif
1450 | #ifdef HAVE_INTTYPES_H
1451 | # include <inttypes.h>
1452 | #endif
1453 | #ifdef HAVE_STDINT_H
1454 | # include <stdint.h>
1455 | #endif
1456 | #ifdef HAVE_UNISTD_H
1457 | # include <unistd.h>
1458 | #endif
1459 | int
1460 | main ()
1461 | {
1462 | if (sizeof ((size_t)))
1463 |           return 0;
1464 |   ;
1465 |   return 0;
1466 | }
1467 configure:4023: result: yes
1468 configure:4034: checking for ssize_t
1469 configure:4034: avr-gcc -c -g -O2  -DWITH_POSIX conftest.c >&5
1470 conftest.c: In function 'main':
1471 conftest.c:54:13: error: 'ssize_t' undeclared (first use in this function)
1472 conftest.c:54:13: note: each undeclared identifier is reported only once for each function it appears in
1473 configure:4034: $? = 1
1474 configure: failed program was:
1475 | /* confdefs.h */
1476 | #define PACKAGE_NAME "libcoap"
1477 | #define PACKAGE_TARNAME "libcoap"
1478 | #define PACKAGE_VERSION "4.1.1"
1479 | #define PACKAGE_STRING "libcoap 4.1.1"
1480 | #define PACKAGE_BUGREPORT ""
1481 | #define PACKAGE_URL ""
1482 | #define STDC_HEADERS 1
1483 | #define HAVE_STDLIB_H 1
1484 | #define HAVE_STRING_H 1
1485 | #define HAVE_INTTYPES_H 1
1486 | #define HAVE_STDINT_H 1
1487 | #define HAVE_ASSERT_H 1
1488 | #define HAVE_LIMITS_H 1
1489 | #define HAVE_STDLIB_H 1
1490 | #define HAVE_STRING_H 1
1491 | /* end confdefs.h.  */
1492 | #include <stdio.h>
1493 | #ifdef HAVE_SYS_TYPES_H
1494 | # include <sys/types.h>
1495 | #endif
1496 | #ifdef HAVE_SYS_STAT_H
1497 | # include <sys/stat.h>
1498 | #endif
1499 | #ifdef STDC_HEADERS
1500 | # include <stdlib.h>
1501 | # include <stddef.h>
1502 | #else
1503 | # ifdef HAVE_STDLIB_H
1504 | #  include <stdlib.h>
1505 | # endif
1506 | #endif
1507 | #ifdef HAVE_STRING_H
1508 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1509 | #  include <memory.h>
1510 | # endif
1511 | # include <string.h>
1512 | #endif
1513 | #ifdef HAVE_STRINGS_H
1514 | # include <strings.h>
1515 | #endif
1516 | #ifdef HAVE_INTTYPES_H
1517 | # include <inttypes.h>
1518 | #endif
1519 | #ifdef HAVE_STDINT_H
1520 | # include <stdint.h>
1521 | #endif
1522 | #ifdef HAVE_UNISTD_H
1523 | # include <unistd.h>
1524 | #endif
1525 | int
1526 | main ()
1527 | {
1528 | if (sizeof (ssize_t))
1529 |        return 0;
1530 |   ;
1531 |   return 0;
1532 | }
1533 configure:4034: result: no
1534 configure:4049: checking for stdlib.h
1535 configure:4049: result: yes
1536 configure:4059: checking for GNU libc compatible malloc
1537 configure:4093: result: no
1538 configure:4117: checking for memset
1539 configure:4117: avr-gcc -o conftest -g -O2  -DWITH_POSIX  conftest.c  >&5
1540 conftest.c:45:6: warning: conflicting types for built-in function 'memset'
1541 configure:4117: $? = 0
1542 configure:4117: result: yes
1543 configure:4117: checking for select
1544 configure:4117: avr-gcc -o conftest -g -O2  -DWITH_POSIX  conftest.c  >&5
1545 /tmp/ccgkOSk6.o: In function `main':
1546 /home/sachin/gitrepos/peg_ccfl-core/libcoap-4.1.1/conftest.c:57: undefined reference to `select'
1547 collect2: ld returned 1 exit status
1548 configure:4117: $? = 1
1549 configure: failed program was:
1550 | /* confdefs.h */
1551 | #define PACKAGE_NAME "libcoap"
1552 | #define PACKAGE_TARNAME "libcoap"
1553 | #define PACKAGE_VERSION "4.1.1"
1554 | #define PACKAGE_STRING "libcoap 4.1.1"
1555 | #define PACKAGE_BUGREPORT ""
1556 | #define PACKAGE_URL ""
1557 | #define STDC_HEADERS 1
1558 | #define HAVE_STDLIB_H 1
1559 | #define HAVE_STRING_H 1
1560 | #define HAVE_INTTYPES_H 1
1561 | #define HAVE_STDINT_H 1
1562 | #define HAVE_ASSERT_H 1
1563 | #define HAVE_LIMITS_H 1
1564 | #define HAVE_STDLIB_H 1
1565 | #define HAVE_STRING_H 1
1566 | #define ssize_t int
1567 | #define HAVE_STDLIB_H 1
1568 | #define HAVE_MALLOC 0
1569 | #define malloc rpl_malloc
1570 | #define HAVE_MEMSET 1
1571 | /* end confdefs.h.  */
1572 | /* Define select to an innocuous variant, in case <limits.h> declares select.
1573 |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1574 | #define select innocuous_select
1575
1576 | /* System header to define __stub macros and hopefully few prototypes,
1577 |     which can conflict with char select (); below.
1578 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1579 |     <limits.h> exists even on freestanding compilers.  */
1580
1581 | #ifdef __STDC__
1582 | # include <limits.h>
1583 | #else
1584 | # include <assert.h>
1585 | #endif
1586
1587 | #undef select
1588
1589 | /* Override any GCC internal prototype to avoid an error.
1590 |    Use char because int might match the return type of a GCC
1591 |    builtin and then its argument prototype would still apply.  */
1592 | #ifdef __cplusplus
1593 | extern "C"
1594 | #endif
1595 | char select ();
1596 | /* The GNU C library defines this for functions which it implements
1597 |     to always fail with ENOSYS.  Some functions are actually named
1598 |     something starting with __ and the normal name is an alias.  */
1599 | #if defined __stub_select || defined __stub___select
1600 | choke me
1601 | #endif
1602
1603 | int
1604 | main ()
1605 | {
1606 | return select ();
1607 |   ;
1608 |   return 0;
1609 | }
1610 configure:4117: result: no
1611 configure:4117: checking for socket
1612 configure:4117: avr-gcc -o conftest -g -O2  -DWITH_POSIX  conftest.c  >&5
1613 /tmp/ccZCmbb9.o: In function `main':
1614 /home/sachin/gitrepos/peg_ccfl-core/libcoap-4.1.1/conftest.c:57: undefined reference to `socket'
1615 collect2: ld returned 1 exit status
1616 configure:4117: $? = 1
1617 configure: failed program was:
1618 | /* confdefs.h */
1619 | #define PACKAGE_NAME "libcoap"
1620 | #define PACKAGE_TARNAME "libcoap"
1621 | #define PACKAGE_VERSION "4.1.1"
1622 | #define PACKAGE_STRING "libcoap 4.1.1"
1623 | #define PACKAGE_BUGREPORT ""
1624 | #define PACKAGE_URL ""
1625 | #define STDC_HEADERS 1
1626 | #define HAVE_STDLIB_H 1
1627 | #define HAVE_STRING_H 1
1628 | #define HAVE_INTTYPES_H 1
1629 | #define HAVE_STDINT_H 1
1630 | #define HAVE_ASSERT_H 1
1631 | #define HAVE_LIMITS_H 1
1632 | #define HAVE_STDLIB_H 1
1633 | #define HAVE_STRING_H 1
1634 | #define ssize_t int
1635 | #define HAVE_STDLIB_H 1
1636 | #define HAVE_MALLOC 0
1637 | #define malloc rpl_malloc
1638 | #define HAVE_MEMSET 1
1639 | /* end confdefs.h.  */
1640 | /* Define socket to an innocuous variant, in case <limits.h> declares socket.
1641 |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1642 | #define socket innocuous_socket
1643
1644 | /* System header to define __stub macros and hopefully few prototypes,
1645 |     which can conflict with char socket (); below.
1646 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1647 |     <limits.h> exists even on freestanding compilers.  */
1648
1649 | #ifdef __STDC__
1650 | # include <limits.h>
1651 | #else
1652 | # include <assert.h>
1653 | #endif
1654
1655 | #undef socket
1656
1657 | /* Override any GCC internal prototype to avoid an error.
1658 |    Use char because int might match the return type of a GCC
1659 |    builtin and then its argument prototype would still apply.  */
1660 | #ifdef __cplusplus
1661 | extern "C"
1662 | #endif
1663 | char socket ();
1664 | /* The GNU C library defines this for functions which it implements
1665 |     to always fail with ENOSYS.  Some functions are actually named
1666 |     something starting with __ and the normal name is an alias.  */
1667 | #if defined __stub_socket || defined __stub___socket
1668 | choke me
1669 | #endif
1670
1671 | int
1672 | main ()
1673 | {
1674 | return socket ();
1675 |   ;
1676 |   return 0;
1677 | }
1678 configure:4117: result: no
1679 configure:4117: checking for strcasecmp
1680 configure:4117: avr-gcc -o conftest -g -O2  -DWITH_POSIX  conftest.c  >&5
1681 conftest.c:46:6: warning: conflicting types for built-in function 'strcasecmp'
1682 configure:4117: $? = 0
1683 configure:4117: result: yes
1684 configure:4117: checking for strrchr
1685 configure:4117: avr-gcc -o conftest -g -O2  -DWITH_POSIX  conftest.c  >&5
1686 conftest.c:47:6: warning: conflicting types for built-in function 'strrchr'
1687 configure:4117: $? = 0
1688 configure:4117: result: yes
1689 configure:4117: checking for getaddrinfo
1690 configure:4117: avr-gcc -o conftest -g -O2  -DWITH_POSIX  conftest.c  >&5
1691 /tmp/cca8ULN8.o: In function `main':
1692 /home/sachin/gitrepos/peg_ccfl-core/libcoap-4.1.1/conftest.c:59: undefined reference to `getaddrinfo'
1693 collect2: ld returned 1 exit status
1694 configure:4117: $? = 1
1695 configure: failed program was:
1696 | /* confdefs.h */
1697 | #define PACKAGE_NAME "libcoap"
1698 | #define PACKAGE_TARNAME "libcoap"
1699 | #define PACKAGE_VERSION "4.1.1"
1700 | #define PACKAGE_STRING "libcoap 4.1.1"
1701 | #define PACKAGE_BUGREPORT ""
1702 | #define PACKAGE_URL ""
1703 | #define STDC_HEADERS 1
1704 | #define HAVE_STDLIB_H 1
1705 | #define HAVE_STRING_H 1
1706 | #define HAVE_INTTYPES_H 1
1707 | #define HAVE_STDINT_H 1
1708 | #define HAVE_ASSERT_H 1
1709 | #define HAVE_LIMITS_H 1
1710 | #define HAVE_STDLIB_H 1
1711 | #define HAVE_STRING_H 1
1712 | #define ssize_t int
1713 | #define HAVE_STDLIB_H 1
1714 | #define HAVE_MALLOC 0
1715 | #define malloc rpl_malloc
1716 | #define HAVE_MEMSET 1
1717 | #define HAVE_STRCASECMP 1
1718 | #define HAVE_STRRCHR 1
1719 | /* end confdefs.h.  */
1720 | /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
1721 |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1722 | #define getaddrinfo innocuous_getaddrinfo
1723
1724 | /* System header to define __stub macros and hopefully few prototypes,
1725 |     which can conflict with char getaddrinfo (); below.
1726 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1727 |     <limits.h> exists even on freestanding compilers.  */
1728
1729 | #ifdef __STDC__
1730 | # include <limits.h>
1731 | #else
1732 | # include <assert.h>
1733 | #endif
1734
1735 | #undef getaddrinfo
1736
1737 | /* Override any GCC internal prototype to avoid an error.
1738 |    Use char because int might match the return type of a GCC
1739 |    builtin and then its argument prototype would still apply.  */
1740 | #ifdef __cplusplus
1741 | extern "C"
1742 | #endif
1743 | char getaddrinfo ();
1744 | /* The GNU C library defines this for functions which it implements
1745 |     to always fail with ENOSYS.  Some functions are actually named
1746 |     something starting with __ and the normal name is an alias.  */
1747 | #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
1748 | choke me
1749 | #endif
1750
1751 | int
1752 | main ()
1753 | {
1754 | return getaddrinfo ();
1755 |   ;
1756 |   return 0;
1757 | }
1758 configure:4117: result: no
1759 configure:4117: checking for strnlen
1760 configure:4117: avr-gcc -o conftest -g -O2  -DWITH_POSIX  conftest.c  >&5
1761 configure:4117: $? = 0
1762 configure:4117: result: yes
1763 configure:4250: creating ./config.status
1764
1765 ## ---------------------- ##
1766 ## Running config.status. ##
1767 ## ---------------------- ##
1768
1769 This file was extended by libcoap config.status 4.1.1, which was
1770 generated by GNU Autoconf 2.69.  Invocation command line was
1771
1772   CONFIG_FILES    = 
1773   CONFIG_HEADERS  = 
1774   CONFIG_LINKS    = 
1775   CONFIG_COMMANDS = 
1776   $ ./config.status 
1777
1778 on precious
1779
1780 config.status:814: creating Makefile
1781 config.status:814: creating doc/Makefile
1782 config.status:814: creating doc/Doxyfile
1783 config.status:800: error: cannot find input file: `examples/Makefile.in'
1784
1785 ## ---------------- ##
1786 ## Cache variables. ##
1787 ## ---------------- ##
1788
1789 ac_cv_c_bigendian=no
1790 ac_cv_c_compiler_gnu=yes
1791 ac_cv_env_CC_set=set
1792 ac_cv_env_CC_value=avr-gcc
1793 ac_cv_env_CFLAGS_set=
1794 ac_cv_env_CFLAGS_value=
1795 ac_cv_env_CPPFLAGS_set=
1796 ac_cv_env_CPPFLAGS_value=
1797 ac_cv_env_CPP_set=
1798 ac_cv_env_CPP_value=
1799 ac_cv_env_LDFLAGS_set=
1800 ac_cv_env_LDFLAGS_value=
1801 ac_cv_env_LIBS_set=
1802 ac_cv_env_LIBS_value=
1803 ac_cv_env_build_alias_set=
1804 ac_cv_env_build_alias_value=
1805 ac_cv_env_host_alias_set=set
1806 ac_cv_env_host_alias_value=avr
1807 ac_cv_env_target_alias_set=
1808 ac_cv_env_target_alias_value=
1809 ac_cv_func_getaddrinfo=no
1810 ac_cv_func_malloc_0_nonnull=no
1811 ac_cv_func_memset=yes
1812 ac_cv_func_select=no
1813 ac_cv_func_socket=no
1814 ac_cv_func_strcasecmp=yes
1815 ac_cv_func_strnlen=yes
1816 ac_cv_func_strrchr=yes
1817 ac_cv_header_arpa_inet_h=no
1818 ac_cv_header_assert_h=yes
1819 ac_cv_header_inttypes_h=yes
1820 ac_cv_header_limits_h=yes
1821 ac_cv_header_memory_h=no
1822 ac_cv_header_netdb_h=no
1823 ac_cv_header_netinet_in_h=no
1824 ac_cv_header_stdc=yes
1825 ac_cv_header_stdint_h=yes
1826 ac_cv_header_stdlib_h=yes
1827 ac_cv_header_string_h=yes
1828 ac_cv_header_strings_h=no
1829 ac_cv_header_sys_socket_h=no
1830 ac_cv_header_sys_stat_h=no
1831 ac_cv_header_sys_time_h=no
1832 ac_cv_header_sys_types_h=no
1833 ac_cv_header_sys_unistd_h=no
1834 ac_cv_header_syslog_h=no
1835 ac_cv_header_time_h=no
1836 ac_cv_header_unistd_h=no
1837 ac_cv_lib_coap_coap_new_pdu=no
1838 ac_cv_objext=o
1839 ac_cv_path_DOXYGEN=/usr/bin/doxygen
1840 ac_cv_path_EGREP='/bin/grep -E'
1841 ac_cv_path_ETAGS=/bin/false
1842 ac_cv_path_GREP=/bin/grep
1843 ac_cv_prog_CC=avr-gcc
1844 ac_cv_prog_CPP='avr-gcc -E'
1845 ac_cv_prog_RANLIB=avr-ranlib
1846 ac_cv_prog_cc_c89=
1847 ac_cv_prog_cc_g=yes
1848 ac_cv_prog_make_make_set=yes
1849 ac_cv_search_gethostbyname=no
1850 ac_cv_search_socket=no
1851 ac_cv_type_size_t=yes
1852 ac_cv_type_ssize_t=no
1853
1854 ## ----------------- ##
1855 ## Output variables. ##
1856 ## ----------------- ##
1857
1858 BUILD_SO=''
1859 CC='avr-gcc'
1860 CFLAGS='-g -O2'
1861 CPP='avr-gcc -E'
1862 CPPFLAGS=' -DWITH_POSIX'
1863 DEFS='-DHAVE_CONFIG_H'
1864 DOXYGEN='/usr/bin/doxygen'
1865 ECHO_C=''
1866 ECHO_N='-n'
1867 ECHO_T=''
1868 EGREP='/bin/grep -E'
1869 ETAGS='/bin/false'
1870 EXEEXT=''
1871 GREP='/bin/grep'
1872 LDFLAGS=''
1873 LIBOBJS=' ${LIBOBJDIR}malloc$U.o'
1874 LIBS=''
1875 LTLIBOBJS=' ${LIBOBJDIR}malloc$U.lo'
1876 OBJEXT='o'
1877 PACKAGE_BUGREPORT=''
1878 PACKAGE_NAME='libcoap'
1879 PACKAGE_STRING='libcoap 4.1.1'
1880 PACKAGE_TARNAME='libcoap'
1881 PACKAGE_URL=''
1882 PACKAGE_VERSION='4.1.1'
1883 PATH_SEPARATOR=':'
1884 RANLIB='avr-ranlib'
1885 SET_MAKE=''
1886 SHELL='/bin/bash'
1887 TESTS=''
1888 ac_ct_CC=''
1889 bindir='${exec_prefix}/bin'
1890 build_alias=''
1891 datadir='${datarootdir}'
1892 datarootdir='${prefix}/share'
1893 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1894 dvidir='${docdir}'
1895 exec_prefix='${prefix}'
1896 host_alias='avr'
1897 htmldir='${docdir}'
1898 includedir='${prefix}/include'
1899 infodir='${datarootdir}/info'
1900 libdir='${exec_prefix}/lib'
1901 libexecdir='${exec_prefix}/libexec'
1902 localedir='${datarootdir}/locale'
1903 localstatedir='${prefix}/var'
1904 mandir='${datarootdir}/man'
1905 oldincludedir='/usr/include'
1906 pdfdir='${docdir}'
1907 prefix='/usr/local'
1908 program_transform_name='s,x,x,'
1909 psdir='${docdir}'
1910 sbindir='${exec_prefix}/sbin'
1911 sharedstatedir='${prefix}/com'
1912 sysconfdir='${prefix}/etc'
1913 target_alias=''
1914
1915 ## ----------- ##
1916 ## confdefs.h. ##
1917 ## ----------- ##
1918
1919 /* confdefs.h */
1920 #define PACKAGE_NAME "libcoap"
1921 #define PACKAGE_TARNAME "libcoap"
1922 #define PACKAGE_VERSION "4.1.1"
1923 #define PACKAGE_STRING "libcoap 4.1.1"
1924 #define PACKAGE_BUGREPORT ""
1925 #define PACKAGE_URL ""
1926 #define STDC_HEADERS 1
1927 #define HAVE_STDLIB_H 1
1928 #define HAVE_STRING_H 1
1929 #define HAVE_INTTYPES_H 1
1930 #define HAVE_STDINT_H 1
1931 #define HAVE_ASSERT_H 1
1932 #define HAVE_LIMITS_H 1
1933 #define HAVE_STDLIB_H 1
1934 #define HAVE_STRING_H 1
1935 #define ssize_t int
1936 #define HAVE_STDLIB_H 1
1937 #define HAVE_MALLOC 0
1938 #define malloc rpl_malloc
1939 #define HAVE_MEMSET 1
1940 #define HAVE_STRCASECMP 1
1941 #define HAVE_STRRCHR 1
1942 #define HAVE_STRNLEN 1
1943
1944 configure: exit 1