Re: libgtop make error



On Sun, 13 Sep 1998, Soren Harward wrote:

> To: Gnome Main List <gnome-list@gnome.org>
> Subject: libgtop make error
> From: Soren Harward <soren@cinternet.net>
> 
> Okay guys, I found a new problem, this one with libgtop:

This is because I made libgtop require glib, but I already fixed this
problem.

If your sysdeps/linux/Makefile.am does not contain the following line,
update it from CVS:

	libgtop_sysdeps_la_LIBADD       = @GLIB_LIBS@

If it does, then this is a problem either with configure not being able
to find glib to with libtool not respecting _LIBADD, but since you seem
to be using Linux this should not be the case - so probable you checked
out libgtop somewhere in the short period of time in which the requied
_LIBADD was not in Makefile.am ...

Martin

> 
> gcc -Wall -W -g -O2 -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 -rdynamic -L/opt/gnome/lib
> -L/usr/lib -L/usr/X11R6/lib -lgnomesupport -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 `/usr/src/gnomecvs/libgtop/src/daemon'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/gnomecvs/libgtop/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/gnomecvs/libgtop'
> make: *** [all-recursive-am] Error 2 
> 
> This is out of current (about 20 minutes old) CVS source.
> 
> ----------------------------------------------------------------------
>                 Soren Harward               | Windows 95/98 DOES come
>  Internet Information Systems Administrator | with a tool to recover
>                Cinternet, Inc.              | from Registry
>  Voice: 891-1228        soren@cinternet.net | corruption.
>       http://www.cinternet.net/~soren/      | It's called 'FDISK'.
> ----------------------------------------------------------------------
> 
> 
> -- 
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 

-----------------------------------------------------------------
   Martin Baulig - Angewandte Mathematik - Universitaet Trier

   baulig@castor.uni-trier.de, http://www.home-of-linux.org/
   Key: 1024-bit key with ID C8178435 created 1997/01/24 
   ID:  67 C1 84 A0 47 F5 11 C5  5F 68 4C 84 99 05 C3 92
   Finger me for public key or fetch finger.txt from the url above
------------------------------------------------------------------



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