Newsgroups: comp.parallel.pvm
From: bierlox@iamk4526.mathematik.uni-karlsruhe.de (Norbert Bierlox)
Subject: Re: Problem with libraries
Organization: University of Karlsruhe, Germany
Date: 6 Mar 1996 10:56:22 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-ID: <4hjr0m$8ik@iamk4515.mathematik.uni-karlsruhe.de>

Ing. Luis Antonio Fasano B. (lfasano@foreigner) 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

Hello 

it sounds like my problem compiling at SUNMP or SUN4SOL2
here my "compile-script"

  if ($PVM_ARCH == SUNMP || $PVM_ARCH == SUN4SOL2) then
    echo an MP-architecture
    cc -g -o ./$1 ... $PVM_ROOT/lib/$PVM_ARCH/libpvm3.a -lnsl -lsocket -lthread
                  ^^^special object-files deleted
  else
    cc -g -p -o ./$1 ... $PVM_ROOT/lib/$PVM_ARCH/libpvm3.a -lm
                     ^^^special object-files deleted
  endif
  
hope it helps

       ciao norbert

----
email: bierlox@iamk4508.mathematik.uni-karlsruhe.de





