* [Buildroot] Buildroot with uClibc 0.9.29
@ 2009-10-13 13:28 Souvik Ghosh
2009-10-13 14:07 ` Peter Korsgaard
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Souvik Ghosh @ 2009-10-13 13:28 UTC (permalink / raw)
To: buildroot
Hi,
I am trying to build a toolchain for ARM 926t with uclibc version 0.9.29. I
have checked the buildroot releases and found that release 2009.02 allows to
change uClibc version to 0.9.29 through make menuconfig interface. But when
I compile buildroot using 'make' command it fives me the following error.
CC libc/sysdeps/linux/common/chdir.os
In file included from ./include/sys/param.h:22,
from libc/sysdeps/linux/common/chdir.c:13:
./include/limits.h:124:26: error: limits.h: No such file or directory
make[2]: *** [libc/sysdeps/linux/common/chdir.os] Error 1
make[1]: *** [lib/libc.so.0] Error 2
Can somebdy please help me to get rid of this issue. Do I need to switch to
different buildroot release?
Thanks in advance.
Regards,
papa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091013/6d64740f/attachment.htm>
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] Buildroot with uClibc 0.9.29 2009-10-13 13:28 [Buildroot] Buildroot with uClibc 0.9.29 Souvik Ghosh @ 2009-10-13 14:07 ` Peter Korsgaard 2009-12-19 3:36 ` Souvik Ghosh 2010-03-29 16:58 ` Souvik Ghosh 2 siblings, 0 replies; 8+ messages in thread From: Peter Korsgaard @ 2009-10-13 14:07 UTC (permalink / raw) To: buildroot >>>>> "Souvik" == Souvik Ghosh <mailtosouvik@gmail.com> writes: Souvik> Hi, Souvik> I am trying to build a toolchain for ARM 926t with uclibc Souvik> version 0.9.29. I have checked the buildroot releases and found Souvik> that release 2009.02 allows to change uClibc version to 0.9.29 Souvik> through make menuconfig interface. But when I compile buildroot Souvik> using 'make' command it fives me the following error. It's also available in 2009.08 if you enable BR2_DEPRECATED (under build options). Souvik> CC libc/sysdeps/linux/common/chdir.os Souvik> In file included from ./include/sys/param.h:22, Souvik> ?? ? ? ? ? ? ? ? from libc/sysdeps/linux/common/chdir.c:13: Souvik> ./include/limits.h:124:26: error: limits.h: No such file or directory I don't remember the details, but that was afaik something about gcc >= 4.3 having certain includes in include-fixed instead of include. Either use a newer uclibc version or an older gcc. -- Bye, Peter Korsgaard ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Buildroot with uClibc 0.9.29 2009-10-13 13:28 [Buildroot] Buildroot with uClibc 0.9.29 Souvik Ghosh 2009-10-13 14:07 ` Peter Korsgaard @ 2009-12-19 3:36 ` Souvik Ghosh 2009-12-20 19:29 ` Peter Korsgaard 2010-03-29 16:58 ` Souvik Ghosh 2 siblings, 1 reply; 8+ messages in thread From: Souvik Ghosh @ 2009-12-19 3:36 UTC (permalink / raw) To: buildroot Hello All, I was compiling boost with arm toolchain. This toolchain includes gcc 4.1.1. While building boost I got the following error - boost/boost/regex/v4/basic_regex.hpp:95:35: error: macro "index" requires 2 arguments, but only 1 given boost/boost/regex/v4/basic_regex.hpp:100:21: error: macro "index" requires 2 arguments, but only 1 given Can anybody please helop in this regard. Thanks in advance. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091219/0d6a67fa/attachment.htm> ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Buildroot with uClibc 0.9.29 2009-12-19 3:36 ` Souvik Ghosh @ 2009-12-20 19:29 ` Peter Korsgaard 2009-12-21 3:11 ` Souvik Ghosh 0 siblings, 1 reply; 8+ messages in thread From: Peter Korsgaard @ 2009-12-20 19:29 UTC (permalink / raw) To: buildroot >>>>> "Souvik" == Souvik Ghosh <mailtosouvik@gmail.com> writes: Souvik> Hello All, Souvik> I was compiling boost with arm toolchain. This toolchain includes gcc 4.1.1. Souvik> While building boost I got the following error -? Souvik> boost/boost/regex/v4/basic_regex.hpp:95:35: error: macro Souvik> "index" requires 2 arguments, but only 1 given Souvik> boost/boost/regex/v4/basic_regex.hpp:100:21: error: macro Souvik> "index" requires 2 arguments, but only 1 given You'll have to dig further into the code to see what index() function it is referring to. The (legacy) index() function in the C library indeed takes 2 arguments: char *index(const char *s, int c); I expect the code above to refer to a local function called index. You can probably fix it by renaming it to something else. Souvik> Can anybody please helop in this regard. Thanks in advance. -- Bye, Peter Korsgaard ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Buildroot with uClibc 0.9.29 2009-12-20 19:29 ` Peter Korsgaard @ 2009-12-21 3:11 ` Souvik Ghosh 0 siblings, 0 replies; 8+ messages in thread From: Souvik Ghosh @ 2009-12-21 3:11 UTC (permalink / raw) To: buildroot Hello Peter, Thanks for your reply. Probably gcc 4.1.1 defines index in some other was. If I put 'undef index' at the top of the concerned boost header (basic_regex.hpp) the compilation goes fine. I have not managed to search for this indef definition that causing this problem yet. Will let you know if I find anything. Thanks, Souvik . On Mon, Dec 21, 2009 at 12:59 AM, Peter Korsgaard <jacmet@uclibc.org> wrote: > >>>>> "Souvik" == Souvik Ghosh <mailtosouvik@gmail.com> writes: > > Souvik> Hello All, > Souvik> I was compiling boost with arm toolchain. This toolchain includes > gcc 4.1.1. > Souvik> While building boost I got the following error - > > Souvik> boost/boost/regex/v4/basic_regex.hpp:95:35: error: macro > Souvik> "index" requires 2 arguments, but only 1 given > Souvik> boost/boost/regex/v4/basic_regex.hpp:100:21: error: macro > Souvik> "index" requires 2 arguments, but only 1 given > > You'll have to dig further into the code to see what index() function it > is referring to. The (legacy) index() function in the C library indeed > takes 2 arguments: > > char *index(const char *s, int c); > > I expect the code above to refer to a local function called index. You > can probably fix it by renaming it to something else. > > Souvik> Can anybody please helop in this regard. Thanks in advance. > > -- > Bye, Peter Korsgaard > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091221/5fb37b42/attachment.htm> ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Buildroot with uClibc 0.9.29 2009-10-13 13:28 [Buildroot] Buildroot with uClibc 0.9.29 Souvik Ghosh 2009-10-13 14:07 ` Peter Korsgaard 2009-12-19 3:36 ` Souvik Ghosh @ 2010-03-29 16:58 ` Souvik Ghosh 2010-03-29 17:20 ` Souvik Ghosh 2 siblings, 1 reply; 8+ messages in thread From: Souvik Ghosh @ 2010-03-29 16:58 UTC (permalink / raw) To: buildroot Hello, I was trying to build buildroot with large file system support. But if I select "Enable Large file (file > 2 GB) support" I get the following error while compiling, In file included from /home/souvik/test/buildroot-2009.02/build_arm/staging_dir/usr/include/assert.h:32, from applets/applets.c:10: /home/souvik/test/buildroot-2009.02/build_arm/staging_dir/usr/include/features.h:383:4: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled. In file included from /home/souvik/test/buildroot-2009.02/build_arm/staging_dir/usr/include/stdio.h:72, from include/libbb.h:23, from include/busybox.h:10, from applets/applets.c:11: /home/souvik/test/buildroot-2009.02/build_arm/staging_dir/usr/include/bits/uClibc_stdio.h:72:2: error: #error Sorry... uClibc was built without large file support! In file included from include/libbb.h:23, from include/busybox.h:10, from applets/applets.c:11: /home/souvik/test/buildroot-2009.02/build_arm/staging_dir/usr/include/stdio.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fpos_t' In file included from include/libbb.h:23, from include/busybox.h:10, from applets/applets.c:11: /home/souvik/test/buildroot-2009.02/build_arm/staging_dir/usr/include/stdio.h:709: error: expected declaration specifiers or '...' before 'fpos_t' /home/souvik/test/buildroot-2009.02/build_arm/staging_dir/usr/include/stdio.h:711: error: expected ';', ',' or ')' before '*' token make[2]: *** [applets/applets.o] Error 1 make[1]: *** [applets] Error 2 make[1]: Leaving directory `/home/souvik/test/buildroot-2009.02/project_build_arm/uclibc/busybox-1.13.2' make: *** [/home/souvik/test/buildroot-2009.02/project_build_arm/uclibc/busybox-1.13.2/busybox] Error 2 Can anybody please help me out. Do I need to enable any other option. BTW, I am building buildroot for generic arm. Thanks in advance, Souvik -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100329/c6f95719/attachment.htm> ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Buildroot with uClibc 0.9.29 2010-03-29 16:58 ` Souvik Ghosh @ 2010-03-29 17:20 ` Souvik Ghosh 2010-03-29 17:57 ` Thomas Petazzoni 0 siblings, 1 reply; 8+ messages in thread From: Souvik Ghosh @ 2010-03-29 17:20 UTC (permalink / raw) To: buildroot I tried with gcc 4.3.2 and uclibc 0.9.30 as well. But same result has been produces. Can anybody please help me out. On Mon, Mar 29, 2010 at 10:28 PM, Souvik Ghosh <mailtosouvik@gmail.com>wrote: > Hello, > > I was trying to build buildroot with large file system support. But if I > select "Enable Large file (file > 2 GB) support" I get the following error > while compiling, > > In file included from > /home/souvik/test/buildroot-2009.02/build_arm/staging_dir/usr/include/assert.h:32, > from applets/applets.c:10: > /home/souvik/test/buildroot-2009.02/build_arm/staging_dir/usr/include/features.h:383:4: > error: #error It appears you have defined _FILE_OFFSET_BITS=64. > Unfortunately, uClibc was built without large file support enabled. > In file included from > /home/souvik/test/buildroot-2009.02/build_arm/staging_dir/usr/include/stdio.h:72, > from include/libbb.h:23, > from include/busybox.h:10, > from applets/applets.c:11: > /home/souvik/test/buildroot-2009.02/build_arm/staging_dir/usr/include/bits/uClibc_stdio.h:72:2: > error: #error Sorry... uClibc was built without large file support! > In file included from include/libbb.h:23, > from include/busybox.h:10, > from applets/applets.c:11: > /home/souvik/test/buildroot-2009.02/build_arm/staging_dir/usr/include/stdio.h:83: > error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fpos_t' > In file included from include/libbb.h:23, > from include/busybox.h:10, > from applets/applets.c:11: > /home/souvik/test/buildroot-2009.02/build_arm/staging_dir/usr/include/stdio.h:709: > error: expected declaration specifiers or '...' before 'fpos_t' > /home/souvik/test/buildroot-2009.02/build_arm/staging_dir/usr/include/stdio.h:711: > error: expected ';', ',' or ')' before '*' token > make[2]: *** [applets/applets.o] Error 1 > make[1]: *** [applets] Error 2 > make[1]: Leaving directory > `/home/souvik/test/buildroot-2009.02/project_build_arm/uclibc/busybox-1.13.2' > make: *** > [/home/souvik/test/buildroot-2009.02/project_build_arm/uclibc/busybox-1.13.2/busybox] > Error 2 > > > Can anybody please help me out. Do I need to enable any other option. BTW, > I am building buildroot for generic arm. > Thanks in advance, > Souvik > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100329/6a459223/attachment-0001.htm> ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Buildroot with uClibc 0.9.29 2010-03-29 17:20 ` Souvik Ghosh @ 2010-03-29 17:57 ` Thomas Petazzoni 0 siblings, 0 replies; 8+ messages in thread From: Thomas Petazzoni @ 2010-03-29 17:57 UTC (permalink / raw) To: buildroot On Mon, 29 Mar 2010 22:50:42 +0530 Souvik Ghosh <mailtosouvik@gmail.com> wrote: > I tried with gcc 4.3.2 and uclibc 0.9.30 as well. But same result has been > produces. Can anybody please help me out. Please do not use Buildroot 2009.02 anymore, but 2010.02 instead. The problem is probably that you must remove all the output directories and rebuild everything from scratch. This is cumbersome with Buildroot 2009.02, but very easy with Buildroot 2010.02. Could you please upgrade ? Thanks! 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] 8+ messages in thread
end of thread, other threads:[~2010-03-29 17:57 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-10-13 13:28 [Buildroot] Buildroot with uClibc 0.9.29 Souvik Ghosh 2009-10-13 14:07 ` Peter Korsgaard 2009-12-19 3:36 ` Souvik Ghosh 2009-12-20 19:29 ` Peter Korsgaard 2009-12-21 3:11 ` Souvik Ghosh 2010-03-29 16:58 ` Souvik Ghosh 2010-03-29 17:20 ` Souvik Ghosh 2010-03-29 17:57 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox