Re: Busybox err

classic Classic list List threaded Threaded
2 messages Options
NZG
Reply | Threaded
Open this post in threaded view
|

Re: Busybox err

NZG
I'd do a make clean from the top level and see if the problem persists.
Busybox frequently needs cleaned.

The busybox Minix shell depends on other busybox programs, so you will
probably have the best results replacing as many misc programs with busybox
versions as possible.

Also, what library are you using? I'd steer clear of libc and the like.
uClibc seems to be the stablest

NZG.



On Friday 10 June 2005 07:24, Tapan Roy wrote:

> Dear Mr. NZG,
> Till morning there was no issue with the busybox. But now even with the
> m68k-elf-tools-20031003.sh tool, again I am getting the following error.
>
> /home/tapan/uClinux-dist-LatestVersion/user/busybox/libbb/libbb.a
> -Wl,--end -group -lc
> busybox.elf2flt: In function `get_header_tar':
> busybox.elf2flt(.text+0x460c): undefined reference to `makedev'
> busybox.elf2flt: In function `open_transformer':
> busybox.elf2flt(.text+0x48f0): undefined reference to
> `fork_not_available_use_vfork'
> collect2: ld returned 1 exit status
> make[3]: *** [busybox] Error 1
> make[3]: Leaving directory
> `/home/tapan/uClinux-dist-LatestVersion/user/busybox'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/tapan/uClinux-dist-LatestVersion/user/busybox'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/tapan/uClinux-dist-LatestVersion/user'
> make: *** [subdirs] Error 1
>
> Pls suggest. Need your help.
>
> Also please see below..
>
> ----- Original Message -----
> From: "Tapan Roy" <[hidden email]>
> To: <[hidden email]>
> Sent: Friday, June 10, 2005 4:47 PM
> Subject: Re: [ColdFire] Busybox err
>
> > Dear Mr. NZG,
> >
> > In busybox, I have enabled msh - in shell, as I require this minix
>
> support.
>
> > After enabling msh...I am getting the following err(I think, I am missing
> > something to be enabled.) Kindly give be your valuable suggestions.
> >
> > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:273:
>
> `_NSIG'
>
> > undeclared here (not in a function)
> > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:273: size
>
> of
>
> > array `trap' has non-integer type
> > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:274:
>
> `_NSIG'
>
> > undeclared here (not in a function)
> > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:274: size
>
> of
>
> > array `ourtrap' has non-integer type
> > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:587:
> > parse error before `sighandler_t'
> > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:587:
> > warning: function declaration isn't a prototype
> > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:721:
>
> `_NSIG'
>
> > undeclared here (not in a function)
> > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:721: size
>
> of
>
> > array `trap' has non-integer type
> > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:273:
>
> `_NSIG'
>
> > undeclared here (not in a function)
> > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:273: size
>
> of
>
> > array `trap' has non-integer type
> > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:274:
>
> `_NSIG'
>
> > undeclared here (not in a function)
> > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:274: size
>
> of
>
> > array `ourtrap' has non-integer type
> >
> > Regards
> > Tapan
> > ----- Original Message -----
> > From: "Tapan Roy" <[hidden email]>
> > To: <[hidden email]>
> > Cc: <[hidden email]>
> > Sent: Wednesday, June 08, 2005 1:02 PM
> > Subject: Re: [ColdFire] Busybox err
> >
> > > Dear Mr. NZG,
> > > With you first suggestion it worked.
> > > I have downloded this tool and with make...there is no error.
> > > Thank you for your help.
> > > Regards
> > > Tapan.
> > >
> > > ----- Original Message -----
> > > From: "NZG" <[hidden email]>
> > > To: <[hidden email]>
> > > Cc: "Tapan Roy" <[hidden email]>
> > > Sent: Tuesday, June 07, 2005 7:50 PM
> > > Subject: Re: [ColdFire] Busybox err
> > >
> > > > 2 suggestions
> > > >
> > > > 1. use m68k-elf-tools-20031003.sh for you toolchain, it's the
> > > > stablest
> >
> > one
> >
> > > > IMHO.
> > > >
> > > > 2. if you change something in busybox, always "make clean" before
> > >
> > > rebuilding.
> > >
> > > > I've found that even if it compiles correctly without it, it has
> >
> > problems
> >
> > > in
> > >
> > > > execution.
> > > >
> > > > NZG.
> > > >
> > > > On Tuesday 07 June 2005 03:12, Tapan Roy wrote:
> > > > > Hello Team,
> > > > > If I enable busybox for using few of its applications like cp, gzip
> > > > > etc....I am getting the following err.
> > > > >
> > > > > busybox.elf2flt: In function `__uClibc_main':
> > > > > busybox.elf2flt(.text+0x34): undefined reference to `main'
> > > > > collect2: ld returned 1 exit status
> > > > > make[2]: *** [busybox] Error 1
> > > > > make[1]: *** [all] Error 2
> > > > > make: *** [subdirs] Error 1
> > > > >
> > > > > What I need to do to rectify this err, pls suggest.
> > > > > Regards
> > > > > Tapan
>
> Confidentiality Notice:
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain confidential or privileged information. If you are not the intended
> recipient, please notify the sender at AMDLBCT or [hidden email]
> immediately and destroy all copies of this message and any attachments.
--------------------------------------------------------------------
To Subscribe send a message to:      [hidden email]
To Unsubscribe send a message to:    [hidden email]
For further information, visit:      <http://www.WildRice.com/ColdFire/>


