compiling libgtop on solaris



Hi,

Sorry if this problem has been addressed here already.  I'm trying to
make libgtop1.1.2.1 on Solaris 7.  I'm running into symbol referencing
errors:  

gcc -g -O2 -Wall -Wunused -o libgtop_daemon gnuserv.o slave.o main.o
io.o version.o ../../lib/.libs/libgtop.a -lgen -lresolv -lsocket -lnsl
-lkvm -lkstat -lm ../../sysdeps/common/.libs/libgtop_common.a
-L/usr/openwin/lib -lXau -L/pkg/X11/lib -lglib -lgen -lresolv -lsocket
-lnsl -lkvm -lkstat -lm ../../sysdeps/solaris/.libs/libgtop_sysdeps.a
-ldl -lgen -lresolv -lsocket -lnsl -lkvm -lkstat -lm
../../sysdeps/solaris/.libs/libgtop_sysdeps_suid.a -lgen -lresolv
-lsocket -lnsl -lkvm -lkstat -lm
../../sysdeps/solaris/.libs/libgtop_sysdeps_suid.a -lgen -lresolv
-lsocket -lnsl -lkvm -lkstat -lm
../../sysdeps/common/.libs/libgtop_suid_common.a -lgen -lresolv
-lsocket -lnsl -lkvm -lkstat -lm -L/pkg/X11/lib -lglib
../../support/.libs/libgnomesupport.a -lgen -lresolv -lsocket -lnsl
-lkvm -lkstat -lm -L/usr/openwin/lib -lXau -lgen -lresolv -lsocket
-lnsl -lkvm -lkstat -lm -R/usr/openwin/lib -R/pkg/X11/lib
-R/usr/openwin/lib -R/pkg/X11/lib
Undefined                       first referenced
 symbol                             in file
glibtop_get_shm_limits_s            ../../lib/.libs/libgtop.a(lib.o)
glibtop_get_msg_limits_s            ../../lib/.libs/libgtop.a(lib.o)
glibtop_init_sem_limits_s          
../../lib/.libs/libgtop.a(sysdeps.o)
glibtop_get_sem_limits_s            ../../lib/.libs/libgtop.a(lib.o)
glibtop_init_shm_limits_s          
../../lib/.libs/libgtop.a(sysdeps.o)
glibtop_init_msg_limits_s          
../../lib/.libs/libgtop.a(sysdeps.o)
ld: fatal: Symbol referencing errors. No output written to
libgtop_daemon
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libgtop_daemon'
Current working directory
/export/performance/tools/libgtop-1.1.2.1-solaris/src/daemon

I have already read http://www.clanger9.demon.co.uk/computer/gnome/
several times, and checked my LD_LIBRARY_PATH for a libresolv.a
library.  Any help would be greatly appreciated.

Eileen

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/




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