Re: Compile problems with gnome-libs-0.99.7



Rob Naccarato wrote:
> 
> Platform: Linux 2.2.1, glibc 2.0.7, egcs egcs-2.90.29.
> 
> I can't seem to get gnome-libs-0.99.7 compiled. I get this failure
> message:
> 
> orbitgtk.c:73: parse error before `gnome_ORBit_request_validate'
> orbitgtk.c:76: warning: return-type defaults to `int'
> orbitgtk.c: In function `gnome_ORBit_request_validate':
> orbitgtk.c:80: `ORBIT_MESSAGE_ALLOW_ALL' undeclared (first use this
> function)
> orbitgtk.c:80: (Each undeclared identifier is reported only once
> orbitgtk.c:80: for each function it appears in.)
> orbitgtk.c:82: `ORBIT_MESSAGE_BAD' undeclared (first use this function)
> orbitgtk.c:83: warning: control reaches end of non-void function
> orbitgtk.c: In function `_gnorba_cookie_setup':
> orbitgtk.c:198: warning: passing arg 1 of
> `ORBit_set_request_validation_handler' from incompatible pointer type
> make[2]: *** [orbitgtk.lo] Error 1
> make[2]: Leaving directory
> `/usr/local/src/X11/gnome/gnome/gnome-libs-0.99.7/libgnorba'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/usr/local/src/X11/gnome/gnome/gnome-libs-0.99.7'
> make: *** [all-recursive-am] Error 2
> 
> As well, during the compilation, I tend to get these messages:
> 
> *** Warning: This library needs some functionality provided by -lz.
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> 
> This I can't understand, as I have all the libraries installed...
> Any hints would be welcome.
> 
I had this problem too. There were two problems. The first was that
I had installed the new libraries in /usr/local/lib, and the second was
that my old Slackware distribution had the following line in /etc/magic:
>>16    leshort         3               dynamic lib
but the problem is that configure does a ``file'' on the lib and checks
for ``shared object'', so I just changed that line in my /etc/magic file
to read as follows:
>>16    leshort         3               shared object

It fixed some of my gnome linking problems, you can check it by doing
a ``file'' yourself on the libraries in question and seeing what is
printed.

Adam.
-- 
Signs of crime: screaming or cries for help.
                -- from the Brown Security Crime Prevention Pamphlet



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