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




> 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.)


Hm, I had the same problem and when I looked at the configure output, it
didn't find libgtop-config under /usr/bin, which didn't surprise me,
since it was under /gnome/bin. So I added a parameter to the
autogen-script:
./autogen.sh --prefix=/opt/gnome --with-gtk-prefix=/opt/gnome
--with-libgtop-exec=/opt/gnome 

Well, this didn't do the trick either. Neither did it help when I edited
the Makefile; it still looked in /usr/bin. So finally I made a symbolic
link to it in /usr/bin, and that worked. But should it be neccessary? Is
this a bug? I just updated the cvs tree completely, since I've had other
problems lately as well.


Best regards,
Lars Erik
-- 
------------------------------------------------------------------------
Lars Erik Kolden				http://bug.studby.uio.no
+47 22 18 71 79					larskol@ifi.uio.no
+47 22 02 53 18			
<<Please don't eat my dog today, it's busy doing things with its nose.>>
------------------------------------------------------------------------



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