[Buildroot] build failure mbstate_t not declared
Joseph G. Boike
joe.boike at acsatlanta.com
Fri Jul 11 19:53:47 UTC 2008
Ulf Samuelsson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Joseph G. Boike skrev:
> | Ulf Samuelsson wrote:
> | Joseph G. Boike skrev:
> | | Hi,
> | | I checked out the latest buildroot and tried to build it but keep
> | | getting errors regarding mbstate_t not being declared.
> | | Here's a section of the output (there are many more lines with the
> | | error, but I wanted to keep the post short.)
> | | Any suggestions?
> | Try building an existing board which is known to work.
> | $ make at91sam9260dfc_defconfig
> | $ make
> | BR
> | Ulf Samuelsson.
> | Did make at91sam9260dfc_defconfig w/ the default setting everywhere
> | except I chose 2.6.26 kernel and I still see the same results.
> google -> mbstate_t is defined in wchar.h which gets included
> if you enable WCHAR.
> You are sure you did not disable this in buildroot?
> Ulf Samuelsson
> | Regards,
> | Joe
> | _______________________________________________
> | buildroot mailing list
> | buildroot at uclibc.org
> | http://busybox.net/mailman/listinfo/buildroot
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.4-svn0 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
> -----END PGP SIGNATURE-----
Ok, I deleted everything under toolchain_build_arm and tried to make the
at91sam9260dfc_defconfig again with 2.6.26 kernel.
I got an immediate failure that ftp://...2.6.26.tar.bz2 not found. (See
So I selected latest stable kernel (126.96.36.199) and ran make again.
This time had success!
So moral is "make distclean" doesn't effect the toolchain and they need
to be removed manually.
wget --passive-ftp -nd -P /usr/local/install/downloads
Resolving ftp.kernel.org... 188.8.131.52, 184.108.40.206
Connecting to ftp.kernel.org|220.127.116.11|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
15:49:12 ERROR 404: Not Found.
More information about the buildroot