Re: [gtk-list] Problem with gtk and Irix 5.3 (fwd)



> Date: Wed, 28 Jan 1998 14:40:35 -0600
> From: Craig Brockmeier <craig@seurat.ppco.com>
> Subject: Problem with gtk and Irix 5.3
> 
> Has anyone else reported this problem with gtk and Irix 5.3?
> 

I compiled gtk 0.99.2 and 0.99.3 successfully with gcc 2.8.0 on Irix 5.3,
with a small modification to gdk/gdk.c, mentioned below.

> With gtk+-0.99.3, I get:
> seurat % testgtk
> 14754:testgtk: rld: Fatal Error: attemped access to unresolvable symbol in /hosts/picasso/usr2/people/craig/gimp/lib/libgdk.so: _Xsetlocale

I did not see this problem. 


> 
> With gtk+-0.99.2 and gimp 0.99.17 I get:
> 
> 14781:/hosts/picasso/usr2/people/craig/gimp-17/bin/gimp17.exe: rld: Error: unresolvable symbol in /hosts/picasso/usr2/people/craig/gimp-17/lib/libgtk.so: _ctmp_
> 14781:/hosts/picasso/usr2/people/craig/gimp-17/bin/gimp17.exe: rld: Fatal Error: this executable has unresolvable symbols

I had undefined symbol errors with ctmp and iswctype().   They come from
/usr/include/wctype.h.   What I did was to add these two lines to the end of 
gdk.c:

 unsigned _iswctype(wchar_t c,int i){ return 0; }

 wchar_t _ctmp_;

then testgtk works.   I know this is just a hack, but since I don't use wide
chars yet, probably no harm done:-)

In Irix 6.2, the header files do not use _ctmp_ any more.

> I compiled with SGIs cc and gnu cc compilers, with same results.
> Any ideas on what _ctmp_ is or where it is?
> 
> Craig Brockmeier
> Phillips Petroleum


-- 
Li-Cheng Tai (Andy Tai)                       e-mail: atai@ece.ucsd.edu

Free software:  the software by the people, of the people and for the people,
worldwide.  Develop! Share! Enhance! And enjoy!



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]