* [Buildroot] Buildroot 2010 rc2 fails to build
@ 2010-05-11 22:29 Chris Kerios
2010-05-12 8:24 ` Will Moore
0 siblings, 1 reply; 7+ messages in thread
From: Chris Kerios @ 2010-05-11 22:29 UTC (permalink / raw)
To: buildroot
Hi,
I am building for a Geode LX using the latest release candidate - rc2. I am
getting a failure when buildroot is building the gdb 6.8 packages. It is
trying to resolve an undefined reference to "usleep". The output is
attached below. I redid my .config to not build the gdb packages and it
then goes on a ways and fails when building busybox with the same unresolved
reference to usleep. I get successful builds with the 2010.02 release with
no changes in my config file. Any ideas???
Also, I noticed with the rc2 release the uClibc is prompting me for answers
to questions. Is this expected to be expected as I don't have to do this
for the 2010.02 release?
Chris
/home/chris/buildroot-2010.05-rc2/output/staging/usr/bin/i586-unknown-linux-uclibc-gcc
-Os -pipe -Os -mtune=geode -march=geode -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-I/home/chris/buildroot-2010.05-rc2/output/staging/usr/include
-I/home/chris/buildroot-2010.05-rc2/output/staging/include
--sysroot=/home/chris/buildroot-2010.05-rc2/output/staging/ -isysroot
/home/chris/buildroot-2010.05-rc2/output/staging -Os -pipe -Os -mtune=geode
-march=geode -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/chris/buildroot-2010.05-rc2/output/staging/usr/include
-I/home/chris/buildroot-2010.05-rc2/output/staging/include
--sysroot=/home/chris/buildroot-2010.05-rc2/output/staging/ -isysroot
/home/chris/buildroot-2010.05-rc2/output/staging
-L/home/chris/buildroot-2010.05-rc2/output/staging/lib
-L/home/chris/buildroot-2010.05-rc2/output/staging/usr/lib
--sysroot=/home/chris/buildroot-2010.05-rc2/output/staging/ -Wno-error
\
-o gdb gdb.o libgdb.a \
../readline/libreadline.a ../opcodes/libopcodes.a
../bfd/libbfd.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
-lncurses -lm ../libiberty/libiberty.a -ldl -rdynamic
libgdb.a(ser-tcp.o): In function `net_open':
ser-tcp.c:(.text+0x1ee): warning: gethostbyname is obsolescent, use
getnameinfo() instead.
libgdb.a(linux-nat.o): In function `linux_child_follow_fork':
linux-nat.c:(.text+0x4da3): undefined reference to `usleep'
collect2: ld returned 1 exit status
make[3]: *** [gdb] Error 1
make[3]: Leaving directory
`/home/chris/buildroot-2010.05-rc2/output/build/gdb-6.8-target/gdb'
make[2]: *** [all-gdb] Error 2
make[2]: Leaving directory
`/home/chris/buildroot-2010.05-rc2/output/build/gdb-6.8-target'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/chris/buildroot-2010.05-rc2/output/build/gdb-6.8-target'
make: ***
[/home/chris/buildroot-2010.05-rc2/output/build/gdb-6.8-target/gdb/gdb]
Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100511/8893ff9a/attachment.htm>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] Buildroot 2010 rc2 fails to build
2010-05-11 22:29 [Buildroot] Buildroot 2010 rc2 fails to build Chris Kerios
@ 2010-05-12 8:24 ` Will Moore
2010-05-12 18:05 ` Chris Kerios
0 siblings, 1 reply; 7+ messages in thread
From: Will Moore @ 2010-05-12 8:24 UTC (permalink / raw)
To: buildroot
> -----Original Message-----
> From: buildroot-bounces at busybox.net [mailto:buildroot-bounces at busybox.net]
> On Behalf Of Chris Kerios
> Sent: 11 May 2010 23:30
> To: buildroot at busybox.net
> Subject: [Buildroot] Buildroot 2010 rc2 fails to build
>
> Hi,
> I am building for a Geode LX using the latest release candidate - rc2. I
> am getting a failure when buildroot is building the gdb 6.8 packages. It
> is trying to resolve an undefined reference to "usleep". The output is
> attached below. I redid my .config to not build the gdb packages and it
> then goes on a ways and fails when building busybox with the same
> unresolved reference to usleep. I get successful builds with the 2010.02
> release with no changes in my config file. Any ideas???
As reported previously, I had this issue when I used my 2010.02 buildroot,
kernel and busybox .config files with 2010.rc1 and just accepted the default
options for missing configuration items. However if I regenerated my
.config from scratch using 2010.05 rc1 menuconfig (selecting all the
same/equivalent options) then this build issue went away
>
> Also, I noticed with the rc2 release the uClibc is prompting me for
> answers to questions. Is this expected to be expected as I don't have to
> do this for the 2010.02 release?
I think it is this update of uclibc options that is the problem. I have not
examined the differences and dug deeper to resolve but you might like to ;)
I also asked the list if carrying forward .configs like this was an
acceptable way to move to newer versions of buildroot - it would seem at
least you and I are doing it!
>
> Chris
>
> /home/chris/buildroot-2010.05-rc2/output/staging/usr/bin/i586-unknown-
> linux-uclibc-gcc -Os -pipe -Os -mtune=geode -march=geode -
> D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -
> I/home/chris/buildroot-2010.05-rc2/output/staging/usr/include -
> I/home/chris/buildroot-2010.05-rc2/output/staging/include --
> sysroot=/home/chris/buildroot-2010.05-rc2/output/staging/ -isysroot
> /home/chris/buildroot-2010.05-rc2/output/staging -Os -pipe -Os -
> mtune=geode -march=geode -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -
> D_FILE_OFFSET_BITS=64 -I/home/chris/buildroot-2010.05-
> rc2/output/staging/usr/include -I/home/chris/buildroot-2010.05-
> rc2/output/staging/include --sysroot=/home/chris/buildroot-2010.05-
> rc2/output/staging/ -isysroot /home/chris/buildroot-2010.05-
> rc2/output/staging -L/home/chris/buildroot-2010.05-rc2/output/staging/lib
> -L/home/chris/buildroot-2010.05-rc2/output/staging/usr/lib --
> sysroot=/home/chris/buildroot-2010.05-rc2/output/staging/ -Wno-error
> \
> -o gdb gdb.o libgdb.a \
> ../readline/libreadline.a ../opcodes/libopcodes.a
> ../bfd/libbfd.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
> -lncurses -lm ../libiberty/libiberty.a -ldl -rdynamic
> libgdb.a(ser-tcp.o): In function `net_open':
> ser-tcp.c:(.text+0x1ee): warning: gethostbyname is obsolescent, use
> getnameinfo() instead.
> libgdb.a(linux-nat.o): In function `linux_child_follow_fork':
> linux-nat.c:(.text+0x4da3): undefined reference to `usleep'
> collect2: ld returned 1 exit status
> make[3]: *** [gdb] Error 1
> make[3]: Leaving directory `/home/chris/buildroot-2010.05-
> rc2/output/build/gdb-6.8-target/gdb'
> make[2]: *** [all-gdb] Error 2
> make[2]: Leaving directory `/home/chris/buildroot-2010.05-
> rc2/output/build/gdb-6.8-target'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/chris/buildroot-2010.05-
> rc2/output/build/gdb-6.8-target'
> make: *** [/home/chris/buildroot-2010.05-rc2/output/build/gdb-6.8-
> target/gdb/gdb] Error 2
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] Buildroot 2010 rc2 fails to build
2010-05-12 8:24 ` Will Moore
@ 2010-05-12 18:05 ` Chris Kerios
2010-05-16 19:42 ` Peter Korsgaard
0 siblings, 1 reply; 7+ messages in thread
From: Chris Kerios @ 2010-05-12 18:05 UTC (permalink / raw)
To: buildroot
Thanks Will.
Sorry, my bad everyone, I didn't look far enough down in the mail archive to
see your thread where this is resolved with a config file change. I blew
away my .config file and rebuilt a new one and all the problems with usleep
and the uClibc build went away. However, what did blow up was the MTD
utilities build. I am researching that right now. I thought I saw
something in the mail archive but it looked like it was just saying to turn
it off for the time being. If this is the case I am not sure if that is
going to work for me as I am developing on a compact flash card and using
JFFS2 for a file system. Still learning. Thanks.
Chris
On Wed, May 12, 2010 at 4:24 AM, Will Moore <will.moore@beraninstruments.com
> wrote:
>
> > -----Original Message-----
> > From: buildroot-bounces at busybox.net [mailto:
> buildroot-bounces at busybox.net]
> > On Behalf Of Chris Kerios
> > Sent: 11 May 2010 23:30
> > To: buildroot at busybox.net
> > Subject: [Buildroot] Buildroot 2010 rc2 fails to build
> >
> > Hi,
> > I am building for a Geode LX using the latest release candidate - rc2. I
> > am getting a failure when buildroot is building the gdb 6.8 packages. It
> > is trying to resolve an undefined reference to "usleep". The output is
> > attached below. I redid my .config to not build the gdb packages and it
> > then goes on a ways and fails when building busybox with the same
> > unresolved reference to usleep. I get successful builds with the 2010.02
> > release with no changes in my config file. Any ideas???
>
> As reported previously, I had this issue when I used my 2010.02 buildroot,
> kernel and busybox .config files with 2010.rc1 and just accepted the
> default
> options for missing configuration items. However if I regenerated my
> .config from scratch using 2010.05 rc1 menuconfig (selecting all the
> same/equivalent options) then this build issue went away
>
> >
> > Also, I noticed with the rc2 release the uClibc is prompting me for
> > answers to questions. Is this expected to be expected as I don't have to
> > do this for the 2010.02 release?
>
> I think it is this update of uclibc options that is the problem. I have
> not
> examined the differences and dug deeper to resolve but you might like to ;)
>
> I also asked the list if carrying forward .configs like this was an
> acceptable way to move to newer versions of buildroot - it would seem at
> least you and I are doing it!
>
> >
> > Chris
> >
> > /home/chris/buildroot-2010.05-rc2/output/staging/usr/bin/i586-unknown-
> > linux-uclibc-gcc -Os -pipe -Os -mtune=geode -march=geode -
> > D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -
> > I/home/chris/buildroot-2010.05-rc2/output/staging/usr/include -
> > I/home/chris/buildroot-2010.05-rc2/output/staging/include --
> > sysroot=/home/chris/buildroot-2010.05-rc2/output/staging/ -isysroot
> > /home/chris/buildroot-2010.05-rc2/output/staging -Os -pipe -Os -
> > mtune=geode -march=geode -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -
> > D_FILE_OFFSET_BITS=64 -I/home/chris/buildroot-2010.05-
> > rc2/output/staging/usr/include -I/home/chris/buildroot-2010.05-
> > rc2/output/staging/include --sysroot=/home/chris/buildroot-2010.05-
> > rc2/output/staging/ -isysroot /home/chris/buildroot-2010.05-
> > rc2/output/staging -L/home/chris/buildroot-2010.05-rc2/output/staging/lib
> > -L/home/chris/buildroot-2010.05-rc2/output/staging/usr/lib --
> > sysroot=/home/chris/buildroot-2010.05-rc2/output/staging/ -Wno-error
> > \
> > -o gdb gdb.o libgdb.a \
> > ../readline/libreadline.a ../opcodes/libopcodes.a
> > ../bfd/libbfd.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
> > -lncurses -lm ../libiberty/libiberty.a -ldl -rdynamic
> > libgdb.a(ser-tcp.o): In function `net_open':
> > ser-tcp.c:(.text+0x1ee): warning: gethostbyname is obsolescent, use
> > getnameinfo() instead.
> > libgdb.a(linux-nat.o): In function `linux_child_follow_fork':
> > linux-nat.c:(.text+0x4da3): undefined reference to `usleep'
> > collect2: ld returned 1 exit status
> > make[3]: *** [gdb] Error 1
> > make[3]: Leaving directory `/home/chris/buildroot-2010.05-
> > rc2/output/build/gdb-6.8-target/gdb'
> > make[2]: *** [all-gdb] Error 2
> > make[2]: Leaving directory `/home/chris/buildroot-2010.05-
> > rc2/output/build/gdb-6.8-target'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/home/chris/buildroot-2010.05-
> > rc2/output/build/gdb-6.8-target'
> > make: *** [/home/chris/buildroot-2010.05-rc2/output/build/gdb-6.8-
> > target/gdb/gdb] Error 2
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100512/304af660/attachment.htm>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] Buildroot 2010 rc2 fails to build
2010-05-12 18:05 ` Chris Kerios
@ 2010-05-16 19:42 ` Peter Korsgaard
2010-05-16 21:29 ` Chris Kerios
0 siblings, 1 reply; 7+ messages in thread
From: Peter Korsgaard @ 2010-05-16 19:42 UTC (permalink / raw)
To: buildroot
>>>>> "Chris" == Chris Kerios <ckerios@gmail.com> writes:
Chris> Thanks Will.
Chris> Sorry, my bad everyone, I didn't look far enough down in the
Chris> mail archive to see your thread where this is resolved with a
Chris> config file change.? I blew away my .config file and rebuilt a
Chris> new one and all the problems with usleep and the uClibc build
Chris> went away.
Ok, so the problem was that you used the uclibc 0.9.30 config with
uclibc 0.9.31.
Chris> However, what did blow up was the MTD utilities build.? I am
Chris> researching that right now.? I thought I saw something in the
Chris> mail archive but it looked like it was just saying to turn it
Chris> off for the time being.? If this is the case I am not sure if
Chris> that is going to work for me as I am developing on a compact
Chris> flash card and using JFFS2 for a file system.? Still learning.?
Chris> Thanks.
JFFS2 on compact flash? That doesn't sound right. JFFS2 is meant to be
used on raw flash, not on
flash-with-a-microcontroller-pretending-to-be-a-disk like a compact
flash card is.
The mails about mtd problems was with the new busybox applets, not the
normal mtd package.
Please send some more info if you still have problems building it
(busybox .config, exact error message).
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] Buildroot 2010 rc2 fails to build
2010-05-16 19:42 ` Peter Korsgaard
@ 2010-05-16 21:29 ` Chris Kerios
2010-05-18 10:21 ` Peter Korsgaard
2010-05-18 13:06 ` Bjørn Forsman
0 siblings, 2 replies; 7+ messages in thread
From: Chris Kerios @ 2010-05-16 21:29 UTC (permalink / raw)
To: buildroot
Thanks Peter.
Yes, I am building fine now on the Geode. The build is configured with all
the latest versions of the software for uClibc, busybox and kernels. I also
have a AVR32 NGW100 that I am beginning to work on that I will be testing
buildroot on next. I will let eveyone know how that one goes and cry for
help when I get lost in buildroot...haha.
Regarding the JFFS2 and MTD utilities. I just learned online this week that
none of it applies to working with a CompactFlash card, so thanks for
reinforcing that piece of knowledge for me. One less thing to worry about.
What I was wondering about was since I have this configuration Geode
w/Compact Flash. What does the embedded community recommend be used as a
file system, ext2/3 or something else. Although we will run most of the
system and application in RAM we want our application to write some data to
disk (Compact Flash) and back across the network in the event of failures,
etc. We also are going to be running in a relatively "high availability"
environment so I am concerned about the long term operation of the CF over
time. Does anyone have any thoughts on this? I know this isn't the right
mail list for this type of question but I know the world of embedded
developers out there are using this tool extensively so you all obviously
have thoughts and opinions on this.
Great tool! Thanks,
Chris
On Sun, May 16, 2010 at 3:42 PM, Peter Korsgaard <jacmet@uclibc.org> wrote:
> >>>>> "Chris" == Chris Kerios <ckerios@gmail.com> writes:
>
> Chris> Thanks Will.
>
> Chris> Sorry, my bad everyone, I didn't look far enough down in the
> Chris> mail archive to see your thread where this is resolved with a
> Chris> config file change. I blew away my .config file and rebuilt a
> Chris> new one and all the problems with usleep and the uClibc build
> Chris> went away.
>
> Ok, so the problem was that you used the uclibc 0.9.30 config with
> uclibc 0.9.31.
>
> Chris> However, what did blow up was the MTD utilities build. I am
> Chris> researching that right now. I thought I saw something in the
> Chris> mail archive but it looked like it was just saying to turn it
> Chris> off for the time being. If this is the case I am not sure if
> Chris> that is going to work for me as I am developing on a compact
> Chris> flash card and using JFFS2 for a file system. Still learning.
> Chris> Thanks.
>
> JFFS2 on compact flash? That doesn't sound right. JFFS2 is meant to be
> used on raw flash, not on
> flash-with-a-microcontroller-pretending-to-be-a-disk like a compact
> flash card is.
>
> The mails about mtd problems was with the new busybox applets, not the
> normal mtd package.
>
> Please send some more info if you still have problems building it
> (busybox .config, exact error message).
>
> --
> Bye, Peter Korsgaard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100516/4923f8f3/attachment.htm>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] Buildroot 2010 rc2 fails to build
2010-05-16 21:29 ` Chris Kerios
@ 2010-05-18 10:21 ` Peter Korsgaard
2010-05-18 13:06 ` Bjørn Forsman
1 sibling, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2010-05-18 10:21 UTC (permalink / raw)
To: buildroot
>>>>> "Chris" == Chris Kerios <ckerios@gmail.com> writes:
Chris> Thanks Peter.
Chris> I also have a AVR32 NGW100 that I am beginning to work on that I
Chris> will be testing buildroot on next.? I will let eveyone know how
Chris> that one goes and cry for help when I get lost in
Chris> buildroot...haha.
;)
Chris> Regarding the JFFS2 and MTD utilities.? I just learned online
Chris> this week that none of it applies to working with a CompactFlash
Chris> card, so thanks for reinforcing that piece of knowledge for me.?
Chris> One less thing to worry about.? What I was wondering about was
Chris> since I have this configuration Geode w/Compact Flash.? What
Chris> does the embedded community recommend be used as a file system,
Chris> ext2/3 or something else.
EXT2 - The journal updates from EXT3/4 are bad for the lifetime of the
CF.
And make sure you mount it noatime to limit writes.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] Buildroot 2010 rc2 fails to build
2010-05-16 21:29 ` Chris Kerios
2010-05-18 10:21 ` Peter Korsgaard
@ 2010-05-18 13:06 ` Bjørn Forsman
1 sibling, 0 replies; 7+ messages in thread
From: Bjørn Forsman @ 2010-05-18 13:06 UTC (permalink / raw)
To: buildroot
On 16 May 2010 23:29, Chris Kerios <ckerios@gmail.com> wrote:
[snip]
>?I also
> have a AVR32 NGW100 that I am beginning to work on that I will be testing
> buildroot on next.? I will let eveyone know how that one goes and cry for
> help when I get lost in buildroot...haha.
BR git master does not build atngw100_defconfig at the moment.
I submitted a patch yesterday that updates atngw100_defconfig so that
it builds again.
I hope it will be included in the 2010.05 release. Maintainers?
BTW, atngw100_defconfig works fine in version 2010.02.
Best regards,
Bj?rn Forsman
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-05-18 13:06 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11 22:29 [Buildroot] Buildroot 2010 rc2 fails to build Chris Kerios
2010-05-12 8:24 ` Will Moore
2010-05-12 18:05 ` Chris Kerios
2010-05-16 19:42 ` Peter Korsgaard
2010-05-16 21:29 ` Chris Kerios
2010-05-18 10:21 ` Peter Korsgaard
2010-05-18 13:06 ` Bjørn Forsman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.