Re: Problem compiling libgtop



> 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'

I came acros this today as well. The Makefile generated in the
src/daemon directory for libgtop doesn't link against the gnome
libraries, or at least not against glib. There was an ealier list
posting explaining this. 

I fixed it by hacking up the Makefile before running make, by chainging
the line reading

LIBS = -lm 

to

LIBS = -lm $(GNOME_LIBS)

I'm not sure how to fix this property in the Makefile.am

Does whoever looks after this component have any comment on this ? Thats
at least 3 people who have seen this problem now.

Simon



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