From owner-freebsd-questions Wed Jun 25 15:33:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA17890 for questions-outgoing; Wed, 25 Jun 1997 15:33:31 -0700 (PDT) Received: from super-g.inch.com (super-g.com [204.178.32.161]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA17883 for ; Wed, 25 Jun 1997 15:33:22 -0700 (PDT) Received: from localhost (spork@localhost) by super-g.inch.com (8.8.5/8.8.5) with SMTP id SAA27530 for ; Wed, 25 Jun 1997 18:49:04 GMT Date: Wed, 25 Jun 1997 18:49:04 +0000 (GMT) From: spork X-Sender: spork@super-g.inch.com To: freebsd-questions@freebsd.org Subject: NOCOL and -lresolv Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Not being terribly familiar with the structure of things, I'm a bit stumped on what to do with the source I have for NOCOL (an snmp-based monitoring agent ftp://ftp.navya.com/pub/vikas/nocol.tar.gz). It has a "configure" script that guesses things fairly well, but it adds this to all the makefiles: OS_LIBS=-lresolv -lcrypt OS_CFLAGS=-DFREEBSD and falls over like so: gcc -O -DNOCOL -DFREEBSD -I/usr/local/src/nocol-4.2beta5/include proc_datafile.o eventselect.o -L/usr/local/src/nocol-4.2beta5/lib -lresolv -lcrypt -lnocol -o eventselect ld: -lresolv: no match *** Error code 1 Stop. If I take that flag out (-lresolv), the compile works, but I'm curious whether things will actuall work, and why... Any help/explanations appreciated. Charles