From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14276 invoked by alias); 28 Jul 2008 11:43:50 -0000 Received: (qmail 14264 invoked by uid 22791); 28 Jul 2008 11:43:48 -0000 X-Spam-Check-By: sourceware.org Received: from ext-nj2ut-6.online-age.net (HELO ext-nj2ut-6.online-age.net) (64.14.54.235) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 28 Jul 2008 11:43:28 +0000 Received: from int-nj2ut-4.online-age.net (int-nj2ut-4.online-age.net [3.159.237.73]) by ext-nj2ut-6.online-age.net (8.13.6/8.13.6/20051114-SVVS-TLS-DNSBL) with ESMTP id m6SBhKqq030654 for ; Mon, 28 Jul 2008 07:43:21 -0400 Received: from cinmlef09.e2k.ad.ge.com (int-nj2ut-4.online-age.net [3.159.237.73]) by int-nj2ut-4.online-age.net (8.13.6/8.13.6/20050510-SVVS) with ESMTP id m6SBhKVj007103 for ; Mon, 28 Jul 2008 07:43:20 -0400 Received: from ALPMLVEM08.e2k.ad.ge.com ([3.159.17.71]) by cinmlef09.e2k.ad.ge.com with Microsoft SMTPSVC(6.0.3790.2499); Mon, 28 Jul 2008 07:43:19 -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: Mon, 28 Jul 2008 12:14:00 -0000 Message-ID: <8E460D1B58F94945A20AA70D4D41430D052DEACB@ALPMLVEM08.e2k.ad.ge.com> In-Reply-To: <488D85FE.8060102@redhat.com> From: "Vardhan, Sundara (GE Infra, Energy)" To: "Andrew Haley" Cc: "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/msg00292.txt.bz2 Hi Andrew I checked libc.a using nm and .__memmove is defined. The following is the c= ompile/load line where it fails gcc -W1,-soname=3Dx.so -o x.so .*I6.o -shared -Wall -D__USE_GNU -D_GNU_SO= URCE -DDEBUG -DLEAVE_OUT_REV_ID -O2 -D_ALL_SOURCE -Drs6000 -D__EXTENSIONS_= _ -I/usr/openwin/include -DAIX53 -U__MATH__ -DAIX -DRS6000 -fPIC -L -lsbI6 -L -ldbI6 /lib/libc.a(moveeq.o):moveeq.s:(.pr+0xc): undefined reference to `.___memmo= ve' I think as you have suggested, I may have compiled and installed gcc incorr= ectly. Hope this helps. Thanks much for your help. With Regards Vardhan -----Original Message----- From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org]On Behalf Of Andrew Haley Sent: Monday, July 28, 2008 4:41 AM To: Vardhan, Sundara (GE Infra, Energy) Cc: Rob Sherry; gcc-help@gcc.gnu.org Subject: Re: Link error Vardhan, Sundara (GE Infra, Energy) wrote: > AIX is 5.3, gcc is 4.2.3 and ld is 2.18. Yes I downloaded the source and = compiled it locally on AIX >=20 > We have a product running successfully on Solaris and AIX for many years = and we have recently > decided to port to Linux. This was done successfully. Since we used gcc o= n Linux, we decided > to go with gcc on all the OS platforms we support. Towards this goal, I d= ownloaded 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 places. >=20 > What does this error mean? `.___memmove' is missing. >=20 > Do you want me to send the compile/load line? Yes. > Thanks for your help. You've probably incorrectly installed gcc. Andrew.