ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

solaris



Добрый день,

Вот тут еще пару вопросов возникло.
Имеем проблемы при сборке на solaris

INTEL/Solaris 8:

gcc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g  -I src/core 
-I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I 
src/http/modules -I src/http/modules/proxy         -o objs/src/http/ngx_http_core_module.o         src/http/ngx_http_core_module.c
cc1: warnings being treated as errors
src/http/ngx_http_core_module.c: In function `ngx_http_find_location':
src/http/ngx_http_core_module.c:591: warning: implicit declaration of function 
`strncmp'
make[1]: *** [objs/src/http/ngx_http_core_module.o] Error 1
make[1]: Leaving directory `/home/bk/nginx-0.1.9'
make: *** [build] Error 2

$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)

и еще SPARC/Solaris 8:

$ make
make -f objs/Makefile
make[1]: Entering directory `/usr/home/bk/nginx-0.1.9'
gcc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g  -mcpu=v9 -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
{standard input}: Assembler messages:
{standard input}:974: Error: Architecture mismatch on "be,pn %icc,.LL92".
{standard input}:974:  (Requires v9|v9a|v9b; requested architecture is 
sparclite.)
{standard input}:995: Error: Architecture mismatch on "be,pn %icc,.LL92".
{standard input}:995:  (Requires v9|v9a|v9b; requested architecture is 
sparclite.)
{standard input}:1004: Error: Architecture mismatch on "be,pn %icc,.LL92".
{standard input}:1004:  (Requires v9|v9a|v9b; requested architecture is 
sparclite.)
{standard input}:1013: Error: Architecture mismatch on "be,pn %icc,.LL92".
{standard input}:1013:  (Requires v9|v9a|v9b; requested architecture is 
sparclite.)
{standard input}:1019: Error: Architecture mismatch on "be,pn %icc,.LL72".
{standard input}:1019:  (Requires v9|v9a|v9b; requested architecture is 
sparclite.)
{standard input}:1030: Error: Architecture mismatch on "be,pn %icc,.LL90".
{standard input}:1030:  (Requires v9|v9a|v9b; requested architecture is 
sparclite.)
{standard input}:1037: Error: Architecture mismatch on "be,pn %icc,.LL92".
{standard input}:1037:  (Requires v9|v9a|v9b; requested architecture is 
sparclite.)
{standard input}:1047: Error: Architecture mismatch on "be,pn %icc,.LL76".
{standard input}:1047:  (Requires v9|v9a|v9b; requested architecture is 
sparclite.)
{standard input}:1067: Error: Architecture mismatch on "bne,pt %icc,.LL94".
{standard input}:1067:  (Requires v9|v9a|v9b; requested architecture is 
sparclite.)

$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)

И так далее.
Читал гугль. Пишут про -mcpu=v9, у вас это в CFLAGS есть.
Видимо нужно еще что-то.

-- 
Konstantin N. Bezruchenko
BK5536-RIPE





 




Copyright © Lexa Software, 1996-2009.