* [Buildroot] build python failed
@ 2011-02-21 8:33 Marco
2011-02-21 8:41 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Marco @ 2011-02-21 8:33 UTC (permalink / raw)
To: buildroot
Hi, All
my buildroot has git pulled, and my target is at91sam9260. I choose
python package via make menuconfig, but make failed:
In file included from Include/Python.h:86,
> from ./Modules/python.c:4:
> Include/unicodeobject.h:575: warning: type defaults to 'int' in declaration
> of 'wchar_t'
> Include/unicodeobject.h:575: error: expected ';', ',' or ')' before '*'
> token
> In file included from Include/Python.h:86,
> from ./Modules/python.c:4:
> Include/unicodeobject.h:593: warning: type defaults to 'int' in declaration
> of 'wchar_t'
> Include/unicodeobject.h:593: error: expected ';', ',' or ')' before '*'
> token
> make[1]: *** [Modules/python.o] Error 1
> make[1]: Leaving directory
> `/home/marco/est_works/proj/concentrator/buildroot/output/build/python-2.7.1'
> make: ***
> [/home/marco/est_works/proj/concentrator/buildroot/output/build/python-2.7.1/.stamp_built]
> Error 2
>
>
How can I fix the error and using python in ARM? Thank you!!!
--
LinuX
Violin
Canon EOS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110221/b19d6613/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] build python failed
2011-02-21 8:33 [Buildroot] build python failed Marco
@ 2011-02-21 8:41 ` Peter Korsgaard
2011-02-21 10:24 ` Marco
0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2011-02-21 8:41 UTC (permalink / raw)
To: buildroot
>>>>> "Marco" == Marco <chopin1998@gmail.com> writes:
Marco> Hi, All
Marco> ??? my buildroot has git pulled, and my target is at91sam9260. I
Marco> choose python package via make menuconfig, but make failed:
Marco> In file included from Include/Python.h:86,
Marco> ???????????????? from ./Modules/python.c:4:
Marco> Include/unicodeobject.h:575: warning: type defaults to 'int' in declaration
Marco> of 'wchar_t'
It doesn't find the wchar_t type.
Python does depend on wchar support in the toolchain, so you probably
have done a build without wchar, and then gone and added wchar support
and python without doing a clean rebuild.
For this kind of toolchain changes you need to do make clean; make.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] build python failed
2011-02-21 8:41 ` Peter Korsgaard
@ 2011-02-21 10:24 ` Marco
0 siblings, 0 replies; 3+ messages in thread
From: Marco @ 2011-02-21 10:24 UTC (permalink / raw)
To: buildroot
WOW, that' cool! Python running!
Thank thee very much!
On Mon, Feb 21, 2011 at 4:41 PM, Peter Korsgaard <jacmet@uclibc.org> wrote:
> >>>>> "Marco" == Marco <chopin1998@gmail.com> writes:
>
> Marco> Hi, All
>
> Marco> my buildroot has git pulled, and my target is at91sam9260. I
> Marco> choose python package via make menuconfig, but make failed:
>
>
> Marco> In file included from Include/Python.h:86,
> Marco> from ./Modules/python.c:4:
> Marco> Include/unicodeobject.h:575: warning: type defaults to 'int' in
> declaration
> Marco> of 'wchar_t'
>
> It doesn't find the wchar_t type.
>
> Python does depend on wchar support in the toolchain, so you probably
> have done a build without wchar, and then gone and added wchar support
> and python without doing a clean rebuild.
>
> For this kind of toolchain changes you need to do make clean; make.
>
>
> --
> Bye, Peter Korsgaard
>
--
LinuX
Violin
Canon EOS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110221/9d683055/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-21 10:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-21 8:33 [Buildroot] build python failed Marco
2011-02-21 8:41 ` Peter Korsgaard
2011-02-21 10:24 ` Marco
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox