From: Peter Korsgaard <jacmet@sunsite.dk>
To: wxzzzh@163.com, Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Cc: linux-mtd <linux-mtd@lists.infradead.org>
Subject: Re: incompatible libmtd.a when compiling the mtd-utils
Date: Thu, 27 Jan 2011 11:13:31 +0100 [thread overview]
Message-ID: <87pqrislh0.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <201101262351090621559@163.com> (wxzzzh@163.com's message of "Wed, 26 Jan 2011 23:51:09 +0800")
>>>>> "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?
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2011-01-27 10:13 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 [this message]
2011-01-27 10:15 ` Artem Bityutskiy
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=87pqrislh0.fsf@macbook.be.48ers.dk \
--to=jacmet@sunsite.dk \
--cc=Artem.Bityutskiy@nokia.com \
--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 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.