From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Robert Fridman Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: C++ compatibility Date: Tue, 21 May 2002 12:33:48 -0600 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <4A9C23A6-6CE9-11D6-A3F9-00050289719C@ucalgary.ca> References: <4F9246E594DAD311BF730004ACA36C6906FEC87D@amer27.avnet.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 (Apple Message framework v481) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1022006507 30685 127.0.0.1 (21 May 2002 18:41:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 21 May 2002 18:41:47 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17AEZu-0007yn-00 for ; Tue, 21 May 2002 20:41:47 +0200 Original-Received: (qmail 3386 invoked by uid 5); 21 May 2002 18:35:24 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 3378 invoked from network); 21 May 2002 18:35:24 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 21 May 2002 18:35:24 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GWH00GAX4YZGK@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 21 May 2002 14:35:24 -0400 (EDT) Original-Received: from mserve1.acs.ucalgary.ca (mserve1.acs.ucalgary.ca [136.159.34.51]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GWH009KK4YOCP@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 21 May 2002 14:35:12 -0400 (EDT) Original-Received: from vs1.acs.ucalgary.ca (vs1.acs.ucalgary.ca [136.159.34.108]) by mserve1.acs.ucalgary.ca (Postfix) with ESMTP id 748AD13F4 for ; Tue, 21 May 2002 12:35:08 -0600 (MDT) Original-Received: from ucalgary.ca (mserve2.acs.ucalgary.ca [136.159.34.55]) by vs1.acs.ucalgary.ca (8.11.6/8.11.6) with ESMTP id g4LIU0e14763 for ; Tue, 21 May 2002 12:30:00 -0600 Original-Received: from acs5.acs.ucalgary.ca(136.159.34.205) by mserve2.acs.ucalgary.ca via smap (V2.0) id ZZ543262; Tue, 21 May 2002 12:33:43 -0600 In-Reply-To: <4F9246E594DAD311BF730004ACA36C6906FEC87D@amer27.avnet.com> Original-To: tru64-unix-managers@ornl.gov X-Mailer: Apple Mail (2.481) X-MailScanner: Found to be clean Xref: main.gmane.org gmane.os.tru64.managers:272 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:272 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" , "Degerness, Mandell MSER:EX" , "Dr. Thomas.Blinn@Compaq.com" , "Ohad Imer" > 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