This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: make dies in libio
- To: hro at barney dot lanl dot gov (Heinrich Roder)
- Subject: Re: make dies in libio
- From: hjl at lucon dot org (H.J. Lu)
- Date: Tue, 4 Nov 1997 14:22:29 -0800 (PST)
- Cc: egcs at cygnus dot com
>
> Does anyone know about this? I am running RH4.2, gnulibc2.0.5,
> NU ld version 2.8.1 (with BFD linux-2.8.1.0.1), libg++2.7.2.8,
> libc5.4.38, and the make goes until here:
> .
> .
> .
> .
>
>
> test -z "" || \
> /packages/egcs-971031/gcc/xgcc -B/packages/egcs-971031/gcc/ -c -O2 -g -fvtable-thunks -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO stdstrbufs.cc -o pic/stdstrbufs.o
> /packages/egcs-971031/gcc/xgcc -B/packages/egcs-971031/gcc/ -c -O2 -g -fvtable-thunks -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO stdstrbufs.cc
> stdstrbufs.cc:67: syntax error before `='
> stdstrbufs.cc:67: `_IO_stdfile_0_lock' was not declared in this scope
> stdstrbufs.cc:67: warning: excess elements in aggregate initializer
> stdstrbufs.cc:68: syntax error before `='
> stdstrbufs.cc:68: `_IO_stdfile_1_lock' was not declared in this scope
> stdstrbufs.cc:68: warning: excess elements in aggregate initializer
> stdstrbufs.cc:69: syntax error before `='
> stdstrbufs.cc:70: `_IO_stdfile_2_lock' was not declared in this scope
> stdstrbufs.cc:70: warning: excess elements in aggregate initializer
> make[1]: *** [stdstrbufs.o] Error 1
> make[1]: Leaving directory `/packages/egcs-971031/libraries/libio'
> make: *** [all-target-libio] Error 2
>
You may need a patch to glibc header files. Please check
the egcs archive. I think I have posted it a few times.
BTW, please use the one for glibc 2.0.5c, not glibc 2.1.
H.J.