Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] build failure mbstate_t not declared
@ 2008-07-10 18:49 Joseph G. Boike
  2008-07-10 21:35 ` Ulf Samuelsson
  0 siblings, 1 reply; 6+ messages in thread
From: Joseph G. Boike @ 2008-07-10 18:49 UTC (permalink / raw)
  To: buildroot

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 same 
error, but I wanted to keep the post short.)
Any suggestions?
Regards,
Joe

/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/./gcc/xgcc 
-B/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/./gcc/ 
-B/usr/arm-linux-uclibc/bin/ -B/usr/arm-linux-uclibc/lib/ -isystem 
/usr/arm-linux-uclibc/include -isystem /usr/arm-linux-uclibc/sys-include 
-DHAVE_CONFIG_H -I. 
-I/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1/libssp -I. -Wall 
-g -Os -MT sprintf-chk.lo -MD -MP -MF .deps/sprintf-chk.Tpo -c 
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1/libssp/sprintf-chk.c 
-o sprintf-chk.o >/dev/null 2>&1
if /bin/sh ./libtool --mode=compile 
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/./gcc/xgcc 
-B/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/./gcc/ 
-B/usr/arm-linux-uclibc/bin/ -B/usr/arm-linux-uclibc/lib/ -isystem 
/usr/arm-linux-uclibc/include -isystem /usr/arm-linux-uclibc/sys-include 
-DHAVE_CONFIG_H -I. 
-I/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1/libssp -I.    
-Wall -g -Os -MT stpcpy-chk.lo -MD -MP -MF ".deps/stpcpy-chk.Tpo" -c -o 
stpcpy-chk.lo 
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1/libssp/stpcpy-chk.c; \
    then mv -f ".deps/stpcpy-chk.Tpo" ".deps/stpcpy-chk.Plo"; else rm -f 
".deps/stpcpy-chk.Tpo"; exit 1; fi
if /bin/sh ./libtool --mode=compile 
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/./gcc/xgcc 
-B/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/./gcc/ 
-B/usr/arm-linux-uclibc/bin/ -B/usr/arm-linux-uclibc/lib/ -isystem 
/usr/arm-linux-uclibc/include -isystem /usr/arm-linux-uclibc/sys-include 
-DHAVE_CONFIG_H -I. 
-I/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1/libssp -I.    
-Wall -g -Os -MT strcat-chk.lo -MD -MP -MF ".deps/strcat-chk.Tpo" -c -o 
strcat-chk.lo 
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1/libssp/strcat-chk.c; \
    then mv -f ".deps/strcat-chk.Tpo" ".deps/strcat-chk.Plo"; else rm -f 
".deps/strcat-chk.Tpo"; exit 1; fi
In file included from 
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libstdc++-v3/include/bits/postypes.h:46,
                 from 
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libstdc++-v3/include/iosfwd:49,
                 from 
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libstdc++-v3/include/bits/stl_algobase.h:70,
                 from 
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libstdc++-v3/include/algorithm:65,
                 from 
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1/libstdc++-v3/include/precompiled/stdc++.h:55:
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libstdc++-v3/include/cwchar:72: 
error: '::mbstate_t' has not been declared
In file included from 
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libstdc++-v3/include/iosfwd:49,
                 from 
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libstdc++-v3/include/bits/stl_algobase.h:70,
                 from 
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libstdc++-v3/include/algorithm:65,
                 from 
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1/libstdc++-v3/include/precompiled/stdc++.h:55:
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libstdc++-v3/include/bits/postypes.h:211: 
error: 'mbstate_t' was not declared in this scope
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libstdc++-v3/include/bits/postypes.h:211: 
error: template argument 1 is invalid
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libstdc++-v3/include/bits/postypes.h:211: 
error: invalid type in declaration before ';' token
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libstdc++-v3/include/bits/postypes.h:213: 
error: 'mbstate_t' was not declared in this scope
/home/lorenzo/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libstdc++-v3/include/bits/postypes.h:213: 
error: template argument 1 is invalid

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] build failure mbstate_t not declared
  2008-07-10 18:49 [Buildroot] build failure mbstate_t not declared Joseph G. Boike
@ 2008-07-10 21:35 ` Ulf Samuelsson
  2008-07-11  3:57   ` Joseph G. Boike
  0 siblings, 1 reply; 6+ messages in thread
From: Ulf Samuelsson @ 2008-07-10 21:35 UTC (permalink / raw)
  To: buildroot

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 same
| 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.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFIdoCTAyRRH5cXxqwRAgMtAKCuPTXcUEcKMhemlv94qQC7P3ubTACfd2xo
Bk5agvqg6UaAf/3Fj2D34wQ=
=po97
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] build failure mbstate_t not declared
  2008-07-10 21:35 ` Ulf Samuelsson
