YACP - libgtop* don't contain some functions, it seems

First, thanks to those who have helped me already today.  Most of the time,
your suggestions end up being nudges in the right direction instead of
out-right fixes, but they are a great help.

Well, I've gotten to gnome-core in the list of directories.  I've successfully
installed glib, gtk+, imlib, ORBit, gtop, gnome-libs, gnome-objc.  
When linking the cpuload applet (or any other in the same directory), it dies...

Making install in cpuload
make[2]: Entering directory `/home/ftp/src/gnomecvs/gnome/gnome-core/applets/cpuload'
/bin/sh ../../libtool --mode=link gcc -I/usr/gnome/include -Wall -Wno-unused -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith  -L/usr/gnome/lib -o cpuload_applet  cpuload.o linux-proc.o properties.o ../../panel/libpanel_applet.la -rdynamic -L/usr/gnome/lib -L/usr/X11R6/lib -L/usr/local/lib -L/usr/gnome/lib -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib -lm -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -lm -ldb -lglib -ldl
gcc -I/usr/gnome/include -Wall -Wno-unused -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -L/usr/gnome/lib -o .libs/cpuload_applet cpuload.o linux-proc.o properties.o -Wl,-rpath -Wl,/usr/gnome/lib ../../panel/.libs/libpanel_applet.so -rdynamic -L/usr/gnome/lib -L/usr/X11R6/lib -L/usr/local/lib -L/usr/gnome/lib -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib -lm -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -lm -ldb -lglib -ldl
linux-proc.o: In function `GetLoad':
linux-proc.o(.text+0x13): undefined reference to `glibtop_global_server'
linux-proc.o(.text+0x19): undefined reference to `glibtop_get_cpu_l'
make[2]: *** [cpuload_applet] Error 1
make[2]: Leaving directory `/home/ftp/src/gnomecvs/gnome/gnome-core/applets/cpuload'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/ftp/src/gnomecvs/gnome/gnome-core/applets'
make: *** [install-recursive] Error 1

ldconfig returns the following for gtop, glib:
        libgtop_sysdeps.so.1 (ELF) => /usr/gnome/lib/libgtop_sysdeps.so.1
        libgtop_sysdeps.so (ELF) => /usr/gnome/lib/libgtop_sysdeps.so
        libgtop_suid_common.so.1 (ELF) => /usr/gnome/lib/libgtop_suid_common.so.1
        libgtop_suid_common.so (ELF) => /usr/gnome/lib/libgtop_suid_common.so
        libgtop_names.so.1 (ELF) => /usr/gnome/lib/libgtop_names.so.1
        libgtop_names.so (ELF) => /usr/gnome/lib/libgtop_names.so
        libgtop_guile_names.so.1 (ELF) => /usr/gnome/lib/libgtop_guile_names.so.1
        libgtop_guile_names.so (ELF) => /usr/gnome/lib/libgtop_guile_names.so
        libgtop_guile.so.1 (ELF) => /usr/gnome/lib/libgtop_guile.so.1
        libgtop_guile.so (ELF) => /usr/gnome/lib/libgtop_guile.so
        libgtop_common.so.1 (ELF) => /usr/gnome/lib/libgtop_common.so.1
        libgtop_common.so (ELF) => /usr/gnome/lib/libgtop_common.so
        libgtop.so.1 (ELF) => /usr/gnome/lib/libgtop.so.1
        libgtop.so (ELF) => /usr/gnome/lib/libgtop.so    
        libglib.so (ELF-libc6) => /usr/gnome/lib/libglib.so
        libglib-1.1.so.4 (ELF-libc6) => /usr/gnome/lib/libglib-1.1.so.4 

These are the right libraries (from CVS earlier today).  These applets aren't
the most important in the world, but eventually, they would be nice. (In other
words, this isn't an emergency.)

Jim Smith            | Email: j-smith@physics.tamu.edu
Texas A&M University | http://people.physics.tamu.edu/jsmith/
Dept. of Physics     | Phone: (409) 845-1379

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