[BusyBox] broken sh.c dependency
Matt Kraai
kraai at alumni.carnegiemellon.edu
Fri Apr 27 12:12:52 UTC 2001
On Fri, Apr 27, 2001 at 12:00:14PM -0600, Erik Andersen wrote:
> On Fri Apr 27, 2001 at 11:45:40AM -0600, Matt Kraai wrote:
> > I get the following error when compiling:
> >
> > chroot.o: In function `chroot_main':
> > chroot.o(.text+0x66): undefined reference to `shell_main'
> > cmdedit.o: In function `cmdedit_read_input':
> > cmdedit.o(.text+0x1644): undefined reference to `shell_context'
> > applets.o(.rodata+0x268): undefined reference to `shell_main'
> > collect2: ld returned 1 exit status
> > make: *** [busybox] Error 1
> >
> > The problem is that sh.c is not included in the
> > applet_source_list. This, in turn, is due to the fact that sh.c
> > does not exist when this file is generated. The dependencies
> > should be fixed somewhere so that this doesn't happen.
>
> Do a 'make clean; make' and all should be ok.
Ugh. You have to
$ cvs co busybox
$ make
...
make: *** [busybox] Error 1
$ make clean
...
$ make
...
$
in order for it to work now. Gross.
Matt
More information about the busybox
mailing list