Welcome! Log In Create A New Profile

Advanced

Re: 0.9.1 compilation failure on Nexenta 3.0.1

December 06, 2010 09:18AM
On Mon, Dec 06, 2010 at 09:07:31PM +0700, Edho P Arief wrote:

> 2010/12/6 Igor Sysoev <igor@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@frickle.com> wrote:
> >> > http://nginx.org/pipermail/nginx/2010-December/023926.html
> >> >
> >> > Best regards,
> >> > Piotr Sikora < piotr.sikora@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@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@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@nexenta:~$ uname -a
> SunOS nexenta 5.11 NexentaOS_134f i86pc i386 i86pc Solaris

As I understand it uses glibc which has sys_nerr.
What does
grep -r sys_nerr /usr/include
show ?


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

0.9.1 compilation failure on Nexenta 3.0.1

edogawaconan December 05, 2010 04:50AM

Re: 0.9.1 compilation failure on Nexenta 3.0.1

Piotr Sikora December 05, 2010 08:04AM

Re: 0.9.1 compilation failure on Nexenta 3.0.1

edogawaconan December 05, 2010 09:46AM

Re: 0.9.1 compilation failure on Nexenta 3.0.1

Igor Sysoev December 06, 2010 08:26AM

Re: 0.9.1 compilation failure on Nexenta 3.0.1

edogawaconan December 06, 2010 09:14AM

Re: 0.9.1 compilation failure on Nexenta 3.0.1

Igor Sysoev December 06, 2010 09:18AM

Re: 0.9.1 compilation failure on Nexenta 3.0.1

edogawaconan December 06, 2010 09:36AM

Re: 0.9.1 compilation failure on Nexenta 3.0.1

Igor Sysoev December 06, 2010 09:40AM

Re: 0.9.1 compilation failure on Nexenta 3.0.1

Maxim Dounin December 06, 2010 10:06AM

Re: 0.9.1 compilation failure on Nexenta 3.0.1

Igor Sysoev December 06, 2010 10:36AM

Re: 0.9.1 compilation failure on Nexenta 3.0.1

Maxim Dounin December 06, 2010 11:38AM

Re: 0.9.1 compilation failure on Nexenta 3.0.1

Igor Sysoev December 06, 2010 10:36AM

Re: 0.9.1 compilation failure on Nexenta 3.0.1

WilliamOMS December 06, 2010 12:19PM

Re: 0.9.1 compilation failure on Nexenta 3.0.1

edogawaconan December 06, 2010 12:20PM

Re: 0.9.1 compilation failure on Nexenta 3.0.1

Igor Sysoev December 06, 2010 12:26PM

Re: 0.9.1 compilation failure on Nexenta 3.0.1

edogawaconan December 06, 2010 01:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 220
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready