[Buildroot] Build error "cannot find -lc"

Mitch Davis mjd+buildroot at afork.com
Tue Sep 14 04:09:49 UTC 2010


On Tue, Sep 14, 2010 at 7:19 AM, Peter Korsgaard <jacmet at uclibc.org> wrote:
>>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
>
>  Thomas> Hello,
>  Thomas> On Tue, 14 Sep 2010 02:37:22 +0900
>  Thomas> S W <sw18 at 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.

I'm still confused as to why a host-side app should need to be static linked...

I would rather not install glibc.a on my host...

Mitch.



More information about the buildroot mailing list