This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: trouble compiling


Pavel <scr@mail.kz> writes:

> > > error:
> > > ===
> > >
> > > In file included from ../../../../libstdc++-v3/src/locale.cc:408:
> > > /usr/src/gcc-3.2-20020903/libstdc++-v3/config/os/gnu-linux/bits/ctype_non
> > >inline.h: In
> > >    static member function `static const short unsigned int*
> > >    std::ctype<char>::classic_table()':
> > > /usr/src/gcc-3.2-20020903/libstdc++-v3/config/os/gnu-linux/bits/ctype_non
> > >inline.h:45: `
> > >    __ctype_b' undeclared (first use this function)
> > > /usr/src/gcc-3.2-20020903/libstdc++-v3/config/os/gnu-linux/bits/ctype_non
> > >inline.h:45: (Each
> > >    undeclared identifier is reported only once for each function it
> > > appears in.)
> > > In file included from ../../../../libstdc++-v3/src/locale.cc:408:
> > > /usr/src/gcc-3.2-20020903/libstdc++-v3/config/os/gnu-linux/bits/ctype_non
> > >inline.h: In
> > >    constructor `std::ctype<char>::ctype(const short unsigned int*, bool,
> > >    unsigned int)':
> > > /usr/src/gcc-3.2-20020903/libstdc++-v3/config/os/gnu-linux/bits/ctype_non
> > >inline.h:68: `
> > >    __ctype_toupper' undeclared (first use this function)
> > > /usr/src/gcc-3.2-20020903/libstdc++-v3/config/os/gnu-linux/bits/ctype_non
> > >inline.h:68: `
> > >    __ctype_tolower' undeclared (first use this function)
> > > make[4]: *** [locale.lo] Error 1
> > > make[3]: *** [all-recursive] Error 1
> > > make[2]: *** [all-recursive-am] Error 2
> > > make[1]: *** [all-target-libstdc++-v3] Error 2
> > > make: *** [bootstrap] Error 2
> > > ===
> > >
> > > What i need todo???
> >
> > Please tell us what platform you are on, as given by 'uname -a', what
> >     compiler version you are using to build gcc 3.2 with, using
> >     'gcc -v', and which glibc version you have, using
> >     'ls -l /lib/libc*' .
> 
> 1. uname -a:
> 
> Linux localhost.localdomain 2.4.18-14custom #1 Sat May 10 01:12:46 ALMST 2003 
> i686 unknown
> 
> 2.  I'm use gcc-3.2-20020903
> 3. ls -l /lib/libc*:
> -rwxr-xr-x    1 root     root      1235468 Sep  5  2002
> /lib/libc-2.2.93.so

Thank you. I went to google's advanced search pg and I put 'glibc
    libstdc++ ctype into  the keyword box, and
    'sources.redhat.com' in the 'return results only from site or
    domain' box, and I found this thread:

    http://sources.redhat.com/ml/libc-alpha/2002-10/msg00155.html

    and via that thread I found this patch:

    http://www.haible.de/bruno/gcc-3.2-glibc-2.3-compat.diff

    which seems to be in gcc 3.2.3

Note - I didn't test that patch or gcc 3.2.3 with glibc 2.2.9x or 2.3
    myself.
[snip]


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