This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Failure to build gnatlib and tools on cygwin: sysdep.c: In function `getc_immediate_common': sysdep.c:356: error: storage size of 'otermios_rec' isn't known
- From: Christian Joensson <christian at j-son dot org>
- To: gcc <gcc at gcc dot gnu dot org>
- Cc: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>, dewar at gnat dot com, rupp at gnat dot com, charlet at act-europe dot fr
- Date: Mon, 10 Nov 2003 08:51:06 +0100
- Subject: Re: Failure to build gnatlib and tools on cygwin: sysdep.c: In function `getc_immediate_common': sysdep.c:356: error: storage size of 'otermios_rec' isn't known
- References: <20031107084742.GA3528@Luddes>
The problem is sitll around... Am I missing something obvious here?
Cheers,
/ChJ
On Fri, Nov 07, 2003 at 09:48:30AM +0100, Christian Joensson wrote:
> Windows XP/Pro SP1 cygwin P4 system with these packages:
>
> binutils 20030901-1 2.14.90 20030901
> bison 20030307-1 1.875b
> cygwin 1.5.5-1
> dejagnu 20021217-2 1.4.2.x
> gawk 3.1.3-4
> gcc 3.3.1-3
> w32api 2.4-1
>
> LAST_UPDATED: Thu Nov 6 08:33:27 GMT 2003
>
> configure pentium4-cygwin --prefix=/usr/local/gcc-binutils
> --enable-shared --enable-threads=posix --with-system-zlib
> --enable-libgcj
>
> after the bootstrap target is done, running 'make -C gcc
> gnatlib_and_tools' I end up with this problem:
>
> ./../xgcc -B../../ -c -DIN_GCC `echo -g -O2 -fexceptions -DIN_RTS |sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'` -I. -I.. -I../.. -I/usr/local/src/gcc-binutils/trunk/gcc/gcc/ada -I/usr/local/src/gcc-binutils/trunk/gcc/gcc/ada/../config -I/usr/local/src/gcc-binutils/trunk/gcc/gcc/ada/../../include -I/usr/local/src/gcc-binutils/trunk/gcc/gcc/ada/.. -I./../.. exit.c \
> -o exit.o
> ./../xgcc -B../../ -c -DIN_GCC `echo -g -O2 -fexceptions -DIN_RTS |sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'` \
> -I. -I.. -I../.. -I/usr/local/src/gcc-binutils/trunk/gcc/gcc/ada -I/usr/local/src/gcc-binutils/trunk/gcc/gcc/ada/../config -I/usr/local/src/gcc-binutils/trunk/gcc/gcc/ada/../../include -I/usr/local/src/gcc-binutils/trunk/gcc/gcc/ada/.. -I./../.. raise.c -o raise.o
> ./../xgcc -B../../ -c -DIN_GCC `echo -g -O2 -fexceptions -DIN_RTS |sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'` -I. -I.. -I../.. -I/usr/local/src/gcc-binutils/trunk/gcc/gcc/ada -I/usr/local/src/gcc-binutils/trunk/gcc/gcc/ada/../config -I/usr/local/src/gcc-binutils/trunk/gcc/gcc/ada/../../include -I/usr/local/src/gcc-binutils/trunk/gcc/gcc/ada/.. -I./../.. sysdep.c \
> -o sysdep.o
> sysdep.c: In function `getc_immediate_common':
>
> sysdep.c:356: error: storage size of 'otermios_rec' isn't known
> sysdep.c:356: error: storage size of 'termios_rec' isn't known
> sysdep.c:361: error: invalid application of `sizeof' to an incomplete type
> sysdep.c:364: error: `ICANON' undeclared (first use in this function)
> sysdep.c:364: error: (Each undeclared identifier is reported only once
> sysdep.c:364: error: for each function it appears in.)
> sysdep.c:364: error: `ECHO' undeclared (first use in this function)
> sysdep.c:386: error: `TCSANOW' undeclared (first use in this function)
> make[2]: *** [sysdep.o] Error 1
> make[2]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir/gcc/ada/rts'
> make[1]: *** [gnatlib] Error 2
> make[1]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir/gcc/ada'
> make: *** [gnatlib] Error 2
> make: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir/gcc'
>
> Any ideas on what to do about it?
>
> Cheers,
>
> /ChJ