Newsgroups: comp.parallel.pvm
From: jdelsign@bbn.com (John Delsignore)
Subject: Re: libsocket hassles..
Organization: Bolt Beranek and Newman (BBN)
Date: 16 Jun 1994 18:25:38 GMT
Message-ID: <2tq5f2$7jl@info-server.bbn.com>

In article <2tn5ga$sgv@hippo.shef.ac.uk> co1dll@sunc.sheffield.ac.uk (D Lamptey) writes:
>Just getting to grips with 3.3. here. I get this message:
>
>Undefined     first referenced 
>symbol        in file
>
>endnetconfig  /usr/lib/libsocket.a(accept.o) 
>setnetconfig  /usr/lib/libsocket.a(accept.o)
>
>I am using a SUN4SOL2 machine, and I have used the famous
>"-lnsl -lsocket -lelf" libraries.

The functions endnetconfig and setnetconfig are defined in libnsl on
my Solaris 2.3 machine.  So you could try linking:

	"-lsocket -lnsl -lelf"

or, better yet:

	"-lnsl -lsocket -lnsl -lelf"

personally, I use:

	"-lelf -lnsl -lintl -lsocket"

on my application.

Cheers, John D.
-- 
John V. DelSignore, Jr.                 jdelsign@bbn.com
BBN Systems and Technologies
150 Cambridge Park Drive                Phone: (617) 873-2970
Cambridge, MA 02138                     FAX:   (617) 873-2205

