* [Buildroot] first things first for a newbie
@ 2012-01-28 19:32 MERCADIER Johann
2012-01-28 19:39 ` Yegor Yefremov
2012-01-28 21:45 ` Thomas Petazzoni
0 siblings, 2 replies; 6+ messages in thread
From: MERCADIER Johann @ 2012-01-28 19:32 UTC (permalink / raw)
To: buildroot
Hello everybody,
I am newbie in the embedded computer world. I first start with Buildroot
as it seems to be more "simple" and straight forward while having to deal
with just few configs and cards.
But! nothing seems to way it should and I feel pretty annoyed by this as
I cannot find any relevant help on the internet or through misc. books.
Most of the time what I found is tutorial where everything seems to work
fine.
So my first question is why Buildroot has no Forum or a good developped
FAQ? I don't really understand why it so great to work with mailing list?
If I have to I will do it this way (o_-)
My second question is more technical and is related to PandaBoard. I
finally decided to by one for misc purposes. To build everything I need I
got first Buildroot 2011.11
I use the following:
BR2_DEFAULT_KERNEL_HEADERS="3.0.4"
BR2_UCLIBC_VERSION_STRING="0.9.32"
BR2_BINUTILS_VERSION="2.21.1"
BR2_TOOLCHAIN_BUILDROOT=y
BR2_cortex_a9=y
BR2_ARM_TYPE="ARM_CORTEXA9"
BR2_ARM_EABI=y
BR2_ARCH="arm"
BR2_ENDIAN="LITTLE"
BR2_GCC_TARGET_TUNE="cortex-a9"
BR2_GCC_TARGET_ARCH="armv7-a"
BR2_GCC_TARGET_ABI="aapcs-linux"
BR2_arm=y
When I try to build the TC it doesn't work well and I get an issue with
'gettext' while I've got everything on my host computer. I then remove all
related part to gettext as i18n stuff and WCHAR then I got a TC. Then I do
again a 'make menuconfig' add the locale and do a 'time make V=1' I got a
TC whith the locale. strange behaviour, probably some dependencies and jobs
to be done in a given order?
On the next stage I try to go further configuring the uClibc, busybox,
and file support everything working fine, then I got such a kind of error
if I try to add GDB for the target, host, and server part
"
/media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:22:29:
error: expected ')' before 'ucs'
/media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:72:21:
error: expected ')' before 'ucs'
/media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:139:28:
error: expected ';', ',' or ')' before '*' token
/media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:161:32:
error: expected ')' before 'ucs'
/media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:230:32:
error: expected ';', ',' or ')' before '*' token
make[3]: *** [wcwidth.o] Error 1
make[2]: *** [all-readline] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all] Error 2
make: ***
[/media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/build/gdb-7.3.1-target/gdb/gdb]
Error 2
"
I don't know what to look after, should I have a look into the 'wcwidth.c'
program file? Could it be wrong? or it come from some other part.
Any help is welcome ;o)
bye
--
Cordialement.
___Johann MERCADIER___
:(){ :|:& };:
"I am the Unknown lead by the Unknowing.
I have done so much with so little for so long
that I am now qualified to do anything with nothing."
HOOSEEK (http://www.hooseek.com/) 1?moteur de recherche solidaire!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120128/8aef9b0e/attachment.html>
^ permalink raw reply [flat|nested] 6+ messages in thread* [Buildroot] first things first for a newbie
2012-01-28 19:32 [Buildroot] first things first for a newbie MERCADIER Johann
@ 2012-01-28 19:39 ` Yegor Yefremov
2012-01-28 21:03 ` MERCADIER Johann
2012-01-28 21:45 ` Thomas Petazzoni
1 sibling, 1 reply; 6+ messages in thread
From: Yegor Yefremov @ 2012-01-28 19:39 UTC (permalink / raw)
To: buildroot
On Sat, Jan 28, 2012 at 8:32 PM, MERCADIER Johann
<johann.mercadier@imerir.com> wrote:
> Hello everybody,
> ??I am newbie in the embedded computer world. I first start with Buildroot
> as it seems to be more "simple" and straight forward while having to deal
> with just few configs and cards.
> ??But! nothing seems to way it should and I feel pretty annoyed by this as I
> cannot find any relevant help on the internet or through misc. books. Most
> of the time what I found is tutorial where everything seems to work fine.
> ??So my first question is why Buildroot has no Forum or a good developped
> FAQ? I don't really understand why it so great to work with mailing list? If
> I have to I will do it this way ?(o_-)
>
> ??My second question is more technical and is related to PandaBoard. I
> finally decided to by one for misc purposes. To build everything I need I
> got first Buildroot 2011.11
>
> ?? I use the following:
> ?? ? BR2_DEFAULT_KERNEL_HEADERS="3.0.4"
> ?? ? BR2_UCLIBC_VERSION_STRING="0.9.32"
> ?? ? BR2_BINUTILS_VERSION="2.21.1"
> ?? ??BR2_TOOLCHAIN_BUILDROOT=y
> ?? ??BR2_cortex_a9=y
> ?? ? BR2_ARM_TYPE="ARM_CORTEXA9"
> ?? ? BR2_ARM_EABI=y
> ?? ? BR2_ARCH="arm"
> ?? ? BR2_ENDIAN="LITTLE"
> ?? ? BR2_GCC_TARGET_TUNE="cortex-a9"
> ?? ? BR2_GCC_TARGET_ARCH="armv7-a"
> ?? ? BR2_GCC_TARGET_ABI="aapcs-linux"
> ?? ? BR2_arm=y
>
> ??When I try to build the TC it doesn't work well and I get an issue with
> 'gettext' while I've got everything on my host computer. I then remove all
> related part to gettext as i18n stuff and WCHAR then I got a TC. Then I do
> again a 'make menuconfig' add the locale and do a 'time make V=1' I got a TC
> whith the locale. strange behaviour, probably some dependencies and jobs to
> be done in a given order?
> ??On the next stage I try to go further ?configuring the uClibc, busybox,
> and file support everything working fine, then I got such a kind of error if
> I try to add GDB for the target, host, and server part
> "
> /media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:22:29:
> error: expected ')' before 'ucs'
> /media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:72:21:
> error: expected ')' before 'ucs'
> /media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:139:28:
> error: expected ';', ',' or ')' before '*' token
> /media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:161:32:
> error: expected ')' before 'ucs'
> /media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:230:32:
> error: expected ';', ',' or ')' before '*' token
> make[3]: *** [wcwidth.o] Error 1
> make[2]: *** [all-readline] Error 2
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [all] Error 2
> make: ***
> [/media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/build/gdb-7.3.1-target/gdb/gdb]
> Error 2
> "
> ?I don't know what to look after, should I have a look into the 'wcwidth.c'
> program file? Could it be wrong? or it come from some other part.
Have you tried one of the CodeSourcery toolchains? It will save a lot
of build time.
Yegor
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] first things first for a newbie
2012-01-28 19:39 ` Yegor Yefremov
@ 2012-01-28 21:03 ` MERCADIER Johann
0 siblings, 0 replies; 6+ messages in thread
From: MERCADIER Johann @ 2012-01-28 21:03 UTC (permalink / raw)
To: buildroot
Hi Yegor,
I've already tested CS and EDLK ToolChain. For "normal" use they are good
enough and work well. But they are 2 thinks I don't like:
i) We are dependant of a company (i.e DENX, MENTOR GRAPHIC...) they
do what they like...
ii) When you want to use MPFR/OMP or some other features I think is
better to know how to build his own personnal stuff.
That's why I try to learn this way. And it's a good training I guess
before going further :o))
bye
Johann
On 28 January 2012 19:39, Yegor Yefremov <yegorslists@googlemail.com> wrote:
> On Sat, Jan 28, 2012 at 8:32 PM, MERCADIER Johann
> <johann.mercadier@imerir.com> wrote:
> > Hello everybody,
> > I am newbie in the embedded computer world. I first start with
> Buildroot
> > as it seems to be more "simple" and straight forward while having to deal
> > with just few configs and cards.
> > But! nothing seems to way it should and I feel pretty annoyed by this
> as I
> > cannot find any relevant help on the internet or through misc. books.
> Most
> > of the time what I found is tutorial where everything seems to work fine.
> > So my first question is why Buildroot has no Forum or a good developped
> > FAQ? I don't really understand why it so great to work with mailing
> list? If
> > I have to I will do it this way (o_-)
> >
> > My second question is more technical and is related to PandaBoard. I
> > finally decided to by one for misc purposes. To build everything I need I
> > got first Buildroot 2011.11
> >
> > I use the following:
> > BR2_DEFAULT_KERNEL_HEADERS="3.0.4"
> > BR2_UCLIBC_VERSION_STRING="0.9.32"
> > BR2_BINUTILS_VERSION="2.21.1"
> > BR2_TOOLCHAIN_BUILDROOT=y
> > BR2_cortex_a9=y
> > BR2_ARM_TYPE="ARM_CORTEXA9"
> > BR2_ARM_EABI=y
> > BR2_ARCH="arm"
> > BR2_ENDIAN="LITTLE"
> > BR2_GCC_TARGET_TUNE="cortex-a9"
> > BR2_GCC_TARGET_ARCH="armv7-a"
> > BR2_GCC_TARGET_ABI="aapcs-linux"
> > BR2_arm=y
> >
> > When I try to build the TC it doesn't work well and I get an issue with
> > 'gettext' while I've got everything on my host computer. I then remove
> all
> > related part to gettext as i18n stuff and WCHAR then I got a TC. Then I
> do
> > again a 'make menuconfig' add the locale and do a 'time make V=1' I got
> a TC
> > whith the locale. strange behaviour, probably some dependencies and jobs
> to
> > be done in a given order?
> > On the next stage I try to go further configuring the uClibc, busybox,
> > and file support everything working fine, then I got such a kind of
> error if
> > I try to add GDB for the target, host, and server part
> > "
> >
> /media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:22:29:
> > error: expected ')' before 'ucs'
> >
> /media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:72:21:
> > error: expected ')' before 'ucs'
> >
> /media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:139:28:
> > error: expected ';', ',' or ')' before '*' token
> >
> /media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:161:32:
> > error: expected ')' before 'ucs'
> >
> /media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:230:32:
> > error: expected ';', ',' or ')' before '*' token
> > make[3]: *** [wcwidth.o] Error 1
> > make[2]: *** [all-readline] Error 2
> > make[2]: *** Waiting for unfinished jobs....
> > make[1]: *** [all] Error 2
> > make: ***
> >
> [/media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/build/gdb-7.3.1-target/gdb/gdb]
> > Error 2
> > "
> > I don't know what to look after, should I have a look into the
> 'wcwidth.c'
> > program file? Could it be wrong? or it come from some other part.
>
> Have you tried one of the CodeSourcery toolchains? It will save a lot
> of build time.
>
> Yegor
>
--
Cordialement.
___Johann MERCADIER___
:(){ :|:& };:
"I am the Unknown lead by the Unknowing.
I have done so much with so little for so long
that I am now qualified to do anything with nothing."
HOOSEEK (http://www.hooseek.com/) 1?moteur de recherche solidaire!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120128/2e15a143/attachment.html>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] first things first for a newbie
2012-01-28 19:32 [Buildroot] first things first for a newbie MERCADIER Johann
2012-01-28 19:39 ` Yegor Yefremov
@ 2012-01-28 21:45 ` Thomas Petazzoni
[not found] ` <CAPEB33zWQevjj3qs0C6x4POw1qjgByXDSwAxaGdh7VEJ47wn6A@mail.gmail.com>
1 sibling, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2012-01-28 21:45 UTC (permalink / raw)
To: buildroot
Hello,
Le Sat, 28 Jan 2012 19:32:50 +0000,
MERCADIER Johann <johann.mercadier@imerir.com> a ?crit :
> But! nothing seems to way it should and I feel pretty annoyed by
> this as I cannot find any relevant help on the internet or through
> misc. books. Most of the time what I found is tutorial where
> everything seems to work fine.
> So my first question is why Buildroot has no Forum or a good
> developped FAQ? I don't really understand why it so great to work
> with mailing list? If I have to I will do it this way (o_-)
We have :
* Some documentation, available in docs/manual/, and that you can
generate using "make manual" ;
* This mailing-list, which is the traditional way of providing support
in the free software / open-source world ;
* The #buildroot IRC channel on Freenode
> When I try to build the TC it doesn't work well and I get an issue
What is "TC" ?
> with 'gettext' while I've got everything on my host computer. I then
Which issue ?
> remove all related part to gettext as i18n stuff and WCHAR then I got
> a TC. Then I do again a 'make menuconfig' add the locale and do a
> 'time make V=1' I got a TC whith the locale. strange behaviour,
> probably some dependencies and jobs to be done in a given order?
When you change toolchain options, you need to do a full rebuild, i.e
'make clean' followed by 'make'. Buildroot does not try to be smart,
and therefore does not rebuild anything unless you tell him to do so.
> On the next stage I try to go further configuring the uClibc,
> busybox, and file support everything working fine, then I got such a
> kind of error if I try to add GDB for the target, host, and server
> part "
> /media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:22:29:
> error: expected ')' before 'ucs'
> /media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:72:21:
> error: expected ')' before 'ucs'
> /media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:139:28:
> error: expected ';', ',' or ')' before '*' token
> /media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:161:32:
> error: expected ')' before 'ucs'
> /media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/toolchain/gdb-7.3.1/readline/support/wcwidth.c:230:32:
> error: expected ';', ',' or ')' before '*' token
> make[3]: *** [wcwidth.o] Error 1
> make[2]: *** [all-readline] Error 2
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [all] Error 2
> make: ***
> [/media/hddPANDAdev/ARMSTUFF/LTiB/BR/buildroot-2011.11/output/build/gdb-7.3.1-target/gdb/gdb]
> Error 2
Please post the Buildroot .config file that allows you to produce this
build error, and we will try to reproduce it.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-01-29 14:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-28 19:32 [Buildroot] first things first for a newbie MERCADIER Johann
2012-01-28 19:39 ` Yegor Yefremov
2012-01-28 21:03 ` MERCADIER Johann
2012-01-28 21:45 ` Thomas Petazzoni
[not found] ` <CAPEB33zWQevjj3qs0C6x4POw1qjgByXDSwAxaGdh7VEJ47wn6A@mail.gmail.com>
2012-01-29 13:49 ` Thomas Petazzoni
2012-01-29 14:42 ` MERCADIER Johann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox