glibtop compile probs



I have been trying to compile libgtop 0.99.2 (and also tried 0.99.1 which
gave the same problem).  I get undefined references (below).  There are no
noticable problems when compiling libgtop_sysdeps.so.  It may be related
to the numerous compile warnings I get from guile-names.c (also below).

 

 gcc -Wall -W -g -O2 -Wall -Wno-unused -D_BSD -o .libs/libgtop_daemon
gnuserv.o slave.o main.o io.o version.o -Wl,--rpath -Wl,/usr/local/lib
./../lib/.libs/libgtop.so -lm -Wl,--rpath -Wl,/usr/local/lib
./../sysdeps/common/.libs/libgtop_common.so -L/usr/X11R6/lib -lXau
-L/usr/local/lib -lglib -lm -Wl,--rpath -Wl,/usr/local/lib
./../sysdeps/linux/.libs/libgtop_sysdeps.so -L/usr/local/lib -lglib -lm
-L/usr/local/lib -lglib -rdynamic -L/usr/local/lib -L/usr/X11R6/lib
-lgnomesupport -L/usr/X11R6/lib -lXau -lm
./../sysdeps/linux/.libs/libgtop_sysdeps.so: undefined reference to
`g_ptr_array_add'
./../sysdeps/linux/.libs/libgtop_sysdeps.so: undefined reference to
`g_log'
./../sysdeps/linux/.libs/libgtop_sysdeps.so: undefined reference to
`g_ptr_array_new'
make[3]: *** [libgtop_daemon] Error 1
make[3]: Leaving directory `/usr/tmp/gnome/libgtop-0.99.1/src/daemon'



guile-names.c:

gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -D_IN_LIBGTOP -D_GNU_SOURCE
-DGLIBTOP_NAMES -I../../.. -I../../.. -I../../../sysdeps/linux
-I../../../include -I../../../intl -I/usr/local/include
-DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include
-I/usr/local/lib/glib/include -I/usr/X11R6/include
-I/usr/local/lib/glib/include -I/usr/local/include -g -O2 -Wall
-Wno-unused -I/usr/X11R6/include -DGLIBTOP_GUILE -DGLIBTOP_GUILE_NAMES
-I/usr/local/include -DGTOPLOCALEDIR=\"/usr/local/share/locale\"
-DLIBGTOP_VERSION=\"0.99.1\" -DLIBGTOP_SERVER_VERSION=\"3\"
-DLIBGTOP_SERVER=\"/usr/local/bin/libgtop_server\" -Wall -W -g -O2 -Wall
-Wno-unused -c -fPIC -DPIC guile-names.c
guile-names.c: In function `glibtop_guile_labels_netload':
guile-names.c:56: warning: passing arg 1 of `gh_str02scm' discards `const'
from pointer target type
guile-names.c: In function `glibtop_guile_descriptions_netload':
guile-names.c:74: warning: passing arg 1 of `gh_str02scm' discards `const'
from pointer target type
guile-names.c: In function `glibtop_guile_labels_proc_args':
guile-names.c:126: warning: passing arg 1 of `gh_str02scm' discards
`const' from pointer target type
guile-names.c: In function `glibtop_guile_descriptions_proc_args':
guile-names.c:144: warning: passing arg 1 of `gh_str02scm' discards
`const' from pointer target type

etc....about 75 times




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