0.9.1 compilation failure on Nexenta 3.0.1

Edho P Arief edhoprima at gmail.com
Mon Dec 6 17:07:31 MSK 2010


2010/12/6 Igor Sysoev <igor at sysoev.ru>:
> On Sun, Dec 05, 2010 at 09:41:31PM +0700, Edho P Arief wrote:
>
>> On Sun, Dec 5, 2010 at 7:58 PM, Piotr Sikora <piotr.sikora at frickle.com> wrote:
>> > http://nginx.org/pipermail/nginx/2010-December/023926.html
>> >
>> > Best regards,
>> > Piotr Sikora < piotr.sikora at frickle.com >
>> >
>>
>> tried and still fail - in fact the error message I copied is the
>> result of patched source. Same error unpatched.
>
> Could you try to build this program:
>
> -------
> #include <errno.h>
> #include <string.h>
> #include <stdio.h>
>
> int
> main()
> {
>    printf("%d\n", sys_nerr);
>    return 0;
> }
> -------
>
>

looks like there's no sys_nerr in Nexenta.

edho at nexenta:~$ cat <<EOF > test.c
> #include <errno.h>
> #include <string.h>
> #include <stdio.h>
>
> int
> main()
> {
>    printf("%d\n", sys_nerr);
>    return 0;
> }
> EOF
edho at nexenta:~$ make test
cc     test.c   -o test
test.c: In function ‘main’:
test.c:8: error: ‘sys_nerr’ undeclared (first use in this function)
test.c:8: error: (Each undeclared identifier is reported only once
test.c:8: error: for each function it appears in.)
make: *** [test] Error 1
edho at nexenta:~$ uname -a
SunOS nexenta 5.11 NexentaOS_134f i86pc i386 i86pc Solaris



-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org



More information about the nginx mailing list