Reply | Threaded
Open this post in threaded view
|

Re: Busybox err

Tapan Roy

Thanks for the reply. I am using uClibc library.

----- Original Message -----
From: "NZG" <[hidden email]>
To: <[hidden email]>
Cc: "uClinux development list" <[hidden email]>
Sent: Friday, June 10, 2005 9:49 PM
Subject: Re: [ColdFire] Busybox err


> I'd do a make clean from the top level and see if the problem persists.
> Busybox frequently needs cleaned.
>
> The busybox Minix shell depends on other busybox programs, so you will
> probably have the best results replacing as many misc programs with
busybox

> versions as possible.
>
> Also, what library are you using? I'd steer clear of libc and the like.
> uClibc seems to be the stablest
>
> NZG.
>
>
>
> On Friday 10 June 2005 07:24, Tapan Roy wrote:
> > Dear Mr. NZG,
> > Till morning there was no issue with the busybox. But now even with the
> > m68k-elf-tools-20031003.sh tool, again I am getting the following error.
> >
> > /home/tapan/uClinux-dist-LatestVersion/user/busybox/libbb/libbb.a
> > -Wl,--end -group -lc
> > busybox.elf2flt: In function `get_header_tar':
> > busybox.elf2flt(.text+0x460c): undefined reference to `makedev'
> > busybox.elf2flt: In function `open_transformer':
> > busybox.elf2flt(.text+0x48f0): undefined reference to
> > `fork_not_available_use_vfork'
> > collect2: ld returned 1 exit status
> > make[3]: *** [busybox] Error 1
> > make[3]: Leaving directory
> > `/home/tapan/uClinux-dist-LatestVersion/user/busybox'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory
> > `/home/tapan/uClinux-dist-LatestVersion/user/busybox'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/home/tapan/uClinux-dist-LatestVersion/user'
> > make: *** [subdirs] Error 1
> >
> > Pls suggest. Need your help.
> >
> > Also please see below..
> >
> > ----- Original Message -----
> > From: "Tapan Roy" <[hidden email]>
> > To: <[hidden email]>
> > Sent: Friday, June 10, 2005 4:47 PM
> > Subject: Re: [ColdFire] Busybox err
> >
> > > Dear Mr. NZG,
> > >
> > > In busybox, I have enabled msh - in shell, as I require this minix
> >
> > support.
> >
> > > After enabling msh...I am getting the following err(I think, I am
missing
> > > something to be enabled.) Kindly give be your valuable suggestions.
> > >
> > > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:273:
> >
> > `_NSIG'
> >
> > > undeclared here (not in a function)
> > > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:273:
size

> >
> > of
> >
> > > array `trap' has non-integer type
> > > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:274:
> >
> > `_NSIG'
> >
> > > undeclared here (not in a function)
> > > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:274:
size

> >
> > of
> >
> > > array `ourtrap' has non-integer type
> > > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:587:
> > > parse error before `sighandler_t'
> > > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:587:
> > > warning: function declaration isn't a prototype
> > > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:721:
> >
> > `_NSIG'
> >
> > > undeclared here (not in a function)
> > > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:721:
size

