Newsgroups: comp.parallel.pvm
From: Juergen Kuersch <kue@eecs.rwth-aachen.de>
Subject: Re: Help! Please Help! pvm3 example compilation error!
Organization: Chair of Electrical Engineering and Computer Systems (EECS)
Date: Thu, 18 Sep 1997 08:50:47 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <3420CF47.495F@eecs.rwth-aachen.de>

Kumar,

make sure the flags -lnsl and -lsocket are added to this command.
Usually, these are automatically included in the ARCHLIBS macro
of the PVM makefiles, which in turn is added to the LIBS macro
prior to compilation.

A dirty workaround would be to add these flags by hand in the
./examples/Makefile.aimk file. Look for the "LIBS = ..." line, and
append -lnsl and -lsocket to it.

The purpose of this is to load the socket libraries, upon which PVM
is based.

Hope this helps,

Juergen Kuersch

-- 
----------------------------------------------------------------------------
      Juergen Kuersch,                    mailto:kue@eecs.rwth-aachen.de
             Chair of Electrical Engineering and Computer Systems
                             RWTH Aachen, Germany

