- 论坛徽章:
- 0
|
make
make -f objs/Makefile
make[1]: Entering directory `/root/ncache'
gcc -c -O -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/pcre -I objs \
-o objs/src/core/nginx.o \
src/core/nginx.c
In file included from /usr/include/asm/sigcontext.h:4,
from /usr/include/asm-x86_64/processor.h:13,
from /usr/include/asm/processor.h:4,
from src/os/unix/atomic.h:11,
from src/os/unix/ngx_atomic.h:15,
from src/core/ngx_core.h:38,
from src/core/nginx.c:8:
/usr/include/asm-x86_64/sigcontext.h:9: error: redefinition of `struct _fpstate'
/usr/include/asm-x86_64/sigcontext.h:23: error: redefinition of `struct sigcontext'
In file included from /usr/include/asm/system.h:4,
from /usr/include/asm-x86_64/processor.h:19,
from /usr/include/asm/processor.h:4,
from src/os/unix/atomic.h:11,
from src/os/unix/ngx_atomic.h:15,
from src/core/ngx_core.h:38,
from src/core/nginx.c:8:
/usr/include/asm-x86_64/system.h: In function `__cmpxchg':
/usr/include/asm-x86_64/system.h:75: error: `LOCK_PREFIX' undeclared (first use in this function)
/usr/include/asm-x86_64/system.h:75: error: (Each undeclared identifier is reported only once
/usr/include/asm-x86_64/system.h:75: error: for each function it appears in.)
/usr/include/asm-x86_64/system.h:75: error: syntax error before string constant
/usr/include/asm-x86_64/system.h:81: error: syntax error before string constant
/usr/include/asm-x86_64/system.h:87: error: syntax error before string constant
/usr/include/asm-x86_64/system.h:93: error: syntax error before string constant
In file included from /usr/include/asm/processor.h:4,
from src/os/unix/atomic.h:11,
from src/os/unix/ngx_atomic.h:15,
from src/core/ngx_core.h:38,
from src/core/nginx.c:8:
/usr/include/asm-x86_64/processor.h: At top level:
/usr/include/asm-x86_64/processor.h:75: error: conflicting types for '____cacheline_aligned'
/usr/include/asm-x86_64/pda.h:25: error: previous declaration of '____cacheline_aligned' was here
/usr/include/asm-x86_64/processor.h:292: error: syntax error before "u16"
/usr/include/asm-x86_64/processor.h:294: error: syntax error before "twd"
/usr/include/asm-x86_64/processor.h:295: error: syntax error before "fop"
/usr/include/asm-x86_64/processor.h:296: error: syntax error before "rip"
/usr/include/asm-x86_64/processor.h:297: error: syntax error before "rdp"
/usr/include/asm-x86_64/processor.h:298: error: syntax error before "mxcsr"
/usr/include/asm-x86_64/processor.h:299: error: syntax error before "mxcsr_mask"
/usr/include/asm-x86_64/processor.h:300: error: syntax error before "st_space"
/usr/include/asm-x86_64/processor.h:301: error: syntax error before "xmm_space"
/usr/include/asm-x86_64/processor.h:302: error: syntax error before "padding"
/usr/include/asm-x86_64/processor.h:303: error: syntax error before '}' token
/usr/include/asm-x86_64/processor.h:306: error: field `fxsave' has incomplete type
/usr/include/asm-x86_64/processor.h:314: error: syntax error before "u32"
/usr/include/asm-x86_64/processor.h:316: error: syntax error before "rsp1"
/usr/include/asm-x86_64/processor.h:317: error: syntax error before "rsp2"
/usr/include/asm-x86_64/processor.h:318: error: syntax error before "reserved2"
/usr/include/asm-x86_64/processor.h:319: error: syntax error before "ist"
/usr/include/asm-x86_64/processor.h:320: error: syntax error before "reserved3"
/usr/include/asm-x86_64/processor.h:321: error: syntax error before "reserved4"
/usr/include/asm-x86_64/processor.h:322: error: syntax error before "reserved5"
/usr/include/asm-x86_64/processor.h:323: error: syntax error before "io_map_base"
/usr/include/asm-x86_64/processor.h:324: error: syntax error before "io_bitmap"
/usr/include/asm-x86_64/processor.h:325: error: syntax error before '}' token
/usr/include/asm-x86_64/processor.h:347: error: syntax error before "u32"
/usr/include/asm-x86_64/processor.h: In function `thread_saved_pc':
/usr/include/asm-x86_64/processor.h:396: error: dereferencing pointer to incomplete type
In file included from src/core/ngx_core.h:51,
from src/core/nginx.c:8:
src/core/ngx_palloc.h: At top level:
src/core/ngx_palloc.h:49: error: field `get_current' declared as a function
{standard input}: Assembler messages:
{standard input}:220: Warning: size of "____cacheline_aligned" is already 88; not changing to 136
make[1]: *** [objs/src/core/nginx.o] Error 1
make[1]: Leaving directory `/root/ncache'
make: *** [build] Error 2 |
|