info-inventor-dev
[Top] [All Lists]

Re: __ctype_b

To: Michael Logan <mlogan@xxxxxxxxxxxxxxxxx>
Subject: Re: __ctype_b
From: John Harris <harris@xxxxxxxxxxxxxx>
Date: Wed, 18 Feb 2004 06:43:50 -0800 (PST)
Cc: <info-inventor-dev@xxxxxxxxxxx>
In-reply-to: <4032397C.8010901@xxxxxxxxxxxxxxxxx>
Sender: info-inventor-dev-bounce@xxxxxxxxxxx
Thanks Michael -- that worked!  John

On Tue, 17 Feb 2004, Michael Logan wrote:

> If you haven't solved it yet...
> 
> 
> I have the same problem with Performer apps on RH9.
> 
> You need to compile your source with the gcc option:
> 
>     -Wl,--wrap,__ctype_b
> 
> then compile an object (.o) from the following source
> 
>     #include <ctype.h>
> 
>     extern "C" {
>     __const unsigned short int **__wrap___ctype_b (void) {
>       return __ctype_b_loc();
>     }
>     }
> 
> and link it in.
> 
> good luck.
> 
> 
> ml
> 
> 
> 
> John Harris wrote:
> 
> >Hi,  I just tried compiling the latest inventor in Red Hat Fedora and am 
> >getting linker errors like: undefined reference to `__ctype_b'.  I see 
> >that this is a common error for RH 9.0, is there a work around?  Thanks.  
> >John
> >
> >  
> >
> 
> 
> 

-- 

---------------------------------
 John Harris
 National Center for Ecological
 Analysis and Synthesis (NCEAS)
 735 State St. Ste. 303
 Santa Barbara, CA 93101
 805-892-2531
 harris@xxxxxxxxxxxxxx
---------------------------------


<Prev in Thread] Current Thread [Next in Thread>