All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] Error configuring MPFR - "libgmp not found or uses a different ABI"
Date: Sun, 24 May 2009 22:10:45 +0200	[thread overview]
Message-ID: <87ab52feii.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1243194212.21457.1317005177@webmail.messagingengine.com> (Adam McLaurin's message of "Sun\, 24 May 2009 15\:43\:32 -0400")

>>>>> "Adam" == Adam McLaurin <buildroot@irotas.net> writes:

 Adam> I checked out the latest buildroot from git this morning and
 Adam> unfortunately cannot get it to build successfully.

From mpfr.config.log we see:

/home/irotas/sandboxes/buildroot/build_i686/gmp-4.2.4/.libs/libgmp.so: undefined reference to `_IO_getc'
/home/irotas/sandboxes/buildroot/build_i686/gmp-4.2.4/.libs/libgmp.so: undefined reference to `__ctype_b_loc'
/home/irotas/sandboxes/buildroot/build_i686/gmp-4.2.4/.libs/libgmp.so: undefined reference to `_IO_putc'
collect2: ld returned 1 exit status

This if gmp/mpfr for the target, E.G. for the compiler running on the target.
_IO_getc is a glibc specific feature, so it seems like the gmp build
system gets confused when cross compiling and target=host and ends up
using the host compiler / include files.

I'll try to track it down.

-- 
Bye, Peter Korsgaard

      reply	other threads:[~2009-05-24 20:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-24 19:43 [Buildroot] Error configuring MPFR - "libgmp not found or uses a different ABI" Adam McLaurin
2009-05-24 20:10 ` Peter Korsgaard [this message]

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=87ab52feii.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.