PROBLEMS COMPILING SCOTTY

Miquel Angel Crespi (crespi@ipc4.uib.es)
Tue, 8 Oct 1996 17:07:34 +0200

I'm trying to Compile Scotty in a SunOs environnment.

I have changed the Makefile to compile scotty into my account, and i tell me
the following message

ld tnmInit.o tnmUtil.o tnmJob.o tnmIned.o tnmSyslog.o tnmIcmp.o tnmDns.o tnmEvent.o tnmUdp.o tnmSunRpc.o tnmNtp.o tnmRpc.o tnmHttp.o tnmNetdb.o tnmUnixInit.o tnmUnixLog.o tnmUnixSocket.o mount_clnt.o mount_xdr.o ether_clnt.o ether_xdr.o rstat_clnt.o rstat_xdr.o pcnfsd_clnt.o pcnfsd_xdr.o tnmAsn1.o tnmMD5.o tnmSnmpNet.o tnmSnmpUtil.o tnmSnmpInst.o tnmSnmpSend.o tnmSnmpRecv.o tnmSnmpAgent.o tnmSnmpTcl.o tnmMibQuery.o tnmMibParser.o tnmMibTree.o tnmMibFrozen.o tnmMibTcl.o -o tnm.so -lnsl -lrpcsvc -lresolv -ll
ld: /lib/libresolv.a(gethostnamadr.o): can't mixed pic and PIC .o
*** Error code 4
make: Fatal error: Command failed for target `tnm.so'

If someone can help me , I will be very gratefoul.