public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andrew Haley <aph@redhat.com>
To: java@gcc.gnu.org
Subject: Re: libgcj.so: undefined reference to `ip'
Date: Thu, 16 Dec 2010 09:30:00 -0000	[thread overview]
Message-ID: <4D09DC29.6070809@redhat.com> (raw)
In-Reply-To: <AANLkTimZ_Vdp_-=fMnnrGS75zX80fKSFDzqA-Sb-OLqo@mail.gmail.com>

On 12/16/2010 03:09 AM, Xingxing Pan wrote:
> Hi, guys.
>
> I'm compiling gcc-4.4.2 on arm similar platform and getting a fail
> during the link stage.
> Using command `nm' to read symbols in libgcj.so, i find the symbol
> `ip' is undefined.
> I grep the libjava directory, but cannot find the definition for `ip'.
> Could someone tell me where its definition and use which library to
> resolve the reference in libgcj.so?

Go through all the object files in the build dir:

find . -name '*.o' | while read i
do
echo $i
nm $i | egrep '\<ip\>'
done

You may get a lot of false positives, but see how that goes.

Andrew.

  reply	other threads:[~2010-12-16  9:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-16  3:09 Xingxing Pan
2010-12-16  9:30 ` Andrew Haley [this message]
2010-12-16 10:57 ` Xingxing Pan

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=4D09DC29.6070809@redhat.com \
    --to=aph@redhat.com \
    --cc=java@gcc.gnu.org \
    /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).