public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Vardhan, Sundara (GE Infra, Energy)" <sundara.vardhan@ge.com>
To: "Andrew Haley" <aph@redhat.com>
Cc: "Rob Sherry" <rsherry@ahfc.state.ak.us>, <gcc-help@gcc.gnu.org>
Subject: RE: Link error
Date: Mon, 28 Jul 2008 12:14:00 -0000	[thread overview]
Message-ID: <8E460D1B58F94945A20AA70D4D41430D052DEACB@ALPMLVEM08.e2k.ad.ge.com> (raw)
In-Reply-To: <488D85FE.8060102@redhat.com>

Hi Andrew

I checked libc.a using nm and .__memmove is defined. The following is the compile/load line where it fails

gcc -W1,-soname=x.so -o x.so .*I6.o -shared   -Wall -D__USE_GNU -D_GNU_SOURCE -DDEBUG -DLEAVE_OUT_REV_ID -O2 -D_ALL_SOURCE -Drs6000  -D__EXTENSIONS__ -I/usr/openwin/include -DAIX53 -U__MATH__ -DAIX  -DRS6000 -fPIC -L<libpath> -lsbI6 -L<libpath> -ldbI6
/lib/libc.a(moveeq.o):moveeq.s:(.pr+0xc): undefined reference to `.___memmove'

I think as you have suggested, I may have compiled and installed gcc incorrectly.

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
> 
> 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 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 places.
> 
> What does this error mean?

`.___memmove' is missing.

> 
> Do you want me to send the compile/load line?

Yes.

> Thanks for your help.

You've probably incorrectly installed gcc.

Andrew.

  reply	other threads:[~2008-07-28 11:43 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-24 21:03 Vardhan, Sundara (GE Infra, Energy)
2008-07-24 23:55 ` Rob Sherry
2008-07-25 13:32   ` Vardhan, Sundara (GE Infra, Energy)
2008-07-28 11:41     ` Andrew Haley
2008-07-28 12:14       ` Vardhan, Sundara (GE Infra, Energy) [this message]
2008-07-28 13:26         ` Andrew Haley
2008-07-29  8:56           ` Ralf Wildenhues
2008-07-29 11:49             ` Andrew Haley
2008-07-29 13:43               ` Vardhan, Sundara (GE Infra, Energy)
     [not found] <AANLkTiniPnQ-ioijpQXhMC1ygSqNSZsEGW2O-OVS5Qa8@mail.gmail.com>
2010-08-12 10:18 ` Andrew Haley
  -- strict thread matches above, loose matches on Subject: below --
2009-04-01 13:23 link error Duan Wang
2009-04-01 13:42 ` Axel Freyn
2008-08-15 20:39 Link error Vardhan, Sundara (GE Infra, Energy)
2008-07-24 10:04 Vardhan, Sundara (GE Infra, Energy)
2005-10-21 20:22 link error Moon Hwang
2005-10-21 23:08 ` Brian Dessent
2002-10-17  8:11 Link error HKOELMAN
2002-08-13  6:54 Link Error Tom Browder
2002-08-13  7:16 ` Ish Rattan
2002-08-13  7:30   ` Tom Browder
2002-08-13  7:59     ` Ish Rattan
2001-06-05 14:22 link error Alex Fridman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8E460D1B58F94945A20AA70D4D41430D052DEACB@ALPMLVEM08.e2k.ad.ge.com \
    --to=sundara.vardhan@ge.com \
    --cc=aph@redhat.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=rsherry@ahfc.state.ak.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).