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

Re: __ctype_b

To: John Harris <harris@xxxxxxxxxxxxxx>
Subject: Re: __ctype_b
From: Michael Logan <mlogan@xxxxxxxxxxxxxxxxx>
Date: Tue, 17 Feb 2004 07:55:40 -0800
Cc: info-inventor-dev@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.33.0402131803390.22030-100000@hyperion.nceas.ucsb.edu>
References: <Pine.LNX.4.33.0402131803390.22030-100000@hyperion.nceas.ucsb.edu>
Sender: info-inventor-dev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
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





--
Michael Logan  (650)-604-4494  QSS Group,Inc./NASA Ames Research Center
Task Lead, Visual Cueing & Simulation
Task Lead, Dynamic Aircraft Reconfiguration & Damage Adaptive Control
MS 262-6,Moffett Field, CA, 94035
private: logan5@xxxxxxxxxxx



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