Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 1997 18:49:04 +0000 (GMT)
From:      spork <spork@super-g.com>
To:        freebsd-questions@freebsd.org
Subject:   NOCOL and -lresolv
Message-ID:  <Pine.BSF.3.95q.970625184502.27401B-100000@super-g.inch.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970625184502.27401B-100000>