Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Опции ./configure для sun s tudio
Здравствуйте.
С какими опциями пущать configure, если хочу собирать nginx сановским
компилятором? Или это вообще невозможно и надо пользоваться gcc? Я
попробовал так:
ano@box:~/1/nginx-0.2.1> ./configure --with-cc=/opt/SUNWspro/bin/cc
--with-cc-opt="-I /usr/local/include" --with-ld-opt="-L /usr/local/lib"
....
ano@box:~/1/nginx-0.2.1> dmake
dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up the
.dmakerc file.
dmake -f objs/Makefile
box --> 1 job
/opt/SUNWspro/bin/cc -c -I /usr/local/include -I src/core -I src/event
-I src/event/modules -I src/os/unix -I objs
-o objs/src/core/nginx.o src/core/nginx.c
box --> Job output
/opt/SUNWspro/bin/cc -c -I /usr/local/include -I src/core -I src/event
-I src/event/modules -I src/os/unix -I objs
-o objs/src/core/nginx.o src/core/nginx.c
"src/os/unix/ngx_atomic.h", line 396: warning: no explicit type given
"src/os/unix/ngx_atomic.h", line 396: syntax error before or at:
ngx_atomic_uint_t
"src/core/ngx_array.h", line 30: warning: no explicit type given
"src/core/ngx_array.h", line 30: syntax error before or at: ngx_int_t
"src/core/ngx_list.h", line 33: warning: no explicit type given
"src/core/ngx_list.h", line 34: syntax error before or at: ngx_int_t
"src/core/ngx_crc.h", line 13: warning: no explicit type given
"src/core/ngx_crc.h", line 13: syntax error before or at: uint32_t
"src/core/ngx_rbtree.h", line 32: warning: no explicit type given
"src/core/ngx_rbtree.h", line 32: syntax error before or at: ngx_rbtree_t
"src/event/ngx_event_timer.h", line 48: warning: no explicit type given
"src/event/ngx_event_timer.h", line 48: syntax error before or at: void
"src/event/ngx_event_timer.h", line 75: warning: no explicit type given
"src/event/ngx_event_timer.h", line 75: syntax error before or at: void
cc: acomp failed for src/core/nginx.c
*** Error code 2
dmake: Fatal error: Command failed for target `objs/src/core/nginx.o'
Current working directory /export/home/ano/1/nginx-0.2.1
*** Error code 1
dmake: Fatal error: Command failed for target `build'
|