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]

undefined reference to __ctype_tolower etc in build of glib, gcc,pam + sed-3.58 strangeness + bzip2


I am trying to rebuild everything using glibc 2.3:

Cannot build gcc or pam. I keep getting
unresolved references like this from libraries used by the packages:

/usr/lib/libglib.a(gstrfuncs.o): In function `g_strdown':
gstrfuncs.o(.text+0x7f4): undefined reference to `__ctype_tolower'
/usr/lib/libglib.a(gstrfuncs.o): In function `g_strup':
gstrfuncs.o(.text+0x864): undefined reference to `__ctype_toupper'
/usr/lib/libglib.a(gstrfuncs.o): In function `g_strchug':
gstrfuncs.o(.text+0xb37): undefined reference to `__ctype_b'
/usr/lib/libglib.a(gstrfuncs.o): In function `g_strchomp':
gstrfuncs.o(.text+0xbf0): undefined reference to `__ctype_b'
gstrfuncs.o(.text+0xc1c): undefined reference to `__ctype_b'
/usr/lib/libglib.a(gstring.o): In function `g_string_down':
gstring.o(.text+0xc54): undefined reference to `__ctype_tolower'
/usr/lib/libglib.a(gstring.o): In function `g_string_up':
gstring.o(.text+0xcc4): undefined reference to `__ctype_toupper'
collect2: ld returned 1 exit status
make[2]: *** [pam_console_apply] Error 1
make[2]: Leaving directory `/var/tmp/upm/pam-0.75.cl1/modules/pam_console'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/upm/pam-0.75.cl1/modules'
make: *** [modules] Error 2
[ PROBLEM ] pam: Build phase failed

bzip2 was failing to build packages with it. Rebuilding with glibc 2.3
fixed it.

sed-3.58 fails with "Bad Escape code" after upgrading to glibc-2.3 for
some builds.
Cured by upgrading to sed-3.95-fixed


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