[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make Dep Fatal Error - Solved
From: |
Lee Forrest |
Subject: |
Re: Make Dep Fatal Error - Solved |
Date: |
Mon, 18 Dec 2006 04:17:52 -0800 |
User-agent: |
Mutt/1.3.24i |
On Wed, Dec 13, 2006 at 11:08:48AM -0800, Lee Forrest wrote:
> Hello,
>
> I run Debian with a 2.4.19 kernel, and for the first time in ages
> decided to rebuild my kernel, to remove a lot stuff that I now
> know, with more experience, that I don't need.
>
> I edited the .config file, mved it temporarily, and ran 'make
> mrproper' then 'make oldconfig'. So far so good. When I ran 'make
> dep' I got the following error:
>
> 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
>
> So I updated libc6-dev and libc6 and tried again. Same error.
>
> gcc-2.95
>
> Make: version 3.79.1, by Richard Stallman and Roland McGrath.
> for i586-pc-linux-gnu
>
> Can anyone help? I am completely baffled.
>
> Thanks,
>
> Lee
>
Turns out I had updated my baselibs (libc6) before my problem
here began, without updating ld, the GNU linker.
On debian, ld is a part of the binutils package. I updated that
and everything is fine.
Lee