From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18608 invoked by alias); 25 Jul 2008 02:15:42 -0000 Received: (qmail 18597 invoked by uid 22791); 25 Jul 2008 02:15:41 -0000 X-Spam-Check-By: sourceware.org Received: from Ext-cn0ut-8.online-age.net (HELO ext-cn0ut-8.online-age.net) (63.210.253.238) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 25 Jul 2008 02:15:20 +0000 Received: from int-cn0ut-5.online-age.net (int-cn0ut-5.online-age.net [3.159.252.74]) by ext-cn0ut-8.online-age.net (8.13.6/8.13.6/20051114-SVVS-TLS-DNSBL) with ESMTP id m6P2FHA5030199 for ; Thu, 24 Jul 2008 22:15:17 -0400 Received: from cinmlef11.e2k.ad.ge.com (int-cn0ut-5.online-age.net [3.159.252.74]) by int-cn0ut-5.online-age.net (8.13.6/8.13.6/20050510-SVVS) with ESMTP id m6P2FHlI015452 for ; Thu, 24 Jul 2008 22:15:17 -0400 Received: from ALPMLVEM08.e2k.ad.ge.com ([3.159.17.71]) by cinmlef11.e2k.ad.ge.com with Microsoft SMTPSVC(6.0.3790.2499); Thu, 24 Jul 2008 22:15:17 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Link error Date: Fri, 25 Jul 2008 13:32:00 -0000 Message-ID: <8E460D1B58F94945A20AA70D4D41430D052DEAB4@ALPMLVEM08.e2k.ad.ge.com> In-Reply-To: <67FE68BC8D0EF344AFF138ADAA57AC6301305951@bridge.ahfc.state.ak.us> From: "Vardhan, Sundara (GE Infra, Energy)" To: "Rob Sherry" , X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-07/txt/msg00274.txt.bz2 Hi=20 AIX is 5.3, gcc is 4.2.3 and ld is 2.18. Yes I downloaded the source and co= mpiled it locally on AIX We have a product running successfully on Solaris and AIX for many years an= d we have recently decided to port to Linux. This was done successfully. Si= nce we used gcc on Linux, we decided to go with gcc on all the OS platforms= we support. Towards this goal, I downloaded gcc 4.2.3 on AIX and Solaris. = Compiled on AIX and installed it successfully. When I tried to use this gcc= to compile the product code, the below error occurs only in couple of plac= es. What does this error mean? Do you want me to send the compile/load line? Thanks for your help. With Regards Vardhan -----Original Message----- From: Rob Sherry [mailto:rsherry@ahfc.state.ak.us] Sent: Thursday, July 24, 2008 5:03 PM To: Vardhan, Sundara (GE Infra, Energy); gcc-help@gcc.gnu.org Subject: RE: Link error > Vardhan, Sundara (GE Infra, Energy) wrote: > > When I try to link in AIX using gcc/ and gnu ld, I get the following > error What versions of AIX, gcc, and ld are you using? Are you using the IBM-compiled gcc, or a local build? Is whatever version of AIX you have current? You might try checking with IBM support to see if they have any outstanding issues with the version mix you're using at your site. What are you trying to compile? You mention things working on Linux, so is this a homebuilt program, or a package you're porting? If it's a package, does whatever documentation that came with it have any references for AIX builds? > The same make file works fine in Linux. Please help. I doubt it's the makefile that's the problem... BTW, I have gcc 4.1.0 running on AIX 5.3 and 6.1, and gcc 4.2.3 on=20 6.1 and all work just fine for 99% of the pre-packaged things I've found, and all of my custom apps (except for my own errors, of course...).=20 We're going to need a bit more information here. Rob Rob Sherry System Administrator Alaska Housing Finance Corporation Anchorage, AK