Welcome! Log In Create A New Profile

Advanced

Re: 0.9.1 compilation failure on Nexenta 3.0.1

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

> On Mon, Dec 6, 2010 at 9:10 PM, Igor Sysoev <igor@sysoev.ru> wrote:
> > As I understand it uses glibc which has sys_nerr.
> > What does
> > grep -r sys_nerr /usr/include
> > show ?
> >
>
> I tried that yesterday, too. Also I believe it uses Solaris' libc.
>
> Wikipedia:
> > Nexenta OS is the first distribution that combines the OpenSolaris C library and GNU userland with the OpenSolaris kernel.
>
>
> Here's the result:
>
> edho@nexenta:~$ grep -r sys_nerr /usr/include
> /usr/include/errno.h: * The symbols _sys_errlist and _sys_nerr are not
> visible in the
> /usr/include/iso/errno_iso.h: * The symbols _sys_errlist and _sys_nerr
> are not visible in the
> edho@nexenta:~$
>
> edho@nexenta:~$ grep -C 3 -r sys_nerr /usr/include
> /usr/include/errno.h-
> /usr/include/errno.h-#if defined(_LP64)
> /usr/include/errno.h-/*
> /usr/include/errno.h: * The symbols _sys_errlist and _sys_nerr are not
> visible in the
> /usr/include/errno.h- * LP64 libc. Use strerror(3C) instead.
> /usr/include/errno.h- */
> /usr/include/errno.h-#endif /* _LP64 */
> --
> /usr/include/iso/errno_iso.h-
> /usr/include/iso/errno_iso.h-#if defined(_LP64)
> /usr/include/iso/errno_iso.h-/*
> /usr/include/iso/errno_iso.h: * The symbols _sys_errlist and _sys_nerr
> are not visible in the
> /usr/include/iso/errno_iso.h- * LP64 libc. Use strerror(3C) instead.
> /usr/include/iso/errno_iso.h- */
> /usr/include/iso/errno_iso.h-#endif /* _LP64 */

Yes, I've just checked OpenSolaris, it has no sys_nerr.
I will detect maximum errno using EINVAL error from strerror().


--
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: 191
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