Skip to content

Commit d874d12

Browse files
committed
change ngx_log_error_coreall
1 parent 88cc4e8 commit d874d12

File tree

6 files changed

+120
-838
lines changed

6 files changed

+120
-838
lines changed

nginx-1.9.2/objs/Makefile

Lines changed: 5 additions & 692 deletions
Large diffs are not rendered by default.

nginx-1.9.2/objs/autoconf.err

Lines changed: 93 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ checking for limits.h
3535
----------------------------------------
3636
checking for sys/filio.h
3737

38-
objs/autotest.c:3:23: error: sys/filio.h: No such file or directory
38+
objs/autotest.c:3:23: fatal error: sys/filio.h: No such file or directory
39+
#include <sys/filio.h>
40+
^
41+
compilation terminated.
3942
----------
4043

4144

@@ -76,29 +79,6 @@ checking for EPOLLRDHUP
7679
----------------------------------------
7780
checking for O_PATH
7881

79-
objs/autotest.c: In function 'main':
80-
objs/autotest.c:10: error: 'O_PATH' undeclared (first use in this function)
81-
objs/autotest.c:10: error: (Each undeclared identifier is reported only once
82-
objs/autotest.c:10: error: for each function it appears in.)
83-
objs/autotest.c:11: error: 'AT_EMPTY_PATH' undeclared (first use in this function)
84-
----------
85-
86-
#include <sys/types.h>
87-
#include <unistd.h>
88-
#include <sys/types.h>
89-
#include <sys/stat.h>
90-
#include <fcntl.h>
91-
92-
int main() {
93-
int fd; struct stat sb;
94-
fd = openat(AT_FDCWD, ".", O_PATH|O_DIRECTORY|O_NOFOLLOW);
95-
if (fstatat(fd, "", &sb, AT_EMPTY_PATH) != 0) return 1;
96-
return 0;
97-
}
98-
99-
----------
100-
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
101-
----------
10282

10383
----------------------------------------
10484
checking for sendfile()
@@ -135,12 +115,10 @@ checking for poll()
135115
----------------------------------------
136116
checking for /dev/poll
137117

138-
objs/autotest.c:4:25: error: sys/devpoll.h: No such file or directory
139-
objs/autotest.c: In function 'main':
140-
objs/autotest.c:7: error: storage size of 'dvp' isn't known
141-
objs/autotest.c:12: error: 'DP_POLL' undeclared (first use in this function)
142-
objs/autotest.c:12: error: (Each undeclared identifier is reported only once
143-
objs/autotest.c:12: error: for each function it appears in.)
118+
objs/autotest.c:4:25: fatal error: sys/devpoll.h: No such file or directory
119+
#include <sys/devpoll.h>
120+
^
121+
compilation terminated.
144122
----------
145123

146124
#include <sys/types.h>
@@ -165,7 +143,10 @@ cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
165143
----------------------------------------
166144
checking for kqueue
167145

168-
objs/autotest.c:4:23: error: sys/event.h: No such file or directory
146+
objs/autotest.c:4:23: fatal error: sys/event.h: No such file or directory
147+
#include <sys/event.h>
148+
^
149+
compilation terminated.
169150
----------
170151

171152
#include <sys/types.h>
@@ -184,9 +165,9 @@ cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
184165
----------------------------------------
185166
checking for crypt()
186167

187-
/tmp/ccXI9IB5.o: In function `main':
168+
/tmp/cc3AHPen.o: In function `main':
188169
autotest.c:(.text+0xf): undefined reference to `crypt'
189-
collect2: ld returned 1 exit status
170+
collect2: error: ld returned 1 exit status
190171
----------
191172

192173
#include <sys/types.h>
@@ -210,9 +191,10 @@ checking for crypt() in libcrypt
210191
checking for F_READAHEAD
211192

212193
objs/autotest.c: In function 'main':
213-
objs/autotest.c:7: error: 'F_READAHEAD' undeclared (first use in this function)
214-
objs/autotest.c:7: error: (Each undeclared identifier is reported only once
215-
objs/autotest.c:7: error: for each function it appears in.)
194+
objs/autotest.c:7:14: error: 'F_READAHEAD' undeclared (first use in this function)
195+
fcntl(0, F_READAHEAD, 1);;
196+
^
197+
objs/autotest.c:7:14: note: each undeclared identifier is reported only once for each function it appears in
216198
----------
217199

218200
#include <sys/types.h>
@@ -240,9 +222,10 @@ checking for O_DIRECT
240222
checking for F_NOCACHE
241223

242224
objs/autotest.c: In function 'main':
243-
objs/autotest.c:7: error: 'F_NOCACHE' undeclared (first use in this function)
244-
objs/autotest.c:7: error: (Each undeclared identifier is reported only once
245-
objs/autotest.c:7: error: for each function it appears in.)
225+
objs/autotest.c:7:14: error: 'F_NOCACHE' undeclared (first use in this function)
226+
fcntl(0, F_NOCACHE, 1);;
227+
^
228+
objs/autotest.c:7:14: note: each undeclared identifier is reported only once for each function it appears in
246229
----------
247230

248231
#include <sys/types.h>
@@ -262,9 +245,10 @@ cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
262245
checking for directio()
263246

264247
objs/autotest.c: In function 'main':
265-
objs/autotest.c:8: error: 'DIRECTIO_ON' undeclared (first use in this function)
266-
objs/autotest.c:8: error: (Each undeclared identifier is reported only once
267-
objs/autotest.c:8: error: for each function it appears in.)
248+
objs/autotest.c:8:17: error: 'DIRECTIO_ON' undeclared (first use in this function)
249+
directio(0, DIRECTIO_ON);;
250+
^
251+
objs/autotest.c:8:17: note: each undeclared identifier is reported only once for each function it appears in
268252
----------
269253

270254
#include <sys/types.h>
@@ -292,9 +276,9 @@ checking for statvfs()
292276
----------------------------------------
293277
checking for dlopen()
294278

295-
/tmp/ccaWkCPG.o: In function `main':
279+
/tmp/ccdXKB8A.o: In function `main':
296280
autotest.c:(.text+0xf): undefined reference to `dlopen'
297-
collect2: ld returned 1 exit status
281+
collect2: error: ld returned 1 exit status
298282
----------
299283

