gcc 3.2 compile trouble.

Ian Molton spyro at f2s.com
Fri Oct 18 05:04:24 PDT 2002


On Fri, 18 Oct 2002 11:52:00 +0100
Ian Molton <spyro at f2s.com> wrote:

> oh, wait - I have the installation files still. phew!

Well, now GCC compiles, but G++ still doesnt.

the error looks suspiciously like its related to the ctype stuff that
got removed by the glibc-2.3.1 libnss patch.

Heres the error.

In file included from
../../../../gcc-3.2/libstdc++-v3/src/locale.cc:406:
/usr/src/lfs/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-l
inux-gnu/bits/ctype_noninline.h: In
   static member function `static const short unsigned int* 
   std::ctype<char>::classic_table()':
/usr/src/lfs/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-l
inux-gnu/bits/ctype_noninline.h:45: `
   __ctype_b' undeclared (first use this function)
/usr/src/lfs/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-l
inux-gnu/bits/ctype_noninline.h:45: (Each
   undeclared identifier is reported only once for each function it
appears 
   in.)
/usr/src/lfs/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-l
inux-gnu/bits/ctype_noninline.h: In
   constructor `std::ctype<char>::ctype(int*, const short unsigned int*,
bool, 
   unsigned int)':
/usr/src/lfs/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-l
inux-gnu/bits/ctype_noninline.h:61: `
   __ctype_toupper' undeclared (first use this function)
/usr/src/lfs/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-l
inux-gnu/bits/ctype_noninline.h:61: `
   __ctype_tolower' undeclared (first use this function)

Any idea why this stuff is undeclared? Im hoping someone has seen this
one before, as digging around in the just-post-chap5 LFS distro is not
simple and easy... (no vi for example)
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list