Compilation problems egcs-1.1.2 & libc6

Lucas Korytkowski lucask@interlog.com
Fri Apr 16 16:51:00 GMT 1999


I did some searching in the archives and found out that way back in January
and it was found that there was a problem with the configure script with
libc6.  I've read on and there was a patch to fix egcs 1.0.x.  I have the
same problem with egcs-1.1.2 (1990405 and 1990412).  Am I doing something
wrong?

Does anyone else have these problems?  I'm running a system with Redhat 5.2
and one with Suse 6.0.  Here is my config script followed by the error codes:


/usr/local/source/egcs-19990405/configure --target=m68k-elf
--prefix=/usr/local/gcc-m68k --with-headers=/usr/include
--with-libraries=/usr/local/gcc-m68k/lib 

Here is the error that I am getting when issuing a 'make cross':

  /usr/local/build/egcs/gcc/xgcc -B/usr/local/build/egcs/gcc/
-B/usr/local/gcc-m68k/m68k-elf/bin/ -c -g -O2 -I.
-I/usr/local/source/egcs-19990405/libio
/usr/local/source/egcs-19990405/libio/filedoalloc.c -o pic/filedoalloc.o
/usr/local/build/egcs/gcc/xgcc -B/usr/local/build/egcs/gcc/
-B/usr/local/gcc-m68k/m68k-elf/bin/ -c -g -O2 -I.
-I/usr/local/source/egcs-19990405/libio
/usr/local/source/egcs-19990405/libio/filedoalloc.c
In file included from /usr/local/source/egcs-19990405/libio/libio.h:30,
                 from /usr/local/source/egcs-19990405/libio/iolibio.h:1,
                 from /usr/local/source/egcs-19990405/libio/libioP.h:40,
                 from /usr/local/source/egcs-19990405/libio/filedoalloc.c:48:
_G_config.h:43: parse error before `_G_sigset_t'
_G_config.h:43: warning: data definition has no type or storage class
make[2]: *** [filedoalloc.o] Error 1
make[2]: Leaving directory `/usr/local/build/egcs/m68k-elf/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/usr/local/build/egcs'
make: *** [cross] Error 2



More information about the Gcc-bugs mailing list