linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
To: Peter Korsgaard <jacmet@sunsite.dk>
Cc: wxzzzh@163.com, linux-mtd <linux-mtd@lists.infradead.org>
Subject: Re: incompatible libmtd.a when compiling the mtd-utils
Date: Thu, 27 Jan 2011 12:15:08 +0200	[thread overview]
Message-ID: <1296123308.9948.105.camel@localhost> (raw)
In-Reply-To: <87pqrislh0.fsf@macbook.be.48ers.dk>

On Thu, 2011-01-27 at 11:13 +0100, Peter Korsgaard wrote:
> >>>>> "wxzzzh" == wxzzzh  <wxzzzh@163.com> writes:
> 
>  wxzzzh> Hi,
>  wxzzzh> I was trying to cross compile the mtd-utils-1.4.1, for ARM, using the arm-2009q3 version of arm-none-linux-gnueabi, following the instructions on http://elinux.org/CompilingMTDUtils
> 
>  wxzzzh> it always fail with saying: "/home/zh/1808/tool/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /home/zh/1808/mtd/mtd-utils-1.4.1/arm-none-linux-gnueabi/lib/libmtd.a when searching for -lmtd
>  wxzzzh> /home/zh/1808/tool/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lmtd
>  wxzzzh> collect2: ld returned 1 exit status"
> 
>  wxzzzh> How this happened? and how to solve?
>  wxzzzh> Any help appreciated. 	
> 
> Redownload the tarball or delete the lib*.a files. The first 1.4.1
> tarball contained some build files (for 32bit x86), which confuses your
> cross compiler.
> 
> Artem, there has been quite some changes since mtd-utils-1.4.1, time for
> a new release?

Yes, I'll do this as soon as I can.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

  reply	other threads:[~2011-01-27 10:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-26 15:51 incompatible libmtd.a when compiling the mtd-utils wxzzzh
2011-01-27 10:13 ` Peter Korsgaard
2011-01-27 10:15   ` Artem Bityutskiy [this message]
2011-01-29 17:08   ` Artem Bityutskiy

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=1296123308.9948.105.camel@localhost \
    --to=artem.bityutskiy@nokia.com \
    --cc=jacmet@sunsite.dk \
    --cc=linux-mtd@lists.infradead.org \
    --cc=wxzzzh@163.com \
    /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 NNTP newsgroup(s).