300284
#include <sys/types.h>
@@ -322,9 +306,10 @@ checking for sched_yield()
322306
checking for SO_SETFIB
323307

324308
objs/autotest.c: In function 'main':
325-
objs/autotest.c:7: error: 'SO_SETFIB' undeclared (first use in this function)
326-
objs/autotest.c:7: error: (Each undeclared identifier is reported only once
327-
objs/autotest.c:7: error: for each function it appears in.)
309+
objs/autotest.c:7:31: error: 'SO_SETFIB' undeclared (first use in this function)
310+
setsockopt(0, SOL_SOCKET, SO_SETFIB, NULL, 0);
311+
^
312+
objs/autotest.c:7:31: note: each undeclared identifier is reported only once for each function it appears in
328313
----------
329314

330315
#include <sys/types.h>
@@ -348,9 +333,10 @@ checking for SO_REUSEPORT
348333
checking for SO_ACCEPTFILTER
349334

350335
objs/autotest.c: In function 'main':
351-
objs/autotest.c:7: error: 'SO_ACCEPTFILTER' undeclared (first use in this function)
352-
objs/autotest.c:7: error: (Each undeclared identifier is reported only once
353-
objs/autotest.c:7: error: for each function it appears in.)
336+
objs/autotest.c:7:31: error: 'SO_ACCEPTFILTER' undeclared (first use in this function)
337+
setsockopt(0, SOL_SOCKET, SO_ACCEPTFILTER, NULL, 0);
338+
^
339+
objs/autotest.c:7:31: note: each undeclared identifier is reported only once for each function it appears in
354340
----------
355341

356342
#include <sys/types.h>
@@ -377,26 +363,6 @@ checking for TCP_KEEPIDLE
377363
----------------------------------------
378364
checking for TCP_FASTOPEN
379365

380-
objs/autotest.c: In function 'main':
381-
objs/autotest.c:9: error: 'TCP_FASTOPEN' undeclared (first use in this function)
382-
objs/autotest.c:9: error: (Each undeclared identifier is reported only once
383-
objs/autotest.c:9: error: for each function it appears in.)
384-
----------
385-
386-
#include <sys/types.h>
387-
#include <unistd.h>
388-
#include <sys/socket.h>
389-
#include <netinet/in.h>
390-
#include <netinet/tcp.h>
391-
392-
int main() {
393-
setsockopt(0, IPPROTO_TCP, TCP_FASTOPEN, NULL, 0);
394-
return 0;
395-
}
396-
397-
----------
398-
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c
399-
----------
400366

401367
----------------------------------------
402368
checking for TCP_INFO
@@ -410,9 +376,10 @@ checking for accept4()
410376
checking for kqueue AIO support
411377

412378
objs/autotest.c: In function 'main':
413-
objs/autotest.c:8: error: 'SIGEV_KEVENT' undeclared (first use in this function)
414-
objs/autotest.c:8: error: (Each undeclared identifier is reported only once
415-
objs/autotest.c:8: error: for each function it appears in.)
379+
objs/autotest.c:8:56: error: 'SIGEV_KEVENT' undeclared (first use in this function)
380+
iocb.aio_sigevent.sigev_notify = SIGEV_KEVENT;
381+
^
382+
objs/autotest.c:8:56: note: each undeclared identifier is reported only once for each function it appears in
416383
----------
417384

418385
#include <sys/types.h>
@@ -497,9 +464,9 @@ checking for time_t size
497464
----------------------------------------
498465
checking for setproctitle()
499466

