Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Phillip Ezolt <ezolt@perf.zko.dec.com>
To: axp-list@redhat.com, scr@iis.fhg.de
Cc: jaffe@zko.dec.com
Subject: Re: CPML linkage problem
Date: Tue, 4 May 1999 13:59:34 -0400 (EDT)	[thread overview]
Message-ID: <Pine.OSF.3.96.990504135521.725P-100000@perf.zko.dec.com> (raw)
In-Reply-To: <372F03E9.794BDF32@iis.fhg.de>

Stefan,
	As a temporary work-a-round, you can also compile in the GNU libm. It
will resolve the symbol.  If you put cpml first on the command all cpml
routines will beat out the GNU libm routines.  I know people are working on
fixing this internally for the next release. 

--Phil

Digital/Compaq:                     HPSD/Benchmark Performance Engineering
Phillip.Ezolt@compaq.com                            ezolt@perf.zko.dec.com


On Tue, 4 May 1999, Stefan Schroepfer wrote:

> Hi!
> 
> I have problems when linking against a static lib that
> uses atan () from CPML (and CPML itself): the linker
> stops with "undefined reference to `__atan2'".
> 
> Using all other functions (including atan2 ()) implemeted
> in CPML I came across in that fashion works, as well as
> using CPML's atan () in code linked in as object files
> (not in a lib).
> 
> System is RH 5.1 with binutils from RH 5.2 (GNU ld 2.9.1,
> binutils-2.9.1.0.15-1), egcs 1.1.2, CPML V0.1.
> 
> Anyone else who had this problem? Is it linker or
> CPML related?
> 
> Thanks in advance,
> Stefan Schroepfer
> scr@iis.fhg.de


  reply	other threads:[~1999-05-04 18:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-04 14:27 CPML linkage problem Stefan Schroepfer
1999-05-04 17:59 ` Phillip Ezolt [this message]
1999-05-05  8:10   ` Stefan Schroepfer
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox