Newsgroups: comp.parallel.pvm
From: Chris Humphres <chumphre@ee.duke.edu>
Subject: Re: Problem with libraries
Organization: Duke University
Date: Wed, 06 Mar 1996 10:34:31 -0500
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <313DB087.41C67EA6@ee.duke.edu>

I have seen something similar recently, and I think you are just 
missing some libraries.  Check to see if the following libraries are
being linked: -lnsl -lsocket

Chris Humphres


Ing. Luis Antonio Fasano B. wrote:
> 
> Well i have this problem:
> 
>    I compiled the source code for pvm, and i get the daemon and utilities, even the libpvm3.a library.
> 
>     The problem is that when i try to use the library (libpvm3.a) for using pvm with my application, there's an error specified, which says something like this
> 
> Well...i'm trying to compile on Solaris2.4 (SUNMP and/or SUN4SOL2)
> 
> Undefined                       first referenced
>  symbol                             in file
> socket                              libpvm3.a(lpvmshmem.o)
> xdr_short                           libpvm3.a(lpvmpack.o)
> xdrmem_create                       libpvm3.a(lpvmpack.o)
> xdr_u_int                           libpvm3.a(lpvmpack.o)
> xdr_float                           libpvm3.a(lpvmpack.o)
> xdr_u_short                         libpvm3.a(lpvmpack.o)
> xdr_int                             libpvm3.a(lpvmpack.o)
> xdr_u_long                          libpvm3.a(lpvmpack.o)
> xdr_double                          libpvm3.a(lpvmpack.o)
> xdr_long                            libpvm3.a(lpvmpack.o)
> connect                             libpvm3.a(lpvmshmem.o)
> ld

