kernel modules

Bill Davidson harley7
Mon May 17 11:33:40 PDT 2004


On Fri, 21 Jun 2002 16:20:40 -0400 (EDT)
Net Llama! <netllama at linux-sxs.org> wrote:

> On Fri, 21 Jun 2002, Bill Davidson wrote:
> > Alright. Now I've done it. I needed to rebuild my kernel after-all,
> > and I
> > didn't make a backup of my working kernel(1 of my finer brain-dead
> > moments). I ran 'make modules install' instead of 'make
> > modules_install'. I ran make modules_install afterward. Now I can't
> > boot. It just says 'loading kernel...' and freezes.
> >
> > This is for an lfs system, so I do have another working system. So I
> > chrooted to my lfs partition and ran 'make menuconfig'. I probly
> > don't need that but anyway... It appears I've hosed Ncurses. Here's
> > the output:
> >
> > rm -f include/asm
> > ( cd include ; ln -sf asm-i386 asm)
> > make -C scripts/lxdialog all
> > make[1]: Entering directory `/usr/src/linux/scripts/lxdialog'
> > collect2: cannot find 'ld'
> 
> ld is in /usr/bin on my Redhat boxes.  Perhaps you've got a $PATH
> problem?

Ya. You're right. But I fixed my path and nothing changed.

> >
> > >> Unable to find the Ncurses libraries.
> > >>
> > >> You must have Ncurses installed in order
> > >> to use 'make menuconfig'
> >
> > make[1]: Leaving directory `/usr/src/linux/scripts/lxdialog'
> >
> > So here's the question: can I fix this? Also, was this caused by the
> > stupid make modules install command that I mistakenly entered?
> 
> i doubt it.  Looks like binutils might have gotten hosed on your box,
> if it can't find ld and can't find dynamic libs.

Alright. I might have an idea how I can reinstall it. Thanks.

Bill



More information about the Linux-users mailing list