500-
/tmp/ccs4eRzB.o: In function `main':
467+
/tmp/cc3I4bFz.o: In function `main':
501468
autotest.c:(.text+0xf): undefined reference to `setproctitle'
502-
collect2: ld returned 1 exit status
469+
collect2: error: ld returned 1 exit status
503470
----------
504471

505472
#include <sys/types.h>
@@ -526,7 +493,7 @@ checking for pwrite()
526493
----------------------------------------
527494
checking for sys_nerr
528495

529-
/tmp/ccAWbcIQ.o: In function `main':
496+
/tmp/ccaYkSqx.o: In function `main':
530497
autotest.c:(.text+0x6): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
531498
135
532499
----------------------------------------
@@ -556,10 +523,10 @@ checking for System V shared memory
556523
----------------------------------------
557524
checking for POSIX semaphores
558525

559-
/tmp/ccDI4Ali.o: In function `main':
526+
/tmp/ccsx9buP.o: In function `main':
560527
autotest.c:(.text+0x1a): undefined reference to `sem_init'
561528
autotest.c:(.text+0x32): undefined reference to `sem_destroy'
562-
collect2: ld returned 1 exit status
529+
collect2: error: ld returned 1 exit status
563530
----------
564531

565532
#include <sys/types.h>
@@ -597,8 +564,12 @@ checking for struct tm.tm_gmtoff
597564
checking for struct dirent.d_namlen
598565

599566
objs/autotest.c: In function 'main':
600-
objs/autotest.c:8: error: 'struct dirent' has no member named 'd_namlen'
601-
objs/autotest.c:9: error: 'struct dirent' has no member named 'd_namlen'
567+
objs/autotest.c:8:28: error: 'struct dirent' has no member named 'd_namlen'
568+
struct dirent dir; dir.d_namlen = 0;
569+
^
570+
objs/autotest.c:9:41: error: 'struct dirent' has no member named 'd_namlen'
571+
printf("%d", (int) dir.d_namlen);
572+
^
602573
----------
603574

604575
#include <sys/types.h>
@@ -633,67 +604,87 @@ checking for getaddrinfo()
633604

634605

635606
----------------------------------------
636-
checking for LuaJIT library in /usr/local/lib and /usr/local/include/luajit-2.0 (specified by the LUAJIT_LIB and LUAJIT_INC env, with -ldl)
607+
checking for PCRE library
637608

638609

639610
----------------------------------------
640-
checking for export symbols by default (-E)
611+
checking for PCRE JIT support
641612

642613

643614
----------------------------------------
644-
checking for export symbols by default (--export-all-symbols)
615+
checking for md5 in system md library
645616

646-
/usr/bin/ld: unrecognized option '--export-all-symbols'
647-
/usr/bin/ld: use the --help option for usage information
648-
collect2: ld returned 1 exit status
617+
objs/autotest.c:4:17: fatal error: md5.h: No such file or directory
618+
#include <md5.h>
619+
^
620+
compilation terminated.
649621
----------
650622

651623
#include <sys/types.h>
652624
#include <unistd.h>
653-
#include <stdio.h>
625+
#include <md5.h>
654626

655627
int main() {
656-
printf("hello");;
628+
MD5_CTX md5; MD5Init(&md5);
657629
return 0;
658630
}
659631

660632
----------
661-
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -Wl,--export-all-symbols
633+
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -lmd
662634
----------
663635

664636
----------------------------------------
665-
checking for SO_PASSCRED
637+
checking for md5 in system md5 library
638+
639+
objs/autotest.c:4:17: fatal error: md5.h: No such file or directory
640+
#include <md5.h>
641+
^
642+
compilation terminated.
643+
----------
644+
645+
#include <sys/types.h>
646+
#include <unistd.h>
647+
#include <md5.h>
666648

649+
int main() {
650+
MD5_CTX md5; MD5Init(&md5);
651+
return 0;
652+
}
653+
654+
----------
655+
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -lmd5
656+
----------
667657

668658
----------------------------------------
669-
checking for PCRE library
659+
checking for md5 in system OpenSSL crypto library
670660

671661

672662
----------------------------------------
673-
checking for PCRE JIT support
663+
checking for sha1 in system md library
674664

675-
objs/autotest.c: In function 'main':
676-
objs/autotest.c:9: error: 'PCRE_CONFIG_JIT' undeclared (first use in this function)
677-
objs/autotest.c:9: error: (Each undeclared identifier is reported only once
678-
objs/autotest.c:9: error: for each function it appears in.)
665+
objs/autotest.c:4:17: fatal error: sha.h: No such file or directory
666+
#include <sha.h>
667+
^
668+
compilation terminated.
679669
----------
680670

681671
#include <sys/types.h>
682672
#include <unistd.h>
683-
#include <pcre.h>
673+
#include <sha.h>
684674

685675
int main() {
686-
int jit = 0;
687-
pcre_free_study(NULL);
688-
pcre_config(PCRE_CONFIG_JIT, &jit);
689-
if (jit != 1) return 1;;
676+
SHA_CTX sha1; SHA1_Init(&sha1);
690677
return 0;
691678
}
692679

693680
----------
694-
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -lpcre
681+
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -lmd
695682
----------
696683

684+
----------------------------------------
685+
checking for sha1 in system OpenSSL crypto library
686+
687+
697688
----------------------------------------
698689
checking for zlib library
699690

nginx-1.9.2/objs/nginx

-9.16 MB
Binary file not shown.

0 commit comments

Comments
 (0)