Re: Problem compiling libgtop



On Tue, 27 Oct 1998, Terry Finney wrote:

> After many attempts at trying to compile Gnome from CVS (on Redhat
> 5.1), I thought I had cracked it. Then I hit this when trying to
> compile libgtop:

1.) You need libtool 1.2 (this will fix the problem you reported)

2.) Don't use the latest version from CVS, use the `libgtop_latest_stable'
    branch instead (this avoids getting other problems ...).

Martin

> 
> [Much make ouput snipped]
> gcc -Wall -W -g -O2 -Wall -Wno-unused -Wmissing-prototypes
> -Wmissing-declarations -Wpointer-arith -D_BSD -DGLIBTOP_DAEMON_SLAVE
> -o .libs/libgtop_daemon gnuserv.o slave.o main.o io.o version.o
> -Wl,-rpath -Wl,/opt/gnome/lib ../../lib/.libs/libgtop.so -Wl,-rpath
> -Wl,/opt/gnome/lib ../../sysdeps/common/.libs/libgtop_common.so
> -Wl,-rpath -Wl,/opt/gnome/lib
> ../../sysdeps/linux/.libs/libgtop_sysdeps.so -L/usr/X11R6/lib -lXau
> -lm
> ../../sysdeps/linux/.libs/libgtop_sysdeps.so: undefined reference to
> `g_hash_table_new'
> ../../sysdeps/linux/.libs/libgtop_sysdeps.so: undefined reference to
> `g_ptr_array_add'
> ../../sysdeps/linux/.libs/libgtop_sysdeps.so: undefined reference to
> `g_strdup'
> ../../sysdeps/linux/.libs/libgtop_sysdeps.so: undefined reference to
> `g_log'
> ../../sysdeps/linux/.libs/libgtop_sysdeps.so: undefined reference to
> `g_ptr_array_new'
> ../../sysdeps/linux/.libs/libgtop_sysdeps.so: undefined reference to
> `g_hash_table_insert'
> make[3]: *** [libgtop_daemon] Error 1
> make[3]: Leaving directory `/home/tfinney/gnome/libgtop/src/daemon'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/tfinney/gnome/libgtop/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/tfinney/gnome/libgtop'
> make: *** [all-recursive-am] Error 2
> 
> Could somebody please help me jump through this latest hoop?
> 
> TIA,
> 
> -- 
> Terry Finney | PGP Public Key at http://www.zanoni.demon.co.uk/
> 
> 
> -- 
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 

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