compilation of libio failing on linux/libc6

H.J. Lu hjl@lucon.org
Mon Jan 26 15:28:00 GMT 1998


> 
> 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
> 

Please find out why _G_config.h is generated. _G_config.h should
not be generated for glibc 2 unless you did some strange things
while configuring egcs. How did you configure egcs?

Ulrich, we need my libio patch to egcs for glibc 2.1. Otherwise,
it won't work.

H.J.



More information about the Gcc mailing list