@ 2008-07-11  3:57   ` Joseph G. Boike
  2008-07-11  4:55     ` Ulf Samuelsson
  0 siblings, 1 reply; 6+ messages in thread
From: Joseph G. Boike @ 2008-07-11  3:57 UTC (permalink / raw)
  To: buildroot

Ulf Samuelsson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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 same
> | 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.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.4-svn0 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>
> iD8DBQFIdoCTAyRRH5cXxqwRAgMtAKCuPTXcUEcKMhemlv94qQC7P3ubTACfd2xo
> Bk5agvqg6UaAf/3Fj2D34wQ=
> =po97
> -----END PGP SIGNATURE-----
Did make at91sam9260dfc_defconfig w/ the default setting everywhere 
except I chose 2.6.26 kernel and I still see the same results.
Regards,
Joe

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] build failure mbstate_t not declared
  2008-07-11  3:57   ` Joseph G. Boike
@ 2008-07-11  4:55     ` Ulf Samuelsson
  2008-07-11 11:49       ` Joseph G. Boike
  2008-07-11 19:53       ` Joseph G. Boike
  0 siblings, 2 replies; 6+ messages in thread
From: Ulf Samuelsson @ 2008-07-11  4:55 UTC (permalink / raw)
  To: buildroot

-----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 same
| | 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?

BR
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

iD8DBQFIdufQAyRRH5cXxqwRAiBFAJ9ZSQTw29WCBi2KM924Rhgrim/z/wCggG7r
gA9MQ4KOcQ+xBN543QlrpK4=
=yre7
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] build failure mbstate_t not declared
  2008-07-11  4:55     ` Ulf Samuelsson
@ 2008-07-11 11:49       ` Joseph G. Boike
  2008-07-11 19:53       ` Joseph G. Boike
  1 sibling, 0 replies; 6+ messages in thread
From: Joseph G. Boike @ 2008-07-11 11:49 UTC (permalink / raw)
  To: buildroot

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 
> same
> | | 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?
>
> BR
> 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
>
> iD8DBQFIdufQAyRRH5cXxqwRAiBFAJ9ZSQTw29WCBi2KM924Rhgrim/z/wCggG7r
> gA9MQ4KOcQ+xBN543QlrpK4=
> =yre7
> -----END PGP SIGNATURE-----
In my earlier build (rev 22508) yes I had it disabled.
But last night when I ran the "make at91...defconfig" (after doing "make 
distclean") it set BR2_USE_WCHAR=y
Does "make distclean" clear the previous toolchain?
Joe

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] build failure mbstate_t not declared
  2008-07-11  4:55     ` Ulf Samuelsson
  2008-07-11 11:49       ` Joseph G. Boike
@ 2008-07-11 19:53       ` Joseph G. Boike
  1 sibling, 0 replies; 6+ messages in thread
From: Joseph G. Boike @ 2008-07-11 19:53 UTC (permalink / raw)
  To: buildroot

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 
> same
> | | 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?
>
> BR
> 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
>
> iD8DBQFIdufQAyRRH5cXxqwRAiBFAJ9ZSQTw29WCBi2KM924Rhgrim/z/wCggG7r
> gA9MQ4KOcQ+xBN543QlrpK4=
> =yre7
> -----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 
snippet below)
So I selected latest stable kernel (2.6.25.10) 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.
Thanks,
Joe


wget --passive-ftp -nd  -P /usr/local/install/downloads 
http://ftp.kernel.org/pub/linux/kernel/v2.6//linux-2.6.26.tar.bz2
--15:49:12--  
http://ftp.kernel.org/pub/linux/kernel/v2.6//linux-2.6.26.tar.bz2
           => `/usr/local/install/downloads/linux-2.6.26.tar.bz2'
Resolving ftp.kernel.org... 204.152.191.37, 204.152.191.5
Connecting to ftp.kernel.org|204.152.191.37|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
15:49:12 ERROR 404: Not Found.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-07-11 19:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-10 18:49 [Buildroot] build failure mbstate_t not declared Joseph G. Boike
2008-07-10 21:35 ` Ulf Samuelsson
2008-07-11  3:57   ` Joseph G. Boike
2008-07-11  4:55     ` Ulf Samuelsson
2008-07-11 11:49       ` Joseph G. Boike
2008-07-11 19:53       ` Joseph G. Boike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox