This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: undefined reference to __ctype_tolower etc in build of glib,gcc, pam + sed-3.58 strangeness + bzip2


On 8 xxx 2010, Kaoru Fukui wrote:
> > Cannot find any information on gcc 3.2 in the FAQ on
> > http://sources.redhat.com/glibc. It only covers old
> > versions of gcc. Is there a new FAQ somewhere?
>
> Glibc source has it.

The patch from http://www.haible.de/bruno/gcc-3.2-glibc-2.3-compat.diff
did not do anything. Still the same failure.

/var/tmp/upm/gcc-3.2/i586-pc-linux-gnu/libstdc++-v3/include/i586-pc-linux-gnu/bits/ctype_noninline.h:45:
`
   __ctype_b' undeclared (first use this function)
/var/tmp/upm/gcc-3.2/i586-pc-linux-gnu/libstdc++-v3/include/i586-pc-linux-gnu/bits/ctype_noninline.h:45:
(Each
   undeclared identifier is reported only once for each function it
appears
   in.)
/var/tmp/upm/gcc-3.2/i586-pc-linux-gnu/libstdc++-v3/include/i586-pc-linux-gnu/bits/ctype_noninline.h:
In
   constructor `std::ctype<char>::ctype(int*, const short unsigned int*,
bool,
   unsigned int)':
/var/tmp/upm/gcc-3.2/i586-pc-linux-gnu/libstdc++-v3/include/i586-pc-linux-gnu/bits/ctype_noninline.h:61:
`
   __ctype_toupper' undeclared (first use this function)
/var/tmp/upm/gcc-3.2/i586-pc-linux-gnu/libstdc++-v3/include/i586-pc-linux-gnu/bits/ctype_noninline.h:61:
`
   __ctype_tolower' undeclared (first use this function)
make[3]: *** [locale.lo] Error 1
make[3]: Leaving directory
`/var/tmp/upm/gcc-3.2/i586-pc-linux-gnu/libstdc++-v3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/upm/gcc-3.2/i586-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory
`/var/tmp/upm/gcc-3.2/i586-pc-linux-gnu/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2


Build information:
W GNU Compiler Collection (provides at least a C and a  C++ compiler)
A DELTA 2
H http://gcc.gnu.org
S ftp://mirrors.rcn.net/pub/sourceware/gcc/releases/{PV}/{PV}.tar.bz2
#P {PV}.fix-copy.patch
#P {PV}.fix-var.patch
P http://www.haible.de/bruno/gcc-3.2-glibc-2.3-compat.diff
R BUILD c-build
R BUILD zlib
R BUILD ncurses
R BUILD texinfo
R DEPEND texinfo
R BUILD {NLS?gettext}
A OMITFRAMEPOINTER
A NOEXCEPTIONS
# No optimizations.... well...
A O
A LANG c{CXX?",c++"}{ADA?",ada"}{FORTRAN?",f77"}{OBJC?",objc"}{JAVA?",java"}
A CONFOPT --with-system-zlib --enable-languages={LANG}
--enable-threads=posix --enable-long-long --disable-checking
--enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs --enable-shared
{NLS?:"-disable-nls"} --without-included-gettext
A DESTSPEC prefix={B}/usr
A CHECK make check
Y usr/bin/cc gcc 50
V PATH LDPATH /usr/lib/gcc-lib/{HOST}/{V}


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