tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Robert Fridman <fridman@ucalgary.ca>
Subject: SUMMARY: C++ compatibility
Date: Tue, 21 May 2002 12:33:48 -0600	[thread overview]
Message-ID: <4A9C23A6-6CE9-11D6-A3F9-00050289719C@ucalgary.ca> (raw)
In-Reply-To: <4F9246E594DAD311BF730004ACA36C6906FEC87D@amer27.avnet.com>


Seems compiling on a 5.x system and running on a 4.x system is not 
expected to work. Compiling on a 4.x system and running on a 5.x 
system is upwards compatible and should work.

Here is Dr. Blinn's explanation:

I can't speak to whether others have seen what you see, but it's not
a surprise to me.  It's what I'd expect.

The problem might be compilation (header files on V5.1A that define
symbols that did not exist in V4.0G), more likely it is references
in libraries linked in on V5.1A that did not exist in V4.0x ever.

If you link (and perhaps compile) on V4.0G, then you can run on any
release that came out later, including V5.1 or V5.1A, and you may
be able to run on V5.0 or V5.0A as well (but that's not promised).

If you link on V5.x, you are NOT promised compatibility with V4.x.

Again, what you are seeing is what I'd expect.

Tom


Thanks to "Morris, Matt" <Matt.Morris@Avnet.com>, "Degerness, Mandell 
MSER:EX" <Mandell.Degerness@gems2.gov.bc.ca>, "Dr. 
Thomas.Blinn@Compaq.com" <tpb@doctor.zk3.dec.com>, "Ohad Imer" 
<ohad.imer@pkatech.com>

> Has anyone had problems with C++ (v6.3) programs compiled on a 5.1a
> system not running on a 4.0g system with the same C++  version?
>
> Here is the error:
>
> % ../../../bin/iptn2 -model test1.anml
> 22718:../../../bin/iptn2: /sbin/loader: Error: Unresolved symbol in
> ../../../bin/iptn2: __cf_fprintf
> 22718:../../../bin/iptn2: /sbin/loader: Error: Unresolved symbol in
> ../../../bin/iptn2: __cf_sprintf
> 22718:../../../bin/iptn2: /sbin/loader: Fatal Error: this executable
> has unresolvable symbols
>
>          Robert.
>
> -------------------------------------------------------
> Robert Fridman                  fridman@ucalgary.ca
> MACI Cluster Computing Systems Administrator
> Netera Alliance
> University of Calgary
> Phone: (403) 220-6779           Fax: (403) 282-9199
>

         Robert.

-------------------------------------------------------
Robert Fridman                  fridman@ucalgary.ca
MACI Cluster Computing Systems Administrator
Netera Alliance
University of Calgary
Phone: (403) 220-6779           Fax: (403) 282-9199



           reply	other threads:[~2002-05-21 18:33 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <4F9246E594DAD311BF730004ACA36C6906FEC87D@amer27.avnet.com>]
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