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

Alexey Rymonin x-phoenix at mail.ru
Wed Mar 21 13:15:37 MSK 2007


Hello Igor,

Wednesday, March 21, 2007, 1:03:24 PM, you wrote:

> On Wed, Mar 21, 2007 at 10:56:16AM +0300, storm wrote:

>> Добрый день.
>> К сожалению версия 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.)

> Прилагаемый патч должен помочь.

> Но, вообще, для gcc это странно.. А показывает configure в районе

> checking for C compiler ... found
>  + using GNU C compiler
>  + gcc version: 3.4.6 [FreeBSD] 20060305
> checking for gcc -pipe switch ... found
> checking for gcc variadic macros ... found
> checking for C99 variadic macros ... found

> ?

патч помог.... компилится обоими компиляторами....

вот что показывает configure

checking for OS
 + SunOS 5.10 i86pc
checking for C compiler ... found
 + using GNU C compiler
 + gcc version: 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
checking for gcc -pipe switch ... found
checking for gcc variadic macros ... found
checking for C99 variadic macros ... found
....


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






More information about the nginx-ru mailing list