Error compiling gcc-3.2 in lfs 4.0 chap 5

Jonas Norlander jonas.norlander at ovikonline.com
Mon Oct 28 03:38:17 PST 2002


Hello! When i try to compile gcc in chapter 5 i get this error

In file included from ../../../../gcc-3.2/libstdc++-v3/src/locale.cc:406:
/mnt/lfs/static/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h: 
In
    static member function `static const short unsigned int*
    std::ctype<char>::classic_table()':
/mnt/lfs/static/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:45: 
`
    __ctype_b' undeclared (first use this function)
/mnt/lfs/static/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:45: 
(Each
    undeclared identifier is reported only once for each function it appears
    in.)
/mnt/lfs/static/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h: 
In
    constructor `std::ctype<char>::ctype(int*, const short unsigned 
int*, bool,
    unsigned int)':
/mnt/lfs/static/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h: 
In
    constructor `std::ctype<char>::ctype(int*, const short unsigned 
int*, bool,
    unsigned int)':
/mnt/lfs/static/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:61: 
`
    __ctype_toupper' undeclared (first use this function)
/mnt/lfs/static/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:61: 
`
    __ctype_tolower' undeclared (first use this function)
make[4]: *** [locale.lo] Error 1
make[4]: Leaving directory 
`/mnt/lfs/static/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/mnt/lfs/static/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory 
`/mnt/lfs/static/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/mnt/lfs/static/src/gcc-build'
make: *** [bootstrap] Error 2

Whats wrong what can i do?
 From the output i looks like its building c++

But in the book it says "We won't be needing a C++ compiler until 
Chapter 6. So, only the gcc-core tarball needs to be unpacked at this time."

gcc-core tarball? what is that, i cant find any references to that.

My system is Redhat 8.0 on a AMD duron 1300, 512MB Ram, 400MB swap, lfs 
partition 2.5GB

Thx for all help

/Jonas

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