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]

Re: compilation of libio failing on linux/libc6


On , 27 January 1998, 00:31:12, jhpb@sarto.gaithersburg.md.us wrote:

 > Michael Harnois <mharnois@sbt.net> writes:
 > 
 > > With the latest cvs tree of egcs, libc-980125, and linux-2.1.81, libio 
 > > compilation in egcs is failing for me at
 > > 
 > > test -z "" || \
 > >   /usr/src/egcs/gcc/xgcc -B/usr/src/egcs/gcc/ -c -O2 -g -fvtable-thunks -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO  builtinbuf.cc -o pic/builtinbuf.o
 > > /usr/src/egcs/gcc/xgcc -B/usr/src/egcs/gcc/ -c -O2 -g -fvtable-thunks -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO builtinbuf.cc
 > > In file included from libio.h:30,
 > >                  from streambuf.h:36,
 > >                  from builtinbuf.h:32,
 > >                  from builtinbuf.cc:29:
 > > _G_config.h:43: syntax error before `;'
 > > make: *** [builtinbuf.o] Error 1
 > > 
 > > Line 43 in _G_config.h is
 > > 
 > > typedef __sigset_t _G_sigset_t;
 > > 
 > > and I can't find any other reference to _G_sigset_t anywhere else in
 > > egcs, or for that matter anywhere else on my harddrive.
 > > 
 > > egcs was configured with --host=i586-pc-linux-gnu --with-gnu-ld
 > > --with-gnu-as --enable-haifa --enable-threads --prefix=/usr, a
 > > combination that usually works for me.
 > > 
 > > No doubt this is somehow due to my stupidity, but if someone could
 > > figure out just how, I would be grateful.
 > 
 > I just did a cvs update and recompiled and got the same error.  I am
 > using fewer options than you are for configure:
 > 
 >     cd build &&
 >     ../configure --prefix=/usr/local/egcs &&
 >     make CFLAGS= bootstrap
 > 
 > I'm on a redhat 5.0 intel system.

I guess this could be caused by the latest change to the top-level configure
script which was emitting the various Makefile fragments in the wrong order.

Could you please post the contents of `libraries/libio/Makefile'?

Thanks,
Manfred


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