LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 08-01-2005, 02:52 AM   #1
nelnel
Member
 
Registered: May 2005
Posts: 47

Rep: Reputation: 15
problem of undefined reference to `__ctype_b'


HI,
i want to compile a third party library. But when i compare it ....it shows following error:

/opt/oracle/product/9.2.0/lib/libclntst9.a(sl.o)(.text+0x405): In function `sltln':
: undefined reference to `__ctype_b'
/opt/oracle/product/9.2.0/lib/libclntst9.a(kge.o)(.text+0x2b19): In function `kgespf':
: undefined reference to `__ctype_b'
/opt/oracle/product/9.2.0/lib/libclntst9.a(kge.o)(.text+0x2d12): In function `kgespf':
: undefined reference to `__ctype_b'
...........


i try to search from google, i find that it may be the error of the glibc version. but i can't find the solution of that...

anyone has idea to solve this problem? thanks
 
Old 08-01-2005, 11:25 AM   #2
mcconnaughey
LQ Newbie
 
Registered: Jul 2005
Location: St. Louis MO
Distribution: Fedora core 3
Posts: 8

Rep: Reputation: 0
I found a struct in /usr/include/xlocale.h which has a member called __ctype_b. This is in my emperorlinux system (kernel 2.6.12).
 
Old 08-03-2005, 03:27 AM   #3
nelnel
Member
 
Registered: May 2005
Posts: 47

Original Poster
Rep: Reputation: 15
thx for ur help

i have solved the problem. I use a ctype.o compiling with the application, then the ctype linking problem can be solved. It is because the glibc version disconnect the ctype.
 
Old 08-01-2007, 01:40 AM   #4
bigbluebear
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0


I'm getting this same problem trying to link a program on rhel4 to some oracle, I would be very interested to see how you solved it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
__ctype_b undefined - what glibc version did this start tedsung Linux - Software 0 08-11-2004 10:23 AM
__ctype_b is undefined - what version did this start tedsung Linux - Newbie 2 08-10-2004 03:34 PM
Glib-1.020 install problem Can't use an undefined value as a symbol reference jimdaworm Linux - Software 1 01-03-2004 05:32 AM
2.6-test9 compile problem - undefined reference to `ide_hwifs' saint Linux - General 5 11-20-2003 04:53 PM
Yet another 'undefined reference' problem faulpelz2 Linux - Software 3 04-04-2003 11:18 AM


All times are GMT -5. The time now is 08:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration