This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]