Date: Thu, 8 Dec 2005 00:04:24 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 663 ************************************************** Wednesday 07 December 2005 Number 663 ************************************************** Subjects for today 1 Re: ncurses v5.5 : Thomas Dickey 2 Re: ncurses v5.5 : Thomas Dickey 3 Re: ncurses v5.5 : Stefan.Neis at t-online.de 4 Re: ncurses v5.5 : Thomas Dickey **= Email 1 ==========================** Date: Tue, 6 Dec 2005 08:19:02 -0500 (EST) From: Thomas Dickey Subject: Re: ncurses v5.5 On Tue, 6 Dec 2005, John Poltorak wrote: > > Ncurses 5.5 has been released recently, but I've found I am unable to > build it with my standard build environment. The following errors are > produced > > In file included from ../ncurses/./tty/tty_update.c:70: > g:\ux2bs\posix2\include\sys/select.h:26: `NBBY' undeclared here (not in a > function) > g:\ux2bs\posix2\include\sys/select.h:26: `NBBY' undeclared here (not in a > function) > g:\ux2bs\posix2\include\sys/select.h:26: size of array `fds_bits' has > non-integer type > g:\ux2bs\posix2\include\sys/select.h:43: conflicting types for `_select' > g:\ux2bs\posix2\include\sys/unistdx.h:149: previous declaration of > `_select' > make[1]: *** [../objects/tty_update.o] Error 1 > make[1]: Leaving directory `/ux2bs/workdir/ncurses-5.5/ncurses' > make: *** [all] Error 2 I recall someone reporting something like that on this list earlier (this year?), and that the response was that it was a problem with the headers which would be fixed. > I suspect that this may have something to do with Posix/2. Can anyone > confirm that? -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net **= Email 2 ==========================** Date: Tue, 6 Dec 2005 08:19:02 -0500 (EST) From: Thomas Dickey Subject: Re: ncurses v5.5 On Tue, 6 Dec 2005, John Poltorak wrote: > > Ncurses 5.5 has been released recently, but I've found I am unable to > build it with my standard build environment. The following errors are > produced > > In file included from ../ncurses/./tty/tty_update.c:70: > g:\ux2bs\posix2\include\sys/select.h:26: `NBBY' undeclared here (not in a > function) > g:\ux2bs\posix2\include\sys/select.h:26: `NBBY' undeclared here (not in a > function) > g:\ux2bs\posix2\include\sys/select.h:26: size of array `fds_bits' has > non-integer type > g:\ux2bs\posix2\include\sys/select.h:43: conflicting types for `_select' > g:\ux2bs\posix2\include\sys/unistdx.h:149: previous declaration of > `_select' > make[1]: *** [../objects/tty_update.o] Error 1 > make[1]: Leaving directory `/ux2bs/workdir/ncurses-5.5/ncurses' > make: *** [all] Error 2 I recall someone reporting something like that on this list earlier (this year?), and that the response was that it was a problem with the headers which would be fixed. > I suspect that this may have something to do with Posix/2. Can anyone > confirm that? -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net **= Email 3 ==========================** Date: Wed, 7 Dec 2005 00:06:59 +0100 From: Stefan.Neis at t-online.de Subject: Re: ncurses v5.5 Hi, > In file included from ../ncurses/./tty/tty_update.c:70: > g:\ux2bs\posix2\include\sys/select.h:26: `NBBY' undeclared here (not in a > function) > g:\ux2bs\posix2\include\sys/select.h:26: `NBBY' undeclared here (not in a > function) > g:\ux2bs\posix2\include\sys/select.h:26: size of array `fds_bits' has > non-integer type > g:\ux2bs\posix2\include\sys/select.h:43: conflicting types for `_select' > g:\ux2bs\posix2\include\sys/unistdx.h:149: previous declaration of > `_select' > make[1]: *** [../objects/tty_update.o] Error 1 > make[1]: Leaving directory `/ux2bs/workdir/ncurses-5.5/ncurses' > make: *** [all] Error 2 AFAICT, that should be fixed by adding #include prior to including in tty_update.c. > I suspect that this may have something to do with Posix/2. Can anyone > confirm that? Yes. I'm a bit surprised that there's apparently no such problem in EMX, which is notorious for insisting on having sys/types.h included explicitly, so maybe I'm missing something here ... Regards, Stefan **= Email 4 ==========================** Date: Tue, 6 Dec 2005 18:46:29 -0500 (EST) From: Thomas Dickey Subject: Re: ncurses v5.5 On Wed, 7 Dec 2005, Stefan.Neis at t-online.de wrote: >> g:\ux2bs\posix2\include\sys/select.h:43: conflicting types for `_select' >> g:\ux2bs\posix2\include\sys/unistdx.h:149: previous declaration of >> `_select' >> make[1]: *** [../objects/tty_update.o] Error 1 >> make[1]: Leaving directory `/ux2bs/workdir/ncurses-5.5/ncurses' >> make: *** [all] Error 2 > > AFAICT, that should be fixed by adding #include prior to > including in tty_update.c. All of the modules under ./ncurses/ include curses.priv.h, which includes -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net