From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Piombino, Eduardo - Externo" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: _F64_stat symbol missing Date: Fri, 11 Mar 2005 16:42:08 -0300 Message-ID: <96E3776D41D5D811ADA500508BEF1093C89714@synbaexc1.arg.e-corpnet.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: sea.gmane.org 1110570226 16522 80.91.229.2 (11 Mar 2005 19:43:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2005 19:43:46 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Mar 11 20:43:46 2005 Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1D9pyV-0008R0-Av for gotm-tru64-unix-managers@gmane.org; Fri, 11 Mar 2005 20:39:07 +0100 Original-Received: (qmail 27821 invoked by uid 5); 11 Mar 2005 19:39:09 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 27806 invoked by uid 49501); 11 Mar 2005 19:39:08 -0000 Original-Received: from epi@synapsis-sa.com.ar by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-2.1/5.0):. Processed in 0.819026 secs); 11 Mar 2005 19:39:08 -0000 X-Spam-Status: No, hits=-2.1 required=5.0 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 11 Mar 2005 19:39:07 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0ID700F2BD902L@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 11 Mar 2005 14:39:07 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0ID700F02D8QYT@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 11 Mar 2005 14:38:59 -0500 (EST) Original-Received: from smtp.synapsis-sa.com.ar (115-23-63-200-ptr.ipbusiness.net.ar [200.63.23.115]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0ID700C9TD8GD7@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 11 Mar 2005 14:38:42 -0500 (EST) Original-Received: from [10.53.3.65] (helo=synbaexc1.synapsis.argentina) by smtp.synapsis-sa.com.ar with esmtp (Exim 3.36 #1 (Debian)) id 1D9py2-0003Gj-00 for ; Fri, 11 Mar 2005 16:38:38 -0300 Original-Received: by synbaexc1.arg.e-corpnet.org with Internet Mail Service (5.5.2650.21) id ; Fri, 11 Mar 2005 16:42:09 -0300 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Internet Mail Service (5.5.2650.21) X-Envelope-From: X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on email.cind.ornl.gov X-Spam-Level: X-MailScanner-To: gotm-tru64-unix-managers@gmane.org Xref: news.gmane.org gmane.os.tru64.managers:8124 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:8124 First of all I'd like to thank everyone who took the time to answer me. Dr Thomas.Blinn@HP.com [tpb@doctor.zk3.dec.com] andy.wagg@gb.schneider-electric.com Romani, Roberto [roberto.romani@hp.com] Brad Bell [brad@vaxxine.com] william_f_fiore_jr@speakeasy.net Situation: We have a static library (.a) compiled for Tru64 V5.1 which we want to run under V4.0. Problem arises at link time when trying to link to _F64_stat and _F64_fstat system functions, which do not exist under V4.0. All comments agree that we should either upgrade the system to V5.1 or ask for a V4.0 version of the library to the third party vendor, and that is what we are doing right now. Trying to force-link against a local version of the stat functions, or even run the compiled code aimed for V5.1 could have unpredictable results in V4.0. So that is what we are pressing for now. Thanks to everyone for sharing your thoughts. Eduardo. ============================================ Dr Thomas.Blinn@HP.com [tpb@doctor.zk3.dec.com] ... Tru64 UNIX never claimed that a third party or a customer could build an application or a library on a V5.x system and have it work correctly on V4.0x. Sometimes you get lucky, but most of the time you do not. ============================================ andy.wagg@gb.schneider-electric.com ... Unfortunately, you are correct in the two possibilities. Either your library needs to be built on V4.0 or you need to upgrade to V5.1. Operating system releases are usually upwardly compatable, i.e. something built on V4.0 is very likely to work on later versions. However, they are not backward compatible across major versions, something built on V5.1 won't work on V4.0. As in this case your libraries reference symbols that exist ib V5.1. ============================================= Romani, Roberto [roberto.romani@hp.com] ... _F64_fstat() syscall was created to support the new stat structure which has larger st_blksize and st_blocks fields to support filesystems greater than 1 terabyte. Your only two options which you have stated are not viable are: 1. Get a v4.0 version of the library from Cisco 2. Move to V5.x Tru64 Unix. Sorry I couldn't help further ============================================= Brad Bell [brad@vaxxine.com] ... You cannot take a library or binary compiled on a newer version and expect it to work on an older. (This is especially true of 5 -> 4 versions, since many system calls were updated in the runtime libraries.). I would contact cisco and ask them for 4.0 compiled libraries. They should have them available... If not you may have to do some begging for source...