Skip to Content.
Sympa Menu

baslinux - Re: [BL] Development Tools for BL (4)

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Lee Forrest <lforrestster AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Development Tools for BL (4)
  • Date: Tue, 12 Dec 2006 16:34:53 -0800

On Tue, Dec 12, 2006 at 10:05:18AM -0800, David Moberg wrote:
> Lee Forrest wrote:
> >
> > Barfed here too. Must be the kernel sources rather than the
> > compiler.
> >
> >
> > Failed at 'make dep' and again, with same error, when I plowed
> > ahead and tried 'make zImage'.
> >
> > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep
> > scripts/mkdep.c
> > /usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init':
> > elf-init.oS(.text+0x1d): undefined reference to `__init_array_end'
> > elf-init.oS(.text+0x23): undefined reference to `__init_array_start'
> > elf-init.oS(.text+0x43): undefined reference to `__init_array_start'
> > /usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_fini':
> > elf-init.oS(.text+0x7a): undefined reference to `__fini_array_end'
> > elf-init.oS(.text+0x80): undefined reference to `__fini_array_start'
> > elf-init.oS(.text+0xa3): undefined reference to `__fini_array_start'
> > collect2: ld returned 1 exit status
> > make: *** [scripts/mkdep] Error 1
>
> I just noticed this error log. It appears that the kernel Makefile is
> trying to build mkdep (tool used for compiling) but something is wrong
> with your libc setup. You will need to fix this problem before you can
> compile a kernel (with updated serial driver or otherwise). What order
> did you install the development packages in? (If they were installed
> in the wrong order, that could cause a problem.)

That's baffling. I haven't changed anything in that area since
I built my last debian kernel (quite a while ago). It's a stock
setup via apt-get.

I just noticed something, David. There's no space left on that
partition:

Filesystem Size Used Avail Use% Mounted on
/dev/hda9 464M 453M 0 100% /usr

I'll move the tarballs to a partition where I have lots of space
and symlink the unpacked kernel source tree to /usr/src/linux and
try again.

Good grief! :-(

Lee






Archive powered by MHonArc 2.6.24.

Top of Page