Problem in compilling BusyBox
Thompson Harmon [US], Stanley W.
Stanley.Harmon at sperry.ngc.com
Fri Jul 28 18:38:28 UTC 2006
>
> >
> > Hello,
> > I am building busyBox-1.2.0 with Uclibc 0.9.20.when i do 'make' it
> > gives the following errors
> >
> > [root at localhost busybox-1.2.0]# make
> > CC applets/applets.o
> > CC applets/busybox.o
> > CC applets/version.o
> > AR cru applets/applets.a
> > CC libbb/messages.o
> > AR cru libbb/libbb.a
> > LINK busybox_unstripped
> >
> /home/oie/Meenal/busybox-1.2.0/debianutils/debianutils.a(start
> _stop_daem
> > on.o)(.text.pid_is_exec+0x43): In function `pid_is_exec':
> > : undefined reference to `__xstat'
> >
> /home/oie/Meenal/busybox-1.2.0/debianutils/debianutils.a(start
> _stop_daem
> > on.o)(.text.pid_is_user+0x26): In function `pid_is_user':
> > : undefined reference to `__xstat'
> >
> /home/oie/Meenal/busybox-1.2.0/debianutils/debianutils.a(start
> _stop_daem
> > on.o)(.text.pid_is_cmd+0x35): In function `pid_is_cmd':
> > : undefined reference to `_IO_getc'
> >
> /home/oie/Meenal/busybox-1.2.0/debianutils/debianutils.a(start
> _stop_daem
> > on.o)(.text.pid_is_cmd+0x46): In function `pid_is_cmd':
> > : undefined reference to `_IO_getc'
> >
> /home/oie/Meenal/busybox-1.2.0/init/init.a(mesg.o)(.text.mesg_
> main+0x4a)
> > : In function `mesg_main':
> > : undefined reference to `__xstat'
> >
> /home/oie/Meenal/busybox-1.2.0/libbb/libbb.a(error_msg.o)(.tex
> t.bb_error
> > _msg+0x17): In function `bb_error_msg':
> > : undefined reference to `_IO_putc'
> >
> /home/oie/Meenal/busybox-1.2.0/libbb/libbb.a(error_msg_and_die
> .o)(.text.
> > bb_error_msg_and_die+0x17): In function `bb_error_msg_and_die':
> > : undefined reference to `_IO_putc'
> >
> /home/oie/Meenal/busybox-1.2.0/libbb/libbb.a(xstat.o)(.text.xs
> tat+0xd):
> > In function `xstat':
> > : undefined reference to `__xstat'
> > collect2: ld returned 1 exit status
> > make[1]: *** [busybox_unstripped] Error 1
> > make: *** [_all] Error 2
> >
> >
> > i dont know what to do now. Please help me .
>
> This is not busybox-specific. Your toolchain is broken and is using a
> mix of glibc and uclibc.
>
> Rich
>
Rich,
What led you to believe that the above problem is a broken toolchain?
Is there a specific configuration switch set to check for this? Please
advise.
Thanks,
Stan
More information about the busybox
mailing list