From: Steffen Goerzig <Steffen.Goerzig@deleteme.informatik.uni-stuttgart.de>
Newsgroups: comp.parallel.pvm
Subject: Re: Error making pvm3.4 under slackware linux
Date: Tue, 25 May 1999 12:11:09 +0200
Organization: IPVR, University of Stuttgart, Germany
Message-Id: <374A773D.A6168A8A@deleteme.informatik.uni-stuttgart.de>
References: <374A3F6D.57505E8B@aero.usyd.edu.au>
    <374A49A9.9DBCC49A@aero.usyd.edu.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Xref: ukc comp.parallel.pvm:8429


Hi,

> I got readline-2.1 library from *somewhere* and installed it, but now I get
> problems such as:
> 
> /usr/lib/libreadline.a(terminal.o): In function `_rl_enable_meta_key':
> terminal.o(.text+0x753): undefined reference to `tputs'

You can add libraries to PVM in the file "pvm3/conf/$(PVM_ARCH).def"
(for your LINUX architecture it is "pvm3/conf/LINUX.def").

Edit the ARCHLIB line:
ARCHLIB = -lreadline -lncurses

This should solve your problem.
If you don't know where to find the correct library for your
undefined reference use the nm command, e.g.:
> cd /usr/lib
> nm --print-file-name lib* | grep tputs


Steffen

-- 
---------------------------------------------------
Dipl.-Inform. Steffen Goerzig

Tel.  : (+07 11) 7816 - 452
Fax.  : (+07 11) 7816 - 250
mailto:Steffen.Goerzig@deleteme.informatik.uni-stuttgart.de
---------------------------------------------------
University of Stuttgart
Institute of Parallel and Distributed 
 High-Performance Systems (IPVR)
Applied Computer Science - Image Understanding (BV)
Breitwiesenstr. 20-22
70565 Stuttgart
Germany
---------------------------------------------------

