Re: Make Dep Fatal Error - Solved

Lee Forrest <[email protected]>
Newsgroups gmane.comp.gnu.utils
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.