> >
> > of
> >
> > > array `trap' has non-integer type
> > > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:273:
> >
> > `_NSIG'
> >
> > > undeclared here (not in a function)
> > > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:273:
size

> >
> > of
> >
> > > array `trap' has non-integer type
> > > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:274:
> >
> > `_NSIG'
> >
> > > undeclared here (not in a function)
> > > /home/tapan/uClinux-dist-LatestVersion/user/busybox/shell/msh.c:274:
size

> >
> > of
> >
> > > array `ourtrap' has non-integer type
> > >
> > > Regards
> > > Tapan
> > > ----- Original Message -----
> > > From: "Tapan Roy" <[hidden email]>
> > > To: <[hidden email]>
> > > Cc: <[hidden email]>
> > > Sent: Wednesday, June 08, 2005 1:02 PM
> > > Subject: Re: [ColdFire] Busybox err
> > >
> > > > Dear Mr. NZG,
> > > > With you first suggestion it worked.
> > > > I have downloded this tool and with make...there is no error.
> > > > Thank you for your help.
> > > > Regards
> > > > Tapan.
> > > >
> > > > ----- Original Message -----
> > > > From: "NZG" <[hidden email]>
> > > > To: <[hidden email]>
> > > > Cc: "Tapan Roy" <[hidden email]>
> > > > Sent: Tuesday, June 07, 2005 7:50 PM
> > > > Subject: Re: [ColdFire] Busybox err
> > > >
> > > > > 2 suggestions
> > > > >
> > > > > 1. use m68k-elf-tools-20031003.sh for you toolchain, it's the
> > > > > stablest
> > >
> > > one
> > >
> > > > > IMHO.
> > > > >
> > > > > 2. if you change something in busybox, always "make clean" before
> > > >
> > > > rebuilding.
> > > >
> > > > > I've found that even if it compiles correctly without it, it has
> > >
> > > problems
> > >
> > > > in
> > > >
> > > > > execution.
> > > > >
> > > > > NZG.
> > > > >
> > > > > On Tuesday 07 June 2005 03:12, Tapan Roy wrote:
> > > > > > Hello Team,
> > > > > > If I enable busybox for using few of its applications like cp,
gzip

> > > > > > etc....I am getting the following err.
> > > > > >
> > > > > > busybox.elf2flt: In function `__uClibc_main':
> > > > > > busybox.elf2flt(.text+0x34): undefined reference to `main'
> > > > > > collect2: ld returned 1 exit status
> > > > > > make[2]: *** [busybox] Error 1
> > > > > > make[1]: *** [all] Error 2
> > > > > > make: *** [subdirs] Error 1
> > > > > >
> > > > > > What I need to do to rectify this err, pls suggest.
> > > > > > Regards
> > > > > > Tapan
> >
> > Confidentiality Notice:
> >
> > The information contained in this electronic message and any attachments
to
> > this message are intended for the exclusive use of the addressee(s) and
may
> > contain confidential or privileged information. If you are not the
intended
> > recipient, please notify the sender at AMDLBCT or [hidden email]
> > immediately and destroy all copies of this message and any attachments.
> --------------------------------------------------------------------
> To Subscribe send a message to:      [hidden email]
> To Unsubscribe send a message to:    [hidden email]
> For further information, visit:      <http://www.WildRice.com/ColdFire/>
>


Confidentiality Notice:

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at AMDLBCT or [hidden email] immediately and destroy all copies of this message and any attachments.

--------------------------------------------------------------------
To Subscribe send a message to:      [hidden email]
To Unsubscribe send a message to:    [hidden email]
For further information, visit:      <http://www.WildRice.com/ColdFire/>