[Buildroot] ARM build error with llseek.c
Arun Reddy
reddyac at gmail.com
Thu May 15 16:41:48 PDT 2008
Thanks Chris,
Looks like the issue was with LFS not being enabled in uclibc
(CONFIG_UCLIBC_HAS_LFS) and also BusyBox not having
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS selected. I did a make clean for everything
and rebuilt, and got past that error.
I am fairly certain I understand why LFS needed to be enabled, because I was
reading up on a couple threads online about llseek.c being used for large
file support in general, while lseek.c is used for small files. I want LFS
for my purposes, and it is possible that by not selecting LFS in the uclibc
menuconfig, that a specific function or variable wasn't defined correctly in
a header file used by llseek.c, and therefore it couldn't compile correctly.
This is of course my best assumption.
As for selecting BusyBox's hide others option, I am unsure as to why that
works, but found it here as a suggestion.
http://buildroot.uclibc.org/lists/buildroot/2007-June/003077.html
I hope this helps anyone in the future.
On Thu, May 15, 2008 at 4:20 PM, Christopher Taylor <chtaylo3 at gmail.com>
wrote:
> Whops, replied to poster not to list ... sorry everyone ....
>
>
> I've had bad luck figuring out what parts of the tool chain I need to
> make clean when I make a change to uclibc. Look for LFS, large file
> support and other things like that in
> menuconfig
> uclibc-menuconifg
> busybox-menuconfig
> linux26-menuconifg
>
> by suggestion is then to go to the build dir for each of the major
> components (buildroot, uclibc, busybox, and the kernel) and do a make
> clean.
>
> You should have better luck from there.
>
>
> if that doesn't work, try d/l buildroot again, copy over your config
> files and rebuild
>
> HTH
> Chris
> - Show quoted text -
>
>
> On Sun, May 11, 2008 at 11:24 PM, Arun Reddy <reddyac at gmail.com> wrote:
> > Hey everyone,
> >
> > I was just curious if anyone had any more suggestions on this problem? I
> am
> > still finding myself stuck with it. Thank you.
> >
> > On Thu, May 8, 2008 at 6:13 PM, Arun Reddy <reddyac at gmail.com> wrote:
> >>
> >> CC'd buildroot list
> >>
> >> On Thu, May 8, 2008 at 6:12 PM, Arun Reddy <reddyac at gmail.com> wrote:
> >>>
> >>> Thank you for your help. If anyone would like to chime in on how to
> >>> define _syscall5 or just with dealing with this problem you would be
> helping
> >>> a lot!
> >>>
> >>> On Thu, May 8, 2008 at 4:30 PM, hartleys <hartleys at visionengravers.com
> >
> >>> wrote:
> >>>>
> >>>> Unfortunately no... Like I said I have not yet tried to build a
> >>>> toolchain from source. Sorry
> >>>> ________________________________
> >>>> From: Arun Reddy [mailto:reddyac at gmail.com]
> >>>> Sent: Thursday, May 08, 2008 4:24 PM
> >>>> To: hartleys
> >>>> Cc: Buildroot List
> >>>> Subject: Re: [Buildroot] ARM build error with llseek.c
> >>>>
> >>>> Thanks for the information hartleys. Do you know how I can go about
> >>>> defining _syscall5? Will I need to go into uClibc's menuconfig and
> select it
> >>>> first?
> >>>>
> >>>> On Thu, May 8, 2008 at 4:11 PM, hartleys <
> hartleys at visionengravers.com>
> >>>> wrote:
> >>>>>
> >>>>> This is just a guess but...
> >>>>>
> >>>>> I'm still using a prebuilt external toolchain and haven't tried
> >>>>> building one from source yet so I'm not sure how to fix it. But,
> maybe this
> >>>>> information to help.
> >>>>>
> >>>>> It appears you have a problem with your toolchain. That line in
> >>>>> llseek.c should be invoving a uClibc macro (_syscall5) but it's not
> defined
> >>>>> so the compiler is dying on the syntax of the "function" _syscall.
> >>>>>
> >>>>> Just my two cents...
> >>>>>
> >>>>> ________________________________
> >>>>> From: buildroot-bounces at uclibc.org
> >>>>> [mailto:buildroot-bounces at uclibc.org] On Behalf Of Arun Reddy
> >>>>> Sent: Thursday, May 08, 2008 3:49 PM
> >>>>> To: Buildroot List
> >>>>> Subject: [Buildroot] ARM build error with llseek.c
> >>>>>
> >>>>> Hi everyone,
> >>>>>
> >>>>> I am continuing with my ARM build and I ran into a problem with
> >>>>> llseek.c:
> >>>>>
> >>>>> http://img211.imageshack.us/img211/6387/e2fsprogsph4.jpg
> >>>>>
> >>>>> I found that this problem was reported before:
> >>>>> http://bugs.busybox.net/view.php?id=1548
> >>>>>
> >>>>> and the solution seemed to involve enabling large file support in
> >>>>> buildroot's configuration. I did this, but still get the same error.
> Does
> >>>>> anyone know why LFS needs to be activated and in my case, why it
> doesn't
> >>>>> resolve this issue? Any help on this problem would be appreciated.
> Thank
> >>>>> you.
> >>>>>
> >>>>
> >>>
> >>
> >
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at uclibc.org
> > http://busybox.net/mailman/listinfo/buildroot
> >
>
> On Sun, May 11, 2008 at 11:24 PM, Arun Reddy <reddyac at gmail.com> wrote:
> > Hey everyone,
> >
> > I was just curious if anyone had any more suggestions on this problem? I
> am
> > still finding myself stuck with it. Thank you.
> >
> > On Thu, May 8, 2008 at 6:13 PM, Arun Reddy <reddyac at gmail.com> wrote:
> >>
> >> CC'd buildroot list
> >>
> >> On Thu, May 8, 2008 at 6:12 PM, Arun Reddy <reddyac at gmail.com> wrote:
> >>>
> >>> Thank you for your help. If anyone would like to chime in on how to
> >>> define _syscall5 or just with dealing with this problem you would be
> helping
> >>> a lot!
> >>>
> >>> On Thu, May 8, 2008 at 4:30 PM, hartleys <hartleys at visionengravers.com
> >
> >>> wrote:
> >>>>
> >>>> Unfortunately no... Like I said I have not yet tried to build a
> >>>> toolchain from source. Sorry
> >>>> ________________________________
> >>>> From: Arun Reddy [mailto:reddyac at gmail.com]
> >>>> Sent: Thursday, May 08, 2008 4:24 PM
> >>>> To: hartleys
> >>>> Cc: Buildroot List
> >>>> Subject: Re: [Buildroot] ARM build error with llseek.c
> >>>>
> >>>> Thanks for the information hartleys. Do you know how I can go about
> >>>> defining _syscall5? Will I need to go into uClibc's menuconfig and
> select it
> >>>> first?
> >>>>
> >>>> On Thu, May 8, 2008 at 4:11 PM, hartleys <
> hartleys at visionengravers.com>
> >>>> wrote:
> >>>>>
> >>>>> This is just a guess but...
> >>>>>
> >>>>> I'm still using a prebuilt external toolchain and haven't tried
> >>>>> building one from source yet so I'm not sure how to fix it. But,
> maybe this
> >>>>> information to help.
> >>>>>
> >>>>> It appears you have a problem with your toolchain. That line in
> >>>>> llseek.c should be invoving a uClibc macro (_syscall5) but it's not
> defined
> >>>>> so the compiler is dying on the syntax of the "function" _syscall.
> >>>>>
> >>>>> Just my two cents...
> >>>>>
> >>>>> ________________________________
> >>>>> From: buildroot-bounces at uclibc.org
> >>>>> [mailto:buildroot-bounces at uclibc.org] On Behalf Of Arun Reddy
> >>>>> Sent: Thursday, May 08, 2008 3:49 PM
> >>>>> To: Buildroot List
> >>>>> Subject: [Buildroot] ARM build error with llseek.c
> >>>>>
> >>>>> Hi everyone,
> >>>>>
> >>>>> I am continuing with my ARM build and I ran into a problem with
> >>>>> llseek.c:
> >>>>>
> >>>>> http://img211.imageshack.us/img211/6387/e2fsprogsph4.jpg
> >>>>>
> >>>>> I found that this problem was reported before:
> >>>>> http://bugs.busybox.net/view.php?id=1548
> >>>>>
> >>>>> and the solution seemed to involve enabling large file support in
> >>>>> buildroot's configuration. I did this, but still get the same error.
> Does
> >>>>> anyone know why LFS needs to be activated and in my case, why it
> doesn't
> >>>>> resolve this issue? Any help on this problem would be appreciated.
> Thank
> >>>>> you.
> >>>>>
> >>>>
> >>>
> >>
> >
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at uclibc.org
> > http://busybox.net/mailman/listinfo/buildroot
> >
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080515/f6310a99/attachment-0001.htm
More information about the buildroot
mailing list