Re: Problems compiling Scotty 2

Juergen Schoenwaelder (schoenw@cs.utwente.nl)
Wed, 9 Oct 1996 07:49:22 +0200

Elliot Jolesch <Elliot_Jolesch@qmgate.cc.oberlin.edu> said:

Elliot> I am running tcl7.5 and tk4.1 in Linux 2.0.0 from slackware 3.0
Elliot> I have downloaded Scotty-2.1.4 and run the configure file
Elliot> I then run the make and get a series of warnings that say:

Elliot> (example:)
Elliot> mount_clnt.c: In function 'mountproc_null_1:'
Elliot> mount_clnt.c:18: warning passing arg 3 from incompatible pointer type
Elliot> mount_clnt.c:18: warning passing arg 5 from incompatible pointer type

Elliot> This warning repeats itself for a series of different files
Elliot> and functions

Elliot> ether_clnt.c
Elliot> rstat_clnt.c
Elliot> pcnfsd_clnt.c

These warnings are caused by rpcgen which does not generate proper
prototypes. It is save to ignore these warnings.

Elliot> Then at the end of the make I get the following error:

Elliot> /usr/i486-linux/bin/ld: cannot open -ldl: No such file or directory
Elliot> make: *** [scotty] Error 1

This usually means that you have to add a symbolic link like

ln -s /lib/libdl.so.1 /lib/libdl.so

so that the linker can pick up the library.
Juergen

--
Juergen Schoenwaelder schoenw@cs.utwente.nl http://www.cs.utwente.nl/~schoenw
Computer Science Department, University of Twente,   (Fax: +31-53-489-3247)
P.O. Box 217, NL-7500 AE Enschede, The Netherlands.  (Tel. +31-53-489-3678)