LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   __ctype_b is undefined - what version did this start (https://www.linuxquestions.org/questions/linux-newbie-8/__ctype_b-is-undefined-what-version-did-this-start-215900/)

tedsung 08-10-2004 02:59 PM

__ctype_b is undefined - what version did this start
 
Hi,

I've read some bugzilla entries about this but am still not clear.
At some point (I think in the RH 9 release), the libc internal function
__ctype_b() (and others) was removed. So if you had a static library
built from a previous version of glibc and tried to link to it with the later version of glibc, you'd get an undefined reference error.

My question is what version of RH did this start and with what version of glibc.

Thanks,

Ted

ToniT 08-10-2004 03:16 PM

Code:

toni@mario:~$ nm -D /lib/libc.so.6 | grep __ctype 
00128778 D __ctype_b
00023730 T __ctype_b_loc
00021d00 W __ctype_get_mb_cur_max
00128780 D __ctype_tolower
00023830 T __ctype_tolower_loc
00128784 D __ctype_toupper
000237b0 T __ctype_toupper_loc
0012877c D __ctype32_b
00128788 D __ctype32_tolower
0012878c D __ctype32_toupper
toni@mario:~$

It is still there in debian.

tedsung 08-10-2004 03:34 PM

the bugzilla link regarding __ctype_b()
 
This was the link that lead me to believe that at some point one of the RH9 patches changed the behavior of things:

http://bugzilla.redhat.com/bugzilla/...g.cgi?id=86465


All times are GMT -5. The time now is 11:36 PM.