Re: Problem compiling libgtop



On Tue, 27 Oct 1998, John R Sheets wrote:

> Terry Finney wrote:
> 
> > ../../sysdeps/linux/.libs/libgtop_sysdeps.so: undefined reference to
> > `g_hash_table_new'
> > `g_ptr_array_add'
> > `g_strdup'
> > `g_log'
> > `g_ptr_array_new'
> > `g_hash_table_insert'
> 
> Sounds like you need a newer glib.  Apparently glib has gone through a
> lot of API-breaking changes lately, so you'll want to get a very current
> version.

That's not the problem. The problem is that an older libtool does not
pass the -lglib to the compiler so it will not even attempt to link
against glib.

Martin

-----------------------------------------------------------------
   Martin Baulig - Angewandte Mathematik - Universitaet Trier
   martin@home-of-linux.org, http://www.home-of-linux.org/
------------------------------------------------------------------



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