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


I erased all static libraries from my system (rm /lib/lib*.a
/usr/lib/lib*.a. When I build gcc i still get:

/var/tmp/upm/gcc-3.2/gcc/xgcc -shared-libgcc -B/var/tmp/upm/gcc-3.2/gcc/
-nostdinc++ -L/var/tmp/upm/gcc-3.2/i586-pc-linux-gnu/libstdc++-v3/src
-L/var/tmp/upm/gcc-3.2/i586-pc-linux-gnu/libstdc++-v3/src/.libs
-B/usr/i586-pc-linux-gnu/bin/ -B/usr/i586-pc-linux-gnu/lib/ -isystem
/usr/i586-pc-linux-gnu/include -nostdinc++
-I/var/tmp/upm/gcc-3.2/i586-pc-linux-gnu/libstdc++-v3/include/i586-pc-linux-gnu
-I/var/tmp/upm/gcc-3.2/i586-pc-linux-gnu/libstdc++-v3/include
-I../libsupc++ -I../libmath -mcpu=i586 -O -march=i586 -D_GNU_SOURCE
-fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c
locale.cc  -fPIC -DPIC -o .libs/locale.o
In file included from locale.cc:406:
/var/tmp/upm/gcc-3.2/i586-pc-linux-gnu/libstdc++-v3/include/i586-pc-linux-gnu/bits/ctype_noninline.h:
In
   static member function `static const short unsigned int*
   std::ctype<char>::classic_table()':
/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
[ PROBLEM ] gcc: Build phase failed


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