Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] MTD build failing: undefined ref's  to bcopy, bcmp
Date: Mon, 18 Jan 2010 00:29:30 +0100	[thread overview]
Message-ID: <87wrzgnwdh.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <hi377d$1i5$1@ger.gmane.org> (Grant Edwards's message of "Wed, 6 Jan 2010 23:43:41 +0000 (UTC)")

>>>>> "Grant" == Grant Edwards <grant.b.edwards@gmail.com> writes:

 Grant> The u-boot-env-tools-on-target build was failing because mtd.h
 Grant> wasn't found, so in an attempt to fix that I tried selecting
 Grant> BR2_PACKAGE_MTD and BR2_PACKAGE_MTD_UTILS.  Now that's failing
 Grant> to build because of undefined references to bcopy, bcmp, bzero
 Grant> (make output below).

 Grant> Is there a trick to get mtd stuff to build?

Yes, we need a workaround similar to what we are doing for
mtd-utils.git. I've checked in a fix for this earlier tonight.

This broke when we updated to mtd-tuils 1.2.0. I'll update to 1.3.1
tomorrow after a bit of testing.

 Grant> Is BR2_PACKAGE_MTD/BR2_PACKAGE_MTD_UTILS actually what I need
 Grant> to provide mtd.h for building the u-boot env set/get target
 Grant> tools, or does mtd.h come from somewhere else?

No, mtd.h normally comes from your kernel headers.

-- 
Bye, Peter Korsgaard

      parent reply	other threads:[~2010-01-17 23:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-06 23:43 [Buildroot] MTD build failing: undefined ref's to bcopy, bcmp Grant Edwards
2010-01-07  6:08 ` Grant Edwards
2010-01-07  6:46   ` Grant Edwards
2010-01-07 17:02 ` Grant Edwards
2010-01-07 17:37   ` Thomas Petazzoni
2010-01-07 17:57     ` Grant Edwards
2010-01-07 22:30       ` Grant Edwards
2010-01-08  7:57         ` Thomas Petazzoni
2010-01-17 23:29 ` 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=87wrzgnwdh.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox