Problem with gnome-utils: guname with libgtop



I have an error, I cant quite get around...

Loaded libgtop 0.25 

And started to compile gnome-utils.... These were the errors

First the make :)

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/gnome/include
-DGNOMELOCALEDIR=\""/usr/local/gnome/share/locale"\" 
-I/usr/local/gnome/include -DNEED_GNOMESUPPORT_H
-I/usr/local/gnome/lib/gnome-libs/include -I/usr/X11R6/include
-I/usr/local/lib/glib/include -I/usr/local/include
-I/usr/local/gnome/include -I/usr/X11R6/include
-I/usr/local/lib/glib/include -I/usr/local/include -O6 -c moreinfo.c

In file included from /usr/local/gnome/include/libgnome/libgnome.h:13,
                 from /usr/local/gnome/include/gnome.h:10,
                 from moreinfo.c:31:

/usr/local/gnome/include/libgnome/gnome-i18n.h:30: warning: `_' redefined
/usr/local/gnome/include/glibtop/global.h:106: warning: this is the
location of the previous definition

moreinfo.c: In function `fill_mem_page':
moreinfo.c:159: warning: passing arg 2 of `fill_clist' from incompatible
pointer type
moreinfo.c:159: warning: passing arg 3 of `fill_clist' from incompatible
pointer type

Then.. It dies on this.. instantly after....
after making its lovely "O"bject file .. Isnt it pretty.

moreinfo.o: In function `load_meminfo':
moreinfo.o(.text+0xbbc): undefined reference to `glibtop_labels_mem'
moreinfo.o(.text+0xc06): undefined reference to `glibtop_labels_mem'
moreinfo.o(.text+0xc52): undefined reference to `glibtop_labels_mem'
moreinfo.o(.text+0xc9e): undefined reference to `glibtop_labels_mem'
moreinfo.o(.text+0xcea): undefined reference to `glibtop_labels_mem'
moreinfo.o(.text+0xd36): more undefined references to `glibtop_labels_mem'
follow
moreinfo.o: In function `load_meminfo':
moreinfo.o(.text+0xdd1): undefined reference to `glibtop_labels_swap'
moreinfo.o(.text+0xe1d): undefined reference to `glibtop_labels_swap'
moreinfo.o(.text+0xe69): undefined reference to `glibtop_labels_swap'

FYI: $GNOME=/usr/local/gnome (All Pointed correclty. ld.so.conf etc.)

Help...


One other thinggy:

on the make of /gtt the files: log.c, app.c and options.c I get a gettext
error...options.c:28: libintl.h: No such file or directory
make: *** [options.o] Error 1

BUT... before you answer.. I do have --with-included-gettext enabled.. And
the other dirs compile fine... Here is a Snip of say options.c	

#undef gettext
#undef _
#include <libintl.h>

This is where da problem is... BUT.. to get around it I just undef it ..
hehe... Worked But who knows maybe that is why the above broke - Doubt
it.. But hey..

Help Me o (Gnome) Gurus

Oh... Everything installed fine for gnome-libs so that tells ya somethin
about the software versions I have installed....

Alex G. Paoli




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