Re: ошибка сборки Solaris10/x86

Alexey Rymonin x-phoenix at mail.ru
Wed Mar 21 11:22:58 MSK 2007


Hello storm,

Wednesday, March 21, 2007, 10:56:16 AM, you wrote:

Причем не собирается
ни на GNUшном (gcc version: 3.4.3 (csl-sol210-3_4-branch+sol_rpath)),
ни на SUNовском (Sun C version: 5.8 2005/10/13)  компиляторе...

Это что выдает сановский....

/opt/SUNWspro/bin/cc -c -fast  -errwarn=%all -native -xarch=sse2a -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/local/include -I objs \
        -o objs/src/event/modules/ngx_devpoll_module.o \
        src/event/modules/ngx_devpoll_module.c src/os/unix/ngx_sunpro_x86.il
"src/event/modules/ngx_devpoll_module.c", line 421: warning: argument mismatch
cc: acomp failed for src/event/modules/ngx_devpoll_module.c
make[1]: *** [objs/src/event/modules/ngx_devpoll_module.o] Error 2
make[1]: Leaving directory `/www/tomcat/tmp_nginx/nginx-0.5.15'
make: *** [build] Error 2


> Добрый день.
> К сожалению версия 0.5.15 не собирается под Solaris10/x86.
> старые версии (до 0.5.11 включительно), жили без проблем...

> bash-3.00# uname -a
> SunOS nginx0 5.10 Generic_118855-14 i86pc i386 i86pc

> bash-3.00# pwd
> /opt/distrib/IA32/nginx-0.5.15

> bash-3.00# make
> make -f objs/Makefile
> ......
> 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
> /opt/distrib/IA32/pcre-6.7  -I
> /opt/distrib/IA32/openssl-0.9.8a/include  -I
> /opt/distrib/IA32/zlib-1.2.3  -I objs \
>         -o objs/src/event/modules/ngx_devpoll_module.o \
>         src/event/modules/ngx_devpoll_module.c
> src/event/modules/ngx_devpoll_module.c:421:74: macro
> "ngx_log_debug2" passed 7 arguments, but takes just 6
> src/event/modules/ngx_devpoll_module.c: In function `ngx_devpoll_process_events':
> src/event/modules/ngx_devpoll_module.c:419: error: `ngx_log_debug2'
> undeclared (first use in this function)
> src/event/modules/ngx_devpoll_module.c:419: error: (Each undeclared identifier is reported only once
> src/event/modules/ngx_devpoll_module.c:419: error: for each function it appears in.)
> *** Error code 1
> make: Fatal error: Command failed for target
> `objs/src/event/modules/ngx_devpoll_module.o'
> Current working directory /opt/distrib/IA32/nginx-0.5.15
> *** Error code 1
> make: Fatal error: Command failed for target `build'




-- 
Best regards,
 Alexey                            mailto:x-phoenix at mail.ru






More information about the nginx-ru mailing list