Problem making with Linux 2.0.10 / Redhat 3.03

John Blakney (blakney@pacific.vdbs.com)
Wed, 4 Sep 1996 22:29:58 -0700 (PDT)

I apologize for the length of this but hopefully there is enough here to let
someone give me a hint of what to try next.

I have been trying without success to make Scotty-2.1.1 and .2. When running
make I get numerous compile warnings like these:

mount_clnt.c: In function ountproc_null_1':
mount_clnt.c:18: warning: passing arg 3 from incompatible pointer type
mount_clnt.c:18: warning: passing arg 5 from incompatible pointer type

This appears to be from the xdr_ variables defined in mount.h.

The output of ./configure is as follows:

# ./configure
loading cache ./config.cache
checking whether cross-compiling... (cached) no
checking how to run the C preprocessor... (cached) cc -E
checking for flex... (cached) flex
checking for -lfl... (cached) yes
checking for bison... (cached) bison -y
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for prefix by ... checking for scotty... (cached)
/usr/local/bin/scotty
checking size of long... (cached) 4
checking whether byte ordering is bigendian... (cached) no
checking for rpcgen... (cached) rpcgen
checking for tclsh... (cached) /usr/bin/tclsh
checking for tclConfig.sh in /usr/local/lib... yes
checking for tcl version... 7.5
checking for wish... (cached) /usr/bin/wish
checking for tkConfig.sh in /usr/local/lib... yes
checking for tk version... 4.1
checking for connect... (cached) yes
checking for gethostbyname... (cached) yes
checking for -lnsl... (cached) no
checking for -lsocket... (cached) no
checking for -lnsl... (cached) no
checking for -lieee... (cached) yes
checking for -lrpc... (cached) no
checking for -lrpcsvc... (cached) no
checking for res_mkquery... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for malloc.h... (cached) yes
checking for sys/select.h... (cached) no
checking for gethostent... (cached) yes
checking for getnetent... (cached) yes
checking for getprotoent... (cached) yes
checking for getservent... (cached) yes
checking for getrpcent... (cached) yes
checking for struct rpcent... no
checking for multicast support... yes
checking for -lsun... (cached) no
checking for -lseq... (cached) no
checking for -lgen... (cached) no
checking for getmntent... (cached) yes
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
#

The make completes with the abovementioned errors but make install fails
with the following message:

# make install
cc -rdynamic -o scotty scotty.o -L/usr/local/lib -ltcl7.5 -lieee -ldl -lm
Installing scotty2.1.2 and tnm2.1.2.so
Installing ./../tnm/library/README
Installing ./../tnm/library/dialog.tcl
Installing ./../tnm/library/output.tcl
Installing ./../tnm/library/snmp.tcl
Installing ./../tnm/library/monitor.tcl
Installing ./../tnm/library/obsolete.tcl
Installing ./../tnm/library/init.tcl
./scotty: can't resolve symbol '__dn_skipname'
initialization failed: couldn't load file "/usr/local/lib/tnm2.1.2.so":
Unable t
o resolve symbol
This usually means that you have to define the TCLLIBPATH environment
variable to point to the tnm library directory or you have to include
the path to the tnm library directory in Tcl's auto_path variable.
make: *** [tnm-install-library] Error 1
#

My environment includes:

TCLLIBPATH=/usr/local/lib/tnm2.1.2 /usr/local/lib/tkined1.4.2
TCL_LIBRARY=/usr/local/lib/tcl7.5
TK_LIBRARY=/usr/local/lib/tk4.1

I looked in tnm2.1.2.so for __dn_skipname and find it to be undefined:

# nm /usr/local/lib/tnm2.1.2.so | grep dn_skipname
U __dn_skipname

If anyone can make any suggestions as to why I can't make and install
scotty, I would be most appreciative. I am running a precompiled older
version and really want to try some new things.

-- 
John Blakney          Visual Database Systems          Scotts Valley, CA 95066 
           <blakney@vdbs.com>               http://www.vdbs.com