Ticket #1548: autoconf.err

File autoconf.err, 15.8 KB (added by dinama@…, 8 years ago)
Line 
1
2
3----------------------------------------
4checking for C compiler
5
6
7----------------------------------------
8checking for -Wl,-E switch
9
10
11----------------------------------------
12checking for gcc builtin atomic operations
13
14
15----------------------------------------
16checking for C99 variadic macros
17
18
19----------------------------------------
20checking for gcc variadic macros
21
22
23----------------------------------------
24checking for gcc builtin 64 bit byteswap
25
26
27----------------------------------------
28checking for unistd.h
29
30
31----------------------------------------
32checking for inttypes.h
33
34
35----------------------------------------
36checking for limits.h
37
38
39----------------------------------------
40checking for sys/filio.h
41
42objs/autotest.c:3:10: fatal error: 'sys/filio.h' file not found
43#include <sys/filio.h>
44 ^~~~~~~~~~~~~
451 error generated.
46----------
47
48
49#include <sys/filio.h>
50
51int main(void) {
52 return 0;
53}
54
55----------
56cc -o objs/autotest objs/autotest.c
57----------
58
59----------------------------------------
60checking for sys/param.h
61
62
63----------------------------------------
64checking for sys/mount.h
65
66
67----------------------------------------
68checking for sys/statvfs.h
69
70
71----------------------------------------
72checking for crypt.h
73
74
75----------------------------------------
76checking for epoll
77
78
79----------------------------------------
80checking for EPOLLRDHUP
81
82
83----------------------------------------
84checking for EPOLLEXCLUSIVE
85
86
87----------------------------------------
88checking for O_PATH
89
90
91----------------------------------------
92checking for sendfile()
93
94
95----------------------------------------
96checking for sendfile64()
97
98
99----------------------------------------
100checking for sys/prctl.h
101
102
103----------------------------------------
104checking for prctl(PR_SET_DUMPABLE)
105
106
107----------------------------------------
108checking for prctl(PR_SET_KEEPCAPS)
109
110
111----------------------------------------
112checking for capabilities
113
114
115----------------------------------------
116checking for crypt_r()
117
118
119----------------------------------------
120checking for sys/vfs.h
121
122
123----------------------------------------
124checking for poll()
125
126
127----------------------------------------
128checking for /dev/poll
129
130objs/autotest.c:4:10: fatal error: 'sys/devpoll.h' file not found
131#include <sys/devpoll.h>
132 ^~~~~~~~~~~~~~~
1331 error generated.
134----------
135
136#include <sys/types.h>
137#include <unistd.h>
138#include <sys/devpoll.h>
139
140int main(void) {
141 int n, dp; struct dvpoll dvp;
142 dp = 0;
143 dvp.dp_fds = NULL;
144 dvp.dp_nfds = 0;
145 dvp.dp_timeout = 0;
146 n = ioctl(dp, DP_POLL, &dvp);
147 if (n == -1) return 1;
148 return 0;
149}
150
151----------
152cc -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
153----------
154
155----------------------------------------
156checking for kqueue
157
158objs/autotest.c:4:10: fatal error: 'sys/event.h' file not found
159#include <sys/event.h>
160 ^~~~~~~~~~~~~
1611 error generated.
162----------
163
164#include <sys/types.h>
165#include <unistd.h>
166#include <sys/event.h>
167
168int main(void) {
169 (void) kqueue();
170 return 0;
171}
172
173----------
174cc -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
175----------
176
177----------------------------------------
178checking for crypt()
179
180/tmp/autotest-1d7920.o: In function `main':
181autotest.c:(.text+0x24): undefined reference to `crypt'
182clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)
183----------
184
185#include <sys/types.h>
186#include <unistd.h>
187
188
189int main(void) {
190 crypt("test", "salt");;
191 return 0;
192}
193
194----------
195cc -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
196----------
197
198----------------------------------------
199checking for crypt() in libcrypt
200
201
202----------------------------------------
203checking for F_READAHEAD
204
205objs/autotest.c:7:14: error: use of undeclared identifier 'F_READAHEAD'
206 fcntl(0, F_READAHEAD, 1);;
207 ^
2081 error generated.
209----------
210
211#include <sys/types.h>
212#include <unistd.h>
213#include <fcntl.h>
214
215int main(void) {
216 fcntl(0, F_READAHEAD, 1);;
217 return 0;
218}
219
220----------
221cc -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
222----------
223
224----------------------------------------
225checking for posix_fadvise()
226
227
228----------------------------------------
229checking for O_DIRECT
230
231
232----------------------------------------
233checking for F_NOCACHE
234
235objs/autotest.c:7:14: error: use of undeclared identifier 'F_NOCACHE'
236 fcntl(0, F_NOCACHE, 1);;
237 ^
2381 error generated.
239----------
240
241#include <sys/types.h>
242#include <unistd.h>
243#include <fcntl.h>
244
245int main(void) {
246 fcntl(0, F_NOCACHE, 1);;
247 return 0;
248}
249
250----------
251cc -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
252----------
253
254----------------------------------------
255checking for directio()
256
257objs/autotest.c:8:5: warning: implicit declaration of function 'directio' is invalid in C99 [-Wimplicit-function-declaration]
258 directio(0, DIRECTIO_ON);;
259 ^
260objs/autotest.c:8:17: error: use of undeclared identifier 'DIRECTIO_ON'
261 directio(0, DIRECTIO_ON);;
262 ^
2631 warning and 1 error generated.
264----------
265
266#include <sys/types.h>
267#include <unistd.h>
268#include <sys/types.h>
269 #include <sys/fcntl.h>
270
271int main(void) {
272 directio(0, DIRECTIO_ON);;
273 return 0;
274}
275
276----------
277cc -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
278----------
279
280----------------------------------------
281checking for statfs()
282
283
284----------------------------------------
285checking for statvfs()
286
287
288----------------------------------------
289checking for dlopen()
290
291/tmp/autotest-596907.o: In function `main':
292autotest.c:(.text+0x19): undefined reference to `dlopen'
293autotest.c:(.text+0x30): undefined reference to `dlsym'
294clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)
295----------
296
297#include <sys/types.h>
298#include <unistd.h>
299#include <dlfcn.h>
300
301int main(void) {
302 dlopen(NULL, RTLD_NOW | RTLD_GLOBAL); dlsym(NULL, "");
303 return 0;
304}
305
306----------
307cc -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
308----------
309
310----------------------------------------
311checking for dlopen() in libdl
312
313
314----------------------------------------
315checking for sched_yield()
316
317
318----------------------------------------
319checking for sched_setaffinity()
320
321
322----------------------------------------
323checking for SO_SETFIB
324
325objs/autotest.c:7:31: error: use of undeclared identifier 'SO_SETFIB'
326 setsockopt(0, SOL_SOCKET, SO_SETFIB, NULL, 0);
327 ^
3281 error generated.
329----------
330
331#include <sys/types.h>
332#include <unistd.h>
333#include <sys/socket.h>
334
335int main(void) {
336 setsockopt(0, SOL_SOCKET, SO_SETFIB, NULL, 0);
337 return 0;
338}
339
340----------
341cc -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
342----------
343
344----------------------------------------
345checking for SO_REUSEPORT
346
347
348----------------------------------------
349checking for SO_ACCEPTFILTER
350
351objs/autotest.c:7:31: error: use of undeclared identifier 'SO_ACCEPTFILTER'
352 setsockopt(0, SOL_SOCKET, SO_ACCEPTFILTER, NULL, 0);
353 ^
3541 error generated.
355----------
356
357#include <sys/types.h>
358#include <unistd.h>
359#include <sys/socket.h>
360
361int main(void) {
362 setsockopt(0, SOL_SOCKET, SO_ACCEPTFILTER, NULL, 0);
363 return 0;
364}
365
366----------
367cc -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
368----------
369
370----------------------------------------
371checking for SO_BINDANY
372
373objs/autotest.c:7:31: error: use of undeclared identifier 'SO_BINDANY'
374 setsockopt(0, SOL_SOCKET, SO_BINDANY, NULL, 0);
375 ^
3761 error generated.
377----------
378
379#include <sys/types.h>
380#include <unistd.h>
381#include <sys/socket.h>
382
383int main(void) {
384 setsockopt(0, SOL_SOCKET, SO_BINDANY, NULL, 0);
385 return 0;
386}
387
388----------
389cc -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
390----------
391
392----------------------------------------
393checking for IP_TRANSPARENT
394
395
396----------------------------------------
397checking for IP_BINDANY
398
399objs/autotest.c:8:31: error: use of undeclared identifier 'IP_BINDANY'
400 setsockopt(0, IPPROTO_IP, IP_BINDANY, NULL, 0);
401 ^
4021 error generated.
403----------
404
405#include <sys/types.h>
406#include <unistd.h>
407#include <sys/socket.h>
408 #include <netinet/in.h>
409
410int main(void) {
411 setsockopt(0, IPPROTO_IP, IP_BINDANY, NULL, 0);
412 return 0;
413}
414
415----------
416cc -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
417----------
418
419----------------------------------------
420checking for IP_BIND_ADDRESS_NO_PORT
421
422
423----------------------------------------
424checking for IP_RECVDSTADDR
425
426objs/autotest.c:8:31: error: use of undeclared identifier 'IP_RECVDSTADDR'
427 setsockopt(0, IPPROTO_IP, IP_RECVDSTADDR, NULL, 0);
428 ^
4291 error generated.
430----------
431
432#include <sys/types.h>
433#include <unistd.h>
434#include <sys/socket.h>
435 #include <netinet/in.h>
436
437int main(void) {
438 setsockopt(0, IPPROTO_IP, IP_RECVDSTADDR, NULL, 0);
439 return 0;
440}
441
442----------
443cc -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
444----------
445
446----------------------------------------
447checking for IP_SENDSRCADDR
448
449objs/autotest.c:8:31: error: use of undeclared identifier 'IP_SENDSRCADDR'
450 setsockopt(0, IPPROTO_IP, IP_SENDSRCADDR, NULL, 0);
451 ^
4521 error generated.
453----------
454
455#include <sys/types.h>
456#include <unistd.h>
457#include <sys/socket.h>
458 #include <netinet/in.h>
459
460int main(void) {
461 setsockopt(0, IPPROTO_IP, IP_SENDSRCADDR, NULL, 0);
462 return 0;
463}
464
465----------
466cc -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
467----------
468
469----------------------------------------
470checking for IP_PKTINFO
471
472
473----------------------------------------
474checking for IPV6_RECVPKTINFO
475
476
477----------------------------------------
478checking for TCP_DEFER_ACCEPT
479
480
481----------------------------------------
482checking for TCP_KEEPIDLE
483
484
485----------------------------------------
486checking for TCP_FASTOPEN
487
488
489----------------------------------------
490checking for TCP_INFO
491
492
493----------------------------------------
494checking for accept4()
495
496
497----------------------------------------
498checking for eventfd()
499
500
501----------------------------------------
502checking for int size
503
504
505----------------------------------------
506checking for long size
507
508
509----------------------------------------
510checking for long long size
511
512
513----------------------------------------
514checking for void * size
515
516
517----------------------------------------
518checking for uint32_t
519
520
521----------------------------------------
522checking for uint64_t
523
524
525----------------------------------------
526checking for sig_atomic_t
527
528
529----------------------------------------
530checking for sig_atomic_t size
531
532
533----------------------------------------
534checking for socklen_t
535
536
537----------------------------------------
538checking for in_addr_t
539
540
541----------------------------------------
542checking for in_port_t
543
544
545----------------------------------------
546checking for rlim_t
547
548
549----------------------------------------
550checking for uintptr_t
551
552
553----------------------------------------
554checking for system byte ordering
555
556
557----------------------------------------
558checking for size_t size
559
560
561----------------------------------------
562checking for off_t size
563
564
565----------------------------------------
566checking for time_t size
567
568
569----------------------------------------
570checking for AF_INET6
571
572
573----------------------------------------
574checking for setproctitle()
575
576objs/autotest.c:7:5: warning: implicit declaration of function 'setproctitle' is invalid in C99 [-Wimplicit-function-declaration]
577 setproctitle("test");;
578 ^
5791 warning generated.
580/tmp/autotest-96b5c8.o: In function `main':
581autotest.c:(.text+0x1c): undefined reference to `setproctitle'
582clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)
583----------
584
585#include <sys/types.h>
586#include <unistd.h>
587#include <stdlib.h>
588
589int main(void) {
590 setproctitle("test");;
591 return 0;
592}
593
594----------
595cc -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
596----------
597
598----------------------------------------
599checking for pread()
600
601
602----------------------------------------
603checking for pwrite()
604
605
606----------------------------------------
607checking for pwritev()
608
609
610----------------------------------------
611checking for sys_nerr
612
613/tmp/autotest-50a2c9.o: In function `main':
614autotest.c:(.text+0x1c): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
615135
616----------------------------------------
617checking for localtime_r()
618
619
620----------------------------------------
621checking for clock_gettime(CLOCK_MONOTONIC)
622
623
624----------------------------------------
625checking for posix_memalign()
626
627
628----------------------------------------
629checking for memalign()
630
631
632----------------------------------------
633checking for mmap(MAP_ANON|MAP_SHARED)
634
635
636----------------------------------------
637checking for mmap("/dev/zero", MAP_SHARED)
638
639
640----------------------------------------
641checking for System V shared memory
642
643
644----------------------------------------
645checking for POSIX semaphores
646
647/tmp/autotest-cdb30b.o: In function `main':
648autotest.c:(.text+0x1b): undefined reference to `sem_init'
649autotest.c:(.text+0x39): undefined reference to `sem_destroy'
650clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)
651----------
652
653#include <sys/types.h>
654#include <unistd.h>
655#include <semaphore.h>
656
657int main(void) {
658 sem_t sem;
659 if (sem_init(&sem, 1, 0) == -1) return 1;
660 sem_destroy(&sem);;
661 return 0;
662}
663
664----------
665cc -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
666----------
667
668----------------------------------------
669checking for POSIX semaphores in libpthread
670
671
672----------------------------------------
673checking for struct msghdr.msg_control
674
675
676----------------------------------------
677checking for ioctl(FIONBIO)
678
679
680----------------------------------------
681checking for struct tm.tm_gmtoff
682
683
684----------------------------------------
685checking for struct dirent.d_namlen
686
687objs/autotest.c:8:29: error: no member named 'd_namlen' in 'struct dirent'; did you mean 'd_name'?
688 struct dirent dir; dir.d_namlen = 0;
689 ^~~~~~~~
690 d_name
691/usr/include/bits/dirent.h:33:10: note: 'd_name' declared here
692 char d_name[256]; /* We must not include limits.h! */
693 ^
694objs/autotest.c:8:38: error: array type 'char [256]' is not assignable
695 struct dirent dir; dir.d_namlen = 0;
696 ~~~~~~~~~~~~ ^
697objs/autotest.c:9:42: error: no member named 'd_namlen' in 'struct dirent'; did you mean 'd_name'?
698 printf("%d", (int) dir.d_namlen);
699 ^~~~~~~~
700 d_name
701/usr/include/bits/dirent.h:33:10: note: 'd_name' declared here
702 char d_name[256]; /* We must not include limits.h! */
703 ^
7043 errors generated.
705----------
706
707#include <sys/types.h>
708#include <unistd.h>
709#include <dirent.h>
710 #include <stdio.h>
711
712int main(void) {
713 struct dirent dir; dir.d_namlen = 0;
714 printf("%d", (int) dir.d_namlen);
715 return 0;
716}
717
718----------
719cc -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
720----------
721
722----------------------------------------
723checking for struct dirent.d_type
724
725
726----------------------------------------
727checking for sysconf(_SC_NPROCESSORS_ONLN)
728
729
730----------------------------------------
731checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE)
732
733
734----------------------------------------
735checking for openat(), fstatat()
736
737
738----------------------------------------
739checking for getaddrinfo()
740
741
742----------------------------------------
743checking for PCRE library
744
745
746----------------------------------------
747checking for PCRE JIT support
748
749
750----------------------------------------
751checking for zlib library
752