SUMMARY: C++ compatibility

From: Robert Fridman (fridman@ucalgary.ca)
Date: Tue May 21 2002 - 14:33:48 EDT


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



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:42 EDT