Newsgroups: comp.parallel.pvm
From: sartorio@trinity.llnl.gov (Dominic Sartorio)
Subject: help! can't link PVM3.2.6 apps on SGI's
Organization: Lawrence Livermore National Laboratory, NCD
Date: 9 Jun 1994 21:07:46 GMT
Message-ID: <2t80b3$k1c@lll-winken.llnl.gov>


This is probably a very stupid question, since it seems that other
people on this newsgroup aren't having this problem. So, please
forgive my ignorance, for I am new to PVM.

I have PVM version 3.2.6 built on an SGI Indigo running IRIX 4.0.5.
Problem is I can't link any programs that call PVM functions.

My command line is:
% cc -g program.c -L(where PVM libs are) -lpvm3 -lgpvm3

And, regardless of the program (and I've tried lots), I get the
following linker errors:

Error: Undefined:
xdrmem_create
xdr_short
xdr_int
xdr_long
xdr_float
xdr_double
xdr_u_short
xdr_u_int
xdr_u_long


I don't call these anywhere in my programs, so I don't know where
they are coming from. Does anybody know which library I'm forgetting
to include on my command line, and where it might be?

Furthermore, I've tried compiling the exact same programs with the
exact same "cc" command-line options on other machines (SUN, PMAX,
to name a few), and I've had no problems. Only on SGI's do I find
this problem.

Thanks in advance for your help!
DOM SARTORIO
sartorio@trinity.llnl.gov

