Welcome! Log In Create A New Profile

Advanced

Nginx 1.4.3 make fail !

Posted by yangcm 
Nginx 1.4.3 make fail !
October 12, 2013 05:46AM
HI

cc -c -I src/core -I src/event -I src/event/modules -I src/os/unix -I /wapapp/nginx-install/pcre-8.33 -I /wapapp/nginx-install/zlib-1.2.5 -I objs \
-o objs/src/core/nginx.o \
src/core/nginx.c
"src/os/unix/ngx_atomic.h", line 277: error #2020: identifier "inline" is
undefined
static ngx_inline ngx_atomic_uint_t
^

"src/os/unix/ngx_atomic.h", line 277: error #2101: "ngx_atomic_uint_t" has
already been declared in the current scope
static ngx_inline ngx_atomic_uint_t
^

"src/os/unix/ngx_atomic.h", line 278: error #2065: expected a ";"
ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old,
^

"src/os/unix/ngx_atomic.h", line 307: warning #2012-D: parsing restarts here
after previous syntax error
void ngx_spinlock(ngx_atomic_t *lock, ngx_atomic_int_t value, ngx_uint_t spin);
^

"src/core/ngx_rbtree.h", line 73: error #2020: identifier "inline" is undefined
static ngx_inline ngx_rbtree_node_t *
^

"src/core/ngx_rbtree.h", line 73: error #2101: "ngx_rbtree_node_t" has already
been declared in the current scope
static ngx_inline ngx_rbtree_node_t *
^

"src/core/ngx_rbtree.h", line 73: error #2065: expected a ";"
static ngx_inline ngx_rbtree_node_t *
^

"src/os/unix/ngx_time.h", line 16: warning #2012-D: parsing restarts here
after previous syntax error
typedef ngx_rbtree_key_t ngx_msec_t;
^

"src/core/ngx_string.h", line 65: error #2020: identifier "inline" is undefined
static ngx_inline u_char *
^

"src/core/ngx_string.h", line 65: error #2101: "u_char" has already been
declared in the current scope
static ngx_inline u_char *
^

"src/core/ngx_string.h", line 65: error #2065: expected a ";"
static ngx_inline u_char *
^

"src/core/ngx_string.h", line 147: warning #2012-D: parsing restarts here
after previous syntax error
u_char *ngx_cpystrn(u_char *dst, u_char *src, size_t n);
^

"src/core/ngx_string.h", line 148: error #2757: variable "u_char" is not a
type name
u_char *ngx_pstrdup(ngx_pool_t *pool, ngx_str_t *src);
^

"src/core/ngx_string.h", line 149: error #2757: variable "u_char" is not a
type name
u_char * ngx_cdecl ngx_sprintf(u_char *buf, const char *fmt, ...);
^

"src/core/ngx_string.h", line 149: error #2757: variable "u_char" is not a
type name
u_char * ngx_cdecl ngx_sprintf(u_char *buf, const char *fmt, ...);
^

"src/core/ngx_string.h", line 150: error #2757: variable "u_char" is not a
type name
u_char * ngx_cdecl ngx_snprintf(u_char *buf, size_t max, const char *fmt, ...);
^

"src/core/ngx_string.h", line 150: error #2757: variable "u_char" is not a
type name
u_char * ngx_cdecl ngx_snprintf(u_char *buf, size_t max, const char *fmt, ...);
^

