Re: [gtk-list] Problem with gtk and Irix 5.3 (fwd)
- From: Verzino Giovanni <verzino mars unina it>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Problem with gtk and Irix 5.3 (fwd)
- Date: Thu, 29 Jan 1998 10:00:23 +0100
Shawn T. Amundson wrote:
>
> Anyone got gtk working on IRIX 5.3, or know how to fix the
> problem below?
>
> --
> Shawn T. Amundson Complete Internet Solutions
> Senior Systems Administrator Minneapolis, Minnesota, USA
> amundson@CompleteIS.com http://www.CompleteIS.com/~amundson
>
> while (i) { last }
> i, do exist.
> forever;
>
> ---------- Forwarded message ----------
> Date: Wed, 28 Jan 1998 14:40:35 -0600
> From: Craig Brockmeier <craig@seurat.ppco.com>
> To: amundson@gimp.org
> Subject: Problem with gtk and Irix 5.3
>
> Hi!
>
> Has anyone else reported this problem with gtk and Irix 5.3?
>
> 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
>
> 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
Sorry fom my english.
The problem is in file gtkentry.c.
This file includes wctype.h and use the macro iswalnum.
This macro is defined in wctype.h as:
#define iswalnum(c) ((_ctmp_=(c)) > 255 ? _iswctype(_ctmp_,_U|_L|_N) \
: isalnum(_ctmp_))
but _ctmp_ is newer declared.
To solve the problem you must declare in gtkentry.c _ctmp_ as:
wchar_t _ctmp_;
This fix works with gtk 0.99.2, and gimp 0.99.17 works very well on my
indy with IRIX 5.3 (I use gcc 2.7.2).
Does anyone knows where is _ctmp_ declared on others systems?
--
Giovanni Verzino
MARS Center http://www.mars.unina.it/
via Comunale Tavernola ftp://ftp.mars.unina.it/
80144 Napoli, Italy
Tel:+39 081 2344433
Fax:+39 081 2347100
E-Mail:verzino@mars.unina.it
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]