[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Undefined references to __ctype_*_loc in ld.so
From: |
Peter Bruin |
Subject: |
Undefined references to __ctype_*_loc in ld.so |
Date: |
Sat, 18 Jan 2003 11:47:33 +0100 |
Hi,
While building ld.so I get undefined references to __ctype_b_loc,
__ctype_toupper_loc, and __ctype_tolower_loc:
powerpc-gnu-gcc -nostdlib -nostartfiles -shared -o /usr/src/libc/obj/elf/ld.so
\
-Wl,-z,combreloc -Wl,-z,defs \
/usr/src/libc/obj/elf/librtld.os
-Wl,--version-script=/usr/src/libc/obj/ld.map \
-Wl,-soname=ld.so.1 -T /usr/src/libc/obj/elf/ld.so.lds
/usr/src/libc/obj/elf/librtld.os: In function `__strtol_internal':
/usr/src/libc/obj/elf/librtld.os(.text+0x51828): undefined reference to
`__ctype_b_loc'
/usr/src/libc/obj/elf/librtld.os(.text+0x519cc): undefined reference to
`__ctype_toupper_loc'
/usr/src/libc/obj/elf/librtld.os(.text+0x51a54): undefined reference to
`__ctype_b_loc'
/usr/src/libc/obj/elf/librtld.os(.text+0x51a6c): undefined reference to
`__ctype_toupper_loc'
/usr/src/libc/obj/elf/librtld.os(.text+0x51b20): undefined reference to
`__ctype_b_loc'
/usr/src/libc/obj/elf/librtld.os(.text+0x51b38): undefined reference to
`__ctype_toupper_loc'
/usr/src/libc/obj/elf/librtld.os(.text+0x51ba4): undefined reference to
`__ctype_toupper_loc'
...
I suspect include/ctype.h, which only defines these functions #ifndef
NOT_IN_libc.
I'm using gcc 3.2.1 (powerpc-gnu cross-compiler), binutils 2.13
(powerpc-gnu), and the latest CVS version of glibc (2.3.1).
Thanks,
Peter
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Undefined references to __ctype_*_loc in ld.so,
Peter Bruin <=