[Buildroot] Questions related to "Incorrect selection of the C library" error

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Sep 14 09:52:17 UTC 2011

Le Wed, 14 Sep 2011 10:16:19 +0200,
stl <st.lambert02 at gmail.com> a écrit :

> I am trying to port Buildroot for a new architecture and I am facing
> the following error when I build it:
> Checking external toolchain settings
> Incorrect selection of the C library
> The following lib (ld*-uClibc.so.*) is missing in my /lib/ dir.
> Where does this lib come from?

From the external toolchain.

> In my .config, I have selected BR2_TOOLCHAIN_EXTERNAL=y
> and I have set the path for my toolchain, and the prefix.
> But where can I set the path for my installed uClibc directory?
> ( /usr/<arch>-linux-uclibc )

In the toolchain menu:
 * Select "External toolchain" as Toolchain type
 * Select "Custom toolchain" as Toolchain
 * Put the path of your toolchain in Toolchain path


Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.

More information about the buildroot mailing list