forked from 1664011697/nginx-1.14.0-research
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautoconf.err
827 lines (553 loc) · 18.3 KB
/
autoconf.err
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
----------------------------------------
checking for C compiler
----------------------------------------
checking for gcc -pipe switch
----------------------------------------
checking for -Wl,-E switch
----------------------------------------
checking for gcc builtin atomic operations
----------------------------------------
checking for C99 variadic macros
----------------------------------------
checking for gcc variadic macros
----------------------------------------
checking for gcc builtin 64 bit byteswap
----------------------------------------
checking for unistd.h
----------------------------------------
checking for inttypes.h
----------------------------------------
checking for limits.h
----------------------------------------
checking for sys/filio.h
objs/autotest.c:3:23: error: sys/filio.h: No such file or directory
----------
#include <sys/filio.h>
int main(void) {
return 0;
}
----------
cc -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for sys/param.h
----------------------------------------
checking for sys/mount.h
----------------------------------------
checking for sys/statvfs.h
----------------------------------------
checking for crypt.h
----------------------------------------
checking for epoll
----------------------------------------
checking for EPOLLRDHUP
----------------------------------------
checking for EPOLLEXCLUSIVE
objs/autotest.c: In function 'main':
objs/autotest.c:9: error: 'EPOLLEXCLUSIVE' undeclared (first use in this function)
objs/autotest.c:9: error: (Each undeclared identifier is reported only once
objs/autotest.c:9: error: for each function it appears in.)
----------
#include <sys/types.h>
#include <unistd.h>
#include <sys/epoll.h>
int main(void) {
int efd = 0, fd = 0;
struct epoll_event ee;
ee.events = EPOLLIN|EPOLLEXCLUSIVE;
ee.data.ptr = NULL;
epoll_ctl(efd, EPOLL_CTL_ADD, fd, &ee);
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for O_PATH
objs/autotest.c: In function 'main':
objs/autotest.c:10: error: 'O_PATH' undeclared (first use in this function)
objs/autotest.c:10: error: (Each undeclared identifier is reported only once
objs/autotest.c:10: error: for each function it appears in.)
objs/autotest.c:11: error: 'AT_EMPTY_PATH' undeclared (first use in this function)
----------
#include <sys/types.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
int main(void) {
int fd; struct stat sb;
fd = openat(AT_FDCWD, ".", O_PATH|O_DIRECTORY|O_NOFOLLOW);
if (fstatat(fd, "", &sb, AT_EMPTY_PATH) != 0) return 1;
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for sendfile()
----------------------------------------
checking for sendfile64()
----------------------------------------
checking for sys/prctl.h
----------------------------------------
checking for prctl(PR_SET_DUMPABLE)
----------------------------------------
checking for prctl(PR_SET_KEEPCAPS)
----------------------------------------
checking for capabilities
----------------------------------------
checking for crypt_r()
----------------------------------------
checking for sys/vfs.h
----------------------------------------
checking for poll()
----------------------------------------
checking for /dev/poll
objs/autotest.c:4:25: error: sys/devpoll.h: No such file or directory
objs/autotest.c: In function 'main':
objs/autotest.c:7: error: storage size of 'dvp' isn't known
objs/autotest.c:12: error: 'DP_POLL' undeclared (first use in this function)
objs/autotest.c:12: error: (Each undeclared identifier is reported only once
objs/autotest.c:12: error: for each function it appears in.)
----------
#include <sys/types.h>
#include <unistd.h>
#include <sys/devpoll.h>
int main(void) {
int n, dp; struct dvpoll dvp;
dp = 0;
dvp.dp_fds = NULL;
dvp.dp_nfds = 0;
dvp.dp_timeout = 0;
n = ioctl(dp, DP_POLL, &dvp);
if (n == -1) return 1;
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for kqueue
objs/autotest.c:4:23: error: sys/event.h: No such file or directory
----------
#include <sys/types.h>
#include <unistd.h>
#include <sys/event.h>
int main(void) {
(void) kqueue();
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for crypt()
/tmp/cc5vw73N.o: In function `main':
autotest.c:(.text+0xf): undefined reference to `crypt'
collect2: ld returned 1 exit status
----------
#include <sys/types.h>
#include <unistd.h>
int main(void) {
crypt("test", "salt");;
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for crypt() in libcrypt
----------------------------------------
checking for F_READAHEAD
objs/autotest.c: In function 'main':
objs/autotest.c:7: error: 'F_READAHEAD' undeclared (first use in this function)
objs/autotest.c:7: error: (Each undeclared identifier is reported only once
objs/autotest.c:7: error: for each function it appears in.)
----------
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
int main(void) {
fcntl(0, F_READAHEAD, 1);;
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for posix_fadvise()
----------------------------------------
checking for O_DIRECT
----------------------------------------
checking for F_NOCACHE
objs/autotest.c: In function 'main':
objs/autotest.c:7: error: 'F_NOCACHE' undeclared (first use in this function)
objs/autotest.c:7: error: (Each undeclared identifier is reported only once
objs/autotest.c:7: error: for each function it appears in.)
----------
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
int main(void) {
fcntl(0, F_NOCACHE, 1);;
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for directio()
objs/autotest.c: In function 'main':
objs/autotest.c:8: error: 'DIRECTIO_ON' undeclared (first use in this function)
objs/autotest.c:8: error: (Each undeclared identifier is reported only once
objs/autotest.c:8: error: for each function it appears in.)
----------
#include <sys/types.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/fcntl.h>
int main(void) {
directio(0, DIRECTIO_ON);;
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for statfs()
----------------------------------------
checking for statvfs()
----------------------------------------
checking for dlopen()
/tmp/ccIV1yI4.o: In function `main':
autotest.c:(.text+0xf): undefined reference to `dlopen'
autotest.c:(.text+0x21): undefined reference to `dlsym'
collect2: ld returned 1 exit status
----------
#include <sys/types.h>
#include <unistd.h>
#include <dlfcn.h>
int main(void) {
dlopen(NULL, RTLD_NOW | RTLD_GLOBAL); dlsym(NULL, "");
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for dlopen() in libdl
----------------------------------------
checking for sched_yield()
----------------------------------------
checking for sched_setaffinity()
----------------------------------------
checking for SO_SETFIB
objs/autotest.c: In function 'main':
objs/autotest.c:7: error: 'SO_SETFIB' undeclared (first use in this function)
objs/autotest.c:7: error: (Each undeclared identifier is reported only once
objs/autotest.c:7: error: for each function it appears in.)
----------
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
int main(void) {
setsockopt(0, SOL_SOCKET, SO_SETFIB, NULL, 0);
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for SO_REUSEPORT
----------------------------------------
checking for SO_ACCEPTFILTER
objs/autotest.c: In function 'main':
objs/autotest.c:7: error: 'SO_ACCEPTFILTER' undeclared (first use in this function)
objs/autotest.c:7: error: (Each undeclared identifier is reported only once
objs/autotest.c:7: error: for each function it appears in.)
----------
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
int main(void) {
setsockopt(0, SOL_SOCKET, SO_ACCEPTFILTER, NULL, 0);
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for SO_BINDANY
objs/autotest.c: In function 'main':
objs/autotest.c:7: error: 'SO_BINDANY' undeclared (first use in this function)
objs/autotest.c:7: error: (Each undeclared identifier is reported only once
objs/autotest.c:7: error: for each function it appears in.)
----------
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
int main(void) {
setsockopt(0, SOL_SOCKET, SO_BINDANY, NULL, 0);
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for IP_TRANSPARENT
----------------------------------------
checking for IP_BINDANY
objs/autotest.c: In function 'main':
objs/autotest.c:8: error: 'IP_BINDANY' undeclared (first use in this function)
objs/autotest.c:8: error: (Each undeclared identifier is reported only once
objs/autotest.c:8: error: for each function it appears in.)
----------
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
int main(void) {
setsockopt(0, IPPROTO_IP, IP_BINDANY, NULL, 0);
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for IP_BIND_ADDRESS_NO_PORT
objs/autotest.c: In function 'main':
objs/autotest.c:8: error: 'IP_BIND_ADDRESS_NO_PORT' undeclared (first use in this function)
objs/autotest.c:8: error: (Each undeclared identifier is reported only once
objs/autotest.c:8: error: for each function it appears in.)
----------
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
int main(void) {
setsockopt(0, IPPROTO_IP, IP_BIND_ADDRESS_NO_PORT, NULL, 0);
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for IP_RECVDSTADDR
objs/autotest.c: In function 'main':
objs/autotest.c:8: error: 'IP_RECVDSTADDR' undeclared (first use in this function)
objs/autotest.c:8: error: (Each undeclared identifier is reported only once
objs/autotest.c:8: error: for each function it appears in.)
----------
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
int main(void) {
setsockopt(0, IPPROTO_IP, IP_RECVDSTADDR, NULL, 0);
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for IP_SENDSRCADDR
objs/autotest.c: In function 'main':
objs/autotest.c:8: error: 'IP_SENDSRCADDR' undeclared (first use in this function)
objs/autotest.c:8: error: (Each undeclared identifier is reported only once
objs/autotest.c:8: error: for each function it appears in.)
----------
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
int main(void) {
setsockopt(0, IPPROTO_IP, IP_SENDSRCADDR, NULL, 0);
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for IP_PKTINFO
----------------------------------------
checking for IPV6_RECVPKTINFO
----------------------------------------
checking for TCP_DEFER_ACCEPT
----------------------------------------
checking for TCP_KEEPIDLE
----------------------------------------
checking for TCP_FASTOPEN
objs/autotest.c: In function 'main':
objs/autotest.c:9: error: 'TCP_FASTOPEN' undeclared (first use in this function)
objs/autotest.c:9: error: (Each undeclared identifier is reported only once
objs/autotest.c:9: error: for each function it appears in.)
----------
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
int main(void) {
setsockopt(0, IPPROTO_TCP, TCP_FASTOPEN, NULL, 0);
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for TCP_INFO
----------------------------------------
checking for accept4()
----------------------------------------
checking for eventfd()
----------------------------------------
checking for int size
----------------------------------------
checking for long size
----------------------------------------
checking for long long size
----------------------------------------
checking for void * size
----------------------------------------
checking for uint32_t
----------------------------------------
checking for uint64_t
----------------------------------------
checking for sig_atomic_t
----------------------------------------
checking for sig_atomic_t size
----------------------------------------
checking for socklen_t
----------------------------------------
checking for in_addr_t
----------------------------------------
checking for in_port_t
----------------------------------------
checking for rlim_t
----------------------------------------
checking for uintptr_t
----------------------------------------
checking for system byte ordering
----------------------------------------
checking for size_t size
----------------------------------------
checking for off_t size
----------------------------------------
checking for time_t size
----------------------------------------
checking for AF_INET6
----------------------------------------
checking for setproctitle()
/tmp/cces4cVr.o: In function `main':
autotest.c:(.text+0xf): undefined reference to `setproctitle'
collect2: ld returned 1 exit status
----------
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
int main(void) {
setproctitle("test");;
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for pread()
----------------------------------------
checking for pwrite()
----------------------------------------
checking for pwritev()
----------------------------------------
checking for sys_nerr
/tmp/ccP4E1HB.o: In function `main':
autotest.c:(.text+0x6): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
135
----------------------------------------
checking for localtime_r()
----------------------------------------
checking for clock_gettime(CLOCK_MONOTONIC)
/tmp/ccgvGtzK.o: In function `main':
autotest.c:(.text+0x15): undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
----------
#include <sys/types.h>
#include <unistd.h>
#include <time.h>
int main(void) {
struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts);
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for clock_gettime(CLOCK_MONOTONIC) in librt
----------------------------------------
checking for posix_memalign()
----------------------------------------
checking for memalign()
----------------------------------------
checking for mmap(MAP_ANON|MAP_SHARED)
----------------------------------------
checking for mmap("/dev/zero", MAP_SHARED)
----------------------------------------
checking for System V shared memory
----------------------------------------
checking for POSIX semaphores
/tmp/ccw0ADG0.o: In function `main':
autotest.c:(.text+0x1a): undefined reference to `sem_init'
autotest.c:(.text+0x32): undefined reference to `sem_destroy'
collect2: ld returned 1 exit status
----------
#include <sys/types.h>
#include <unistd.h>
#include <semaphore.h>
int main(void) {
sem_t sem;
if (sem_init(&sem, 1, 0) == -1) return 1;
sem_destroy(&sem);;
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for POSIX semaphores in libpthread
----------------------------------------
checking for struct msghdr.msg_control
----------------------------------------
checking for ioctl(FIONBIO)
----------------------------------------
checking for struct tm.tm_gmtoff
----------------------------------------
checking for struct dirent.d_namlen
objs/autotest.c: In function 'main':
objs/autotest.c:8: error: 'struct dirent' has no member named 'd_namlen'
objs/autotest.c:9: error: 'struct dirent' has no member named 'd_namlen'
----------
#include <sys/types.h>
#include <unistd.h>
#include <dirent.h>
#include <stdio.h>
int main(void) {
struct dirent dir; dir.d_namlen = 0;
printf("%d", (int) dir.d_namlen);
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
----------
----------------------------------------
checking for struct dirent.d_type
----------------------------------------
checking for sysconf(_SC_NPROCESSORS_ONLN)
----------------------------------------
checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE)
----------------------------------------
checking for openat(), fstatat()
----------------------------------------
checking for getaddrinfo()
----------------------------------------
checking for zlib library