"src/core/ngx_string.h", line 151: error #2757: variable "u_char" is not a
type name
u_char * ngx_cdecl ngx_slprintf(u_char *buf, u_char *last, const char *fmt,
^

"src/core/ngx_string.h", line 151: error #2757: variable "u_char" is not a
type name
u_char * ngx_cdecl ngx_slprintf(u_char *buf, u_char *last, const char *fmt,
^

"src/core/ngx_string.h", line 151: error #2757: variable "u_char" is not a
type name
u_char * ngx_cdecl ngx_slprintf(u_char *buf, u_char *last, const char *fmt,
^

"src/core/ngx_string.h", line 153: error #2757: variable "u_char" is not a
type name
u_char *ngx_vslprintf(u_char *buf, u_char *last, const char *fmt, va_list args);
^

"src/core/ngx_string.h", line 153: error #2757: variable "u_char" is not a
type name
u_char *ngx_vslprintf(u_char *buf, u_char *last, const char *fmt, va_list args);
^

"src/core/ngx_string.h", line 153: error #2757: variable "u_char" is not a
type name
u_char *ngx_vslprintf(u_char *buf, u_char *last, const char *fmt, va_list args);
^

"src/core/ngx_string.h", line 157: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_strcasecmp(u_char *s1, u_char *s2);
^

"src/core/ngx_string.h", line 157: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_strcasecmp(u_char *s1, u_char *s2);
^

"src/core/ngx_string.h", line 158: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_strncasecmp(u_char *s1, u_char *s2, size_t n);
^

"src/core/ngx_string.h", line 158: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_strncasecmp(u_char *s1, u_char *s2, size_t n);
^

"src/core/ngx_string.h", line 160: error #2757: variable "u_char" is not a
type name
u_char *ngx_strnstr(u_char *s1, char *s2, size_t n);
^

"src/core/ngx_string.h", line 160: error #2757: variable "u_char" is not a
type name
u_char *ngx_strnstr(u_char *s1, char *s2, size_t n);
^

"src/core/ngx_string.h", line 162: error #2757: variable "u_char" is not a
type name
u_char *ngx_strstrn(u_char *s1, char *s2, size_t n);
^

"src/core/ngx_string.h", line 162: error #2757: variable "u_char" is not a
type name
u_char *ngx_strstrn(u_char *s1, char *s2, size_t n);
^

"src/core/ngx_string.h", line 163: error #2757: variable "u_char" is not a
type name
u_char *ngx_strcasestrn(u_char *s1, char *s2, size_t n);
^

"src/core/ngx_string.h", line 163: error #2757: variable "u_char" is not a
type name
u_char *ngx_strcasestrn(u_char *s1, char *s2, size_t n);
^

"src/core/ngx_string.h", line 164: error #2757: variable "u_char" is not a
type name
u_char *ngx_strlcasestrn(u_char *s1, u_char *last, u_char *s2, size_t n);
^

"src/core/ngx_string.h", line 164: error #2757: variable "u_char" is not a
type name
u_char *ngx_strlcasestrn(u_char *s1, u_char *last, u_char *s2, size_t n);
^

"src/core/ngx_string.h", line 164: error #2757: variable "u_char" is not a
type name
u_char *ngx_strlcasestrn(u_char *s1, u_char *last, u_char *s2, size_t n);
^

"src/core/ngx_string.h", line 164: error #2757: variable "u_char" is not a
type name
u_char *ngx_strlcasestrn(u_char *s1, u_char *last, u_char *s2, size_t n);
^

"src/core/ngx_string.h", line 166: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_rstrncmp(u_char *s1, u_char *s2, size_t n);
^

"src/core/ngx_string.h", line 166: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_rstrncmp(u_char *s1, u_char *s2, size_t n);
^

"src/core/ngx_string.h", line 167: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_rstrncasecmp(u_char *s1, u_char *s2, size_t n);
^

"src/core/ngx_string.h", line 167: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_rstrncasecmp(u_char *s1, u_char *s2, size_t n);
^

"src/core/ngx_string.h", line 168: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_memn2cmp(u_char *s1, u_char *s2, size_t n1, size_t n2);
^

"src/core/ngx_string.h", line 168: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_memn2cmp(u_char *s1, u_char *s2, size_t n1, size_t n2);
^

"src/core/ngx_string.h", line 169: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_dns_strcmp(u_char *s1, u_char *s2);
^

"src/core/ngx_string.h", line 169: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_dns_strcmp(u_char *s1, u_char *s2);
^

"src/core/ngx_string.h", line 171: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_atoi(u_char *line, size_t n);
^

"src/core/ngx_string.h", line 172: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_atofp(u_char *line, size_t n, size_t point);
^

"src/core/ngx_string.h", line 173: error #2757: variable "u_char" is not a
type name
ssize_t ngx_atosz(u_char *line, size_t n);
^

"src/core/ngx_string.h", line 174: error #2757: variable "u_char" is not a
type name
off_t ngx_atoof(u_char *line, size_t n);
^

"src/core/ngx_string.h", line 175: error #2757: variable "u_char" is not a
type name
time_t ngx_atotm(u_char *line, size_t n);
^

"src/core/ngx_string.h", line 176: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_hextoi(u_char *line, size_t n);
^

"src/core/ngx_string.h", line 178: error #2757: variable "u_char" is not a
type name
u_char *ngx_hex_dump(u_char *dst, u_char *src, size_t len);
^

"src/core/ngx_string.h", line 178: error #2757: variable "u_char" is not a
type name
u_char *ngx_hex_dump(u_char *dst, u_char *src, size_t len);
^

"src/core/ngx_string.h", line 178: error #2757: variable "u_char" is not a
type name
u_char *ngx_hex_dump(u_char *dst, u_char *src, size_t len);
^

"src/core/ngx_string.h", line 188: error #2757: variable "u_char" is not a
type name
uint32_t ngx_utf8_decode(u_char **p, size_t n);
^

"src/core/ngx_string.h", line 189: error #2757: variable "u_char" is not a
type name
size_t ngx_utf8_length(u_char *p, size_t n);
^

"src/core/ngx_string.h", line 190: error #2757: variable "u_char" is not a
type name
u_char *ngx_utf8_cpystrn(u_char *dst, u_char *src, size_t n, size_t len);
^

"src/core/ngx_string.h", line 190: error #2757: variable "u_char" is not a
type name
u_char *ngx_utf8_cpystrn(u_char *dst, u_char *src, size_t n, size_t len);
^

"src/core/ngx_string.h", line 190: error #2757: variable "u_char" is not a
type name
u_char *ngx_utf8_cpystrn(u_char *dst, u_char *src, size_t n, size_t len);
^

"src/core/ngx_string.h", line 204: error #2757: variable "u_char" is not a
type name
uintptr_t ngx_escape_uri(u_char *dst, u_char *src, size_t size,
^

"src/core/ngx_string.h", line 204: error #2757: variable "u_char" is not a
type name
uintptr_t ngx_escape_uri(u_char *dst, u_char *src, size_t size,
^

"src/core/ngx_string.h", line 206: error #2757: variable "u_char" is not a
type name
void ngx_unescape_uri(u_char **dst, u_char **src, size_t size, ngx_uint_t type);
^

"src/core/ngx_string.h", line 206: error #2757: variable "u_char" is not a
type name
void ngx_unescape_uri(u_char **dst, u_char **src, size_t size, ngx_uint_t type);
^

"src/core/ngx_string.h", line 207: error #2757: variable "u_char" is not a
type name
uintptr_t ngx_escape_html(u_char *dst, u_char *src, size_t size);
^

"src/core/ngx_string.h", line 207: error #2757: variable "u_char" is not a
type name
uintptr_t ngx_escape_html(u_char *dst, u_char *src, size_t size);
^

"src/core/ngx_string.h", line 211: error #2757: variable "ngx_rbtree_node_t"
is not a type name
ngx_rbtree_node_t node;
^

"src/core/ngx_string.h", line 216: error #2757: variable "ngx_rbtree_node_t"
is not a type name
void ngx_str_rbtree_insert_value(ngx_rbtree_node_t *temp,
^

"src/core/ngx_string.h", line 217: error #2757: variable "ngx_rbtree_node_t"
is not a type name
ngx_rbtree_node_t *node, ngx_rbtree_node_t *sentinel);
^

"src/core/ngx_string.h", line 217: error #2757: variable "ngx_rbtree_node_t"
is not a type name
ngx_rbtree_node_t *node, ngx_rbtree_node_t *sentinel);
^

"src/os/unix/ngx_files.h", line 22: error #2757: variable "u_char" is not a
type name
u_char *name;
^

"src/os/unix/ngx_files.h", line 43: error #2757: variable "u_char" is not a
type name
u_char *pattern;
^

"src/os/unix/ngx_files.h", line 112: error #2757: variable "u_char" is not a
type name
ngx_fd_t ngx_open_tempfile(u_char *name, ngx_uint_t persistent,
^

"src/os/unix/ngx_files.h", line 117: error #2757: variable "u_char" is not a
type name
ssize_t ngx_read_file(ngx_file_t *file, u_char *buf, size_t size, off_t offset);
^

"src/os/unix/ngx_files.h", line 124: error #2757: variable "u_char" is not a
type name
ssize_t ngx_write_file(ngx_file_t *file, u_char *buf, size_t size,
^

"src/os/unix/ngx_files.h", line 139: error #2020: identifier "inline" is
undefined
static ngx_inline ssize_t
^

"src/os/unix/ngx_files.h", line 139: error #2101: "ssize_t" has already been
declared in the current scope
static ngx_inline ssize_t
^

"src/os/unix/ngx_files.h", line 140: error #2065: expected a ";"
ngx_write_fd(ngx_fd_t fd, void *buf, size_t n)
^

"src/os/unix/ngx_files.h", line 164: warning #2012-D: parsing restarts here
after previous syntax error
ngx_int_t ngx_set_file_time(u_char *name, ngx_fd_t fd, time_t s);
^

"src/os/unix/ngx_files.h", line 255: error #2020: identifier "inline" is
undefined
static ngx_inline ngx_int_t
^

"src/os/unix/ngx_files.h", line 255: error #2101: "ngx_int_t" has already been
declared in the current scope
static ngx_inline ngx_int_t
^

"src/os/unix/ngx_files.h", line 256: error #2065: expected a ";"
ngx_de_info(u_char *name, ngx_dir_t *dir)
^

"src/os/unix/ngx_files.h", line 295: warning #2012-D: parsing restarts here
after previous syntax error
ngx_int_t ngx_open_glob(ngx_glob_t *gl);
^

"src/os/unix/ngx_files.h", line 297: error #2757: variable "ngx_int_t" is not
a type name
ngx_int_t ngx_read_glob(ngx_glob_t *gl, ngx_str_t *name);
^

"src/os/unix/ngx_files.h", line 321: error #2757: variable "ngx_int_t" is not
a type name
ngx_int_t ngx_read_ahead(ngx_fd_t fd, size_t n);
^

"src/os/unix/ngx_files.h", line 334: error #2757: variable "ngx_int_t" is not
a type name
ngx_int_t ngx_directio_on(ngx_fd_t fd);
^

"src/os/unix/ngx_files.h", line 337: error #2757: variable "ngx_int_t" is not
a type name
ngx_int_t ngx_directio_off(ngx_fd_t fd);
^

"src/os/unix/ngx_files.h", line 357: error #2757: variable "u_char" is not a
type name
size_t ngx_fs_bsize(u_char *name);
^

"src/os/unix/ngx_shmem.h", line 17: error #2757: variable "u_char" is not a
type name
u_char *addr;
^

"src/os/unix/ngx_shmem.h", line 25: error #2757: variable "ngx_int_t" is not a
type name
ngx_int_t ngx_shm_alloc(ngx_shm_t *shm);
^

"src/os/unix/ngx_process.h", line 64: error #2757: variable "ngx_int_t" is not
a type name
ngx_spawn_proc_pt proc, void *data, char *name, ngx_int_t respawn);
^

"src/os/unix/ngx_process.h", line 66: error #2757: variable "ngx_int_t" is not
a type name
ngx_int_t ngx_init_signals(ngx_log_t *log);
^

"src/os/unix/ngx_process.h", line 83: error #2757: variable "ngx_int_t" is not
a type name
extern ngx_int_t ngx_process_slot;
^

"src/os/unix/ngx_process.h", line 84: error #2757: variable "ngx_int_t" is not
a type name
extern ngx_int_t ngx_last_process;
^

"src/os/unix/ngx_user.h", line 20: error #2757: variable "ngx_int_t" is not a
type name
ngx_int_t ngx_libc_crypt(ngx_pool_t *pool, u_char *key, u_char *salt,
^

"src/os/unix/ngx_user.h", line 20: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_libc_crypt(ngx_pool_t *pool, u_char *key, u_char *salt,
^

"src/os/unix/ngx_user.h", line 20: error #2757: variable "u_char" is not a
type name
ngx_int_t ngx_libc_crypt(ngx_pool_t *pool, u_char *key, u_char *salt,
^

"src/os/unix/ngx_user.h", line 21: error #2757: variable "u_char" is not a
type name
u_char **encrypted);
^

"src/core/ngx_parse.h", line 16: error #2757: variable "ssize_t" is not a type
name
ssize_t ngx_parse_size(ngx_str_t *line);
^

"src/core/ngx_parse.h", line 18: error #2757: variable "ngx_int_t" is not a
type name
ngx_int_t ngx_parse_time(ngx_str_t *line, ngx_uint_t is_sec);
^

"src/core/ngx_log.h", line 45: error #2757: variable "u_char" is not a type
name
typedef u_char *(*ngx_log_handler_pt) (ngx_log_t *log, u_char *buf, size_t len);
^

"src/core/ngx_log.h", line 45: error #2757: variable "u_char" is not a type
name
typedef u_char *(*ngx_log_handler_pt) (ngx_log_t *log, u_char *buf, size_t len);
^

"src/core/ngx_log.h", line 52: error #2757: variable "ngx_atomic_uint_t" is
not a type name
ngx_atomic_uint_t connection;
^

"src/core/ngx_log.h", line 222: error #2757: variable "u_char" is not a type
name
ngx_log_t *ngx_log_init(u_char *prefix);
^

"src/core/ngx_log.h", line 227: error #2757: variable "u_char" is not a type
name
u_char *ngx_log_errno(u_char *buf, u_char *last, ngx_err_t err);
^

"src/core/ngx_log.h", line 227: error #2757: variable "u_char" is not a type
name
u_char *ngx_log_errno(u_char *buf, u_char *last, ngx_err_t err);
^

Error limit reached.
100 errors detected in the compilation of "src/core/nginx.c".
Compilation terminated.
*** Error exit code 4

Stop.
*** Error exit code 1

Stop.

Any help would be appreciated.
Thanks
yang
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 154
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready