Re: [gtk-list] Compiling 1.2.7 on Solaris



This is strange. XNDestroyCallback, XRegisterIMInstantiateCallback and
XUnregisterIMInstantiateCallback are defined
in /usr/openwin/include/X11/Xlib.h at SunOS 5.7(Solaris7).
Take a look at config.status of your gtk+1.2.7 build, and see if x_includes
should be replaced with /usr/openwin/include properly.

I've built gtk+1.2.7 on both Solaris7 and Solaris8 without any problem.

-toshi

----- Original Message -----
From: Charles M. Gagnon <charlesg@colltech.com>
To: <gtk-list@redhat.com>
Sent: Sunday, April 23, 2000 1:26 PM
Subject: [gtk-list] Compiling 1.2.7 on Solaris


> I have SunOs 5.7 boxes that are patched and I'm trying to
> compile 1.2.7 on them. Does anyone know how to fix this?
>
> I get the following errors:
>
> gdkim.c: In function `gdk_im_destroy_cb':
> gdkim.c:351: warning: implicit declaration of function
`XRegisterIMInstantiateCallback'
> gdkim.c: In function `gdk_im_instantiate_cb':
> gdkim.c:366: warning: implicit declaration of function
`XUnregisterIMInstantiateCallback'
> gdkim.c: In function `gdk_im_real_open':
> gdkim.c:389: warning: implicit declaration of function `XSetIMValues'
> gdkim.c:389: `XNDestroyCallback' undeclared (first use in this function)
> gdkim.c:389: (Each undeclared identifier is reported only once
> gdkim.c:389: for each function it appears in.)
> gdkim.c: In function `gdk_ic_real_new':
> gdkim.c:480: warning: assignment from incompatible pointer type
> gdkim.c:499: warning: assignment from incompatible pointer type
> gdkim.c:517: warning: assignment from incompatible pointer type
> gdkim.c: In function `gdk_ic_get_attr':
> gdkim.c:1287: warning: assignment from incompatible pointer type
> gdkim.c:1305: warning: assignment from incompatible pointer type
> gdkim.c:1325: warning: assignment from incompatible pointer type
> make[2]: *** [gdkim.lo] Error 1
> make[2]: Leaving directory
`/usr/soft/gtk-1.2.7/src/default/5.7/gtk+-1.2.7/gdk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
`/usr/soft/gtk-1.2.7/src/default/5.7/gtk+-1.2.7'
> make: *** [all-recursive-am] Error 2
>
> --
> Charles Gagnon                   | My views are my views and they
> http://unixrealm.com             | do not represent those of anybody
> charlesg@unixrealm.com           | but me.
>
>    Nobody in football should be called a genius. A genius is a guy
>    like Norman Einstein.
>         -- Football commentator and former player Joe Theisman
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com <
/dev/null
>
>



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