From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] Build error "cannot find -lc"
Date: Mon, 13 Sep 2010 23:19:14 +0200 [thread overview]
Message-ID: <87d3sh7359.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <20100913194702.51831574@surf> (Thomas Petazzoni's message of "Mon, 13 Sep 2010 19:47:02 +0200")
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> Hello,
Thomas> On Tue, 14 Sep 2010 02:37:22 +0900
Thomas> S W <sw18@hotmail.co.jp> wrote:
>> I checked the /lib and /usr/lib, but I couldn't find
>> glibc.a file.
>> So I did "yum install glibc-static" to install the libc.a file.
>> Now it is OK with this problem.
Thomas> Ok, thanks.
Thomas> Peter, what can we do about this ? Should we enforce the fact that
Thomas> glibc-static is installed globally ? Or just if host-module-init-tools
Thomas> is going to be compiled ?
Globally I would say. host-module-init-tools probably isn't the only
package that might want to link something statically.
Perhaps we could simply try to compile (statically) && run something
like:
int main(void) { return 0; }
in dependencies.mk and error out if it fails.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2010-09-13 21:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-10 22:16 [Buildroot] Build error "cannot find -lc" S W
2010-09-11 8:52 ` Thomas Petazzoni
2010-09-11 18:09 ` S W
2010-09-13 17:37 ` S W
2010-09-13 17:47 ` Thomas Petazzoni
2010-09-13 21:19 ` Peter Korsgaard [this message]
2010-09-14 4:09 ` Mitch Davis
2010-09-13 17:51 ` [Buildroot] Build error: No rule to make target `ubootboard_config' S W
2010-09-13 18:30 ` Thomas Petazzoni
2010-09-13 20:16 ` S W
2010-09-14 17:29 ` Marcus Osdoba
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=87d3sh7359.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