Re: [gtk-list] Re: help with ORBit





On Thu, 7 Jan 1999, Bart Kuster wrote:

> 
> 
> On Thu, 7 Jan 1999, Brandon Long wrote:
> 
> > On 01/07/99 Bart Kuster uttered the following other thing:
> > > 
> > > 
> > > On Thu, 7 Jan 1999, Brandon Long wrote:
> > > 
> > > > On 01/07/99 Kevin Saenz uttered the following other thing:
> > > > > If you continue to have difficulty please contact
> > > > > <listmaster@redhat.com>.
> > > > > I have Just installed RH5.2, and I have been installing glib-CVS,
> > > > > gtk+CVS, gtk-engines-CVS, , gtk10-1.0.6, and imlib-CVS, when I get to
> > > > > the make part I get a help of errors, from the compiler
> > > > > one is
> > > > > 
> > > > > not 64 bit interger will use 32 bit interger.
> > > > > 
> > > > > then there is another error that pops up it says
> > > > > 
> > > > > do not HAVE_GINT64
> > > > > make sure you don't have an older copy of glibconfig.h
> > > > > 
> > > > > 
> > > > > how do I fix this problem?
> > > > 
> > > > You installed gtk10-1.0.6?  That's the older version of gtk, and glib,
> > > > which will have the older copy of glibconfig.h.  Don't install that one,
> > > > reinstall glib-CVS, and recompile.
> > > Hi,
> > > 
> > > I have the same problem on my slackware 3.6-system (which has gtk 1.0.6 or
> > > so pre-installed). Even when I deleted all the files associated with gtk
> > > and reinstalled gtk 1.1.12, I could not compile ORBit... I hope someone
> > > can help us with this :)
> > 
> > You have to delete glibconfig.h
> > 
> > try locate glibconfig.h to see where it might be hiding:
> > It should be in /usr/local/lib/glib/include (or, /usr/lib/glib/include)
> > 
> > Make sure there isn't one in /usr/include/glib/
> > 
> Hi,
> 
> I tried that...i am 100% sure there is no glibconfig.h left on my system.
> I compiled glib 1.1.12, then gtk 1.1.12. Now the only glibconfig.h left on
> my system is the one installed by glib 1.1.12. I tried to install ORBit
> 0.3.0. Configure works fine, but when i run make, i get a lot of these
> warnings:
> 
> ../ORBitutil/basic_types.h:40: warning: #warning ""
> ../ORBitutil/basic_types.h:41: warning: #warning "You don't HAVE_GINT64 
> defined in glib."
> ../ORBitutil/basic_types.h:42: warning: #warning "Please make sure you 
> don't have an old glibconfig.h lying around."
> ../ORBitutil/basic_types.h:43: warning: #warning ""
> 
> Finally make stops with the following error(s):
> 
> dii.c:478: `CORBA_long_long' undeclared here (not in a function)
> dii.c:479: `CORBA_unsigned_long_long' undeclared here (not in a function)
> dii.c:517: `CORBA_long_long' undeclared here (not in a function)
> dii.c:518: `CORBA_unsigned_long_long' undeclared here (not in a function)
> dii.c: In function `ORBit_tcval_into_ulong':
> dii.c:719: `CORBA_long_long' undeclared (first use this function)
> dii.c:719: (Each undeclared identifier is reported only once
> dii.c:719: for each function it appears in.)
> dii.c:719: parse error before `)'
> dii.c:722: `CORBA_unsigned_long_long' undeclared (first use this function)
> dii.c:722: parse error before `)'
> make[3]: *** [dii.lo] Error 1
> make[3]: Leaving directory `/usr/src/ORBit-0.3.0/src/orb'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/ORBit-0.3.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/ORBit-0.3.0'
> make: *** [all-recursive-am] Error 2
> 
> Any other idea's ?

I looked in the glibconfig.h, and noticed there was no HAVE_GINT64 defined
(as ORBit seems to expect). I did see a G_HAVE_GINT64-definition, so i
just defined HAVE_GINT64 in /usr/local/lib/glib/include/glibconfig.h.

Now at least ORBit-0.3.0 compiles. Is this the solution ? Or will ORBit
not work because G_HAVE_GINT64 doesn't have anything to do with the
expected HAVE_GINT64-definition ?

Bart Kuster



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