Re: Gnome/Gnu Libraries Question



On Thu, Sep 06, 2001 at 08:37:49PM -0700, kevin smolkowski com wrote:
> I am messing around with compiling some gnome applications and ran into
> a problem
> where I need to install what I guess are some additional gnu libraries
> but I am not
> sure which ones and just don't want to guess.
> 
> I am getting errors like:
> 
> Undefined   first referenced
>  symbol         in file
> g_free                              gnaskstr.o  (symbol belongs to
> implicit dependency /opt/gnome-1.4/lib/libglib-1.2.so.0)
> g_list_length                       gnmenu.o  (symbol belongs to
> implicit dependency /opt/gnome-1.4/lib/libglib-1.2.so.0)
> g_malloc                            gnsignal.o  (symbol belongs to
> implicit dependency /opt/gnome-1.4/lib/libglib-1.2.so.0)
> g_list_free                         gnstatus.o  (symbol belongs to
> implicit dependency /opt/gnome-1.4/lib/libglib-1.2.so.0)
> g_list_prepend                      gnsignal.o  (symbol belongs to
> implicit dependency /opt/gnome-1.4/lib/libglib-1.2.so.0)
> g_list_remove_link                  gnbind.o  (symbol belongs to
> implicit dependency /opt/gnome-1.4/lib/libglib-1.2.so.0)
> g_list_free_1                       gnbind.o  (symbol belongs to
> implicit dependency /opt/gnome-1.4/lib/libglib-1.2.so.0)
> g_snprintf                          gnmenu.o  (symbol belongs to
> implicit dependency /opt/gnome-1.4/lib/libglib-1.2.so.0)
> g_malloc0                           gnglyph.o  (symbol belongs to
> implicit dependency /opt/gnome-1.4/lib/libglib-1.2.so.0)
> 
> If someone could point me to the correct package I would be most
> grateful.  (I hope it is on sunfreeware.com).

All of these symbols are part of glib, which is pretty much at the root
of everything gtk and gnome-like. Glib provides handy-dandy wrappers
around a whole bunch of functions that are subtely different on
different platforms or insufficiently implemented.

I'm not too familiar with the way SunOS compiler messages work, but is
it trying to tell you to link with /opt/gnome-1.4/lib/libglib-1.2.so.0?
That's the sort of linkage that would be required to resolve these
symbols on other boxes.

Cheers,
Malcolm

-- 
Honk if you love peace and quiet.




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