On Wed, Sep 17, 2003 at 02:41:21PM -0400, Ernie Schroder wrote:
> aditional info:
> I can go into /usr/src/inux-2.4.20-gentoo-r7 and make menuconfig 
> works.
> 

I'm not sure if this would help in this situation, but have you tried
running:

    # cp .config /tmp/
    # make mrproper
    # cp /tmp/.config .

This often fixes problems that make clean doesn't.  If that doesn't
work, I'd try re-emerging linux-2.4.20-gentoo-r1.

Hope that helps,

- PK

> 
> On Wednesday 17 September 2003 02:03 pm, Ernie Schroder wrote:
> >  I want to add a module to my running kernel (2.4.20-gentoo-r1)
> > make menuconfig exits as below.
> >
> > MRK linux # make menuconfig
> > rm -f include/asm
> > ( cd include ; ln -sf asm-i386 asm)
> > make -C scripts/lxdialog all
> > make[1]: Entering directory
> > `/usr/src/linux-2.4.20-gentoo-r1/scripts/lxdialog'
> > make[1]: *** No rule to make target `all'.  Stop.
> > make[1]: Leaving directory
> > `/usr/src/linux-2.4.20-gentoo-r1/scripts/lxdialog'
> > make: *** [menuconfig] Error 2
> >
> > Make xconfig seems to run normally but when I try to build the
> > modules, I get:
> >
> >  make dep;make clean bzImage modules modules_install
> > make: *** No rule to make target `scripts/mkdep.c', needed by
> > `scripts/mkdep'.  Stop.
> > make[1]: Entering directory
> > `/usr/src/linux-2.4.20-gentoo-r1/arch/i386/boot'
> > rm -f tools/build
> > rm -f setup bootsect zImage compressed/vmlinux.out
> > rm -f bsetup bbootsect bzImage compressed/bvmlinux.out
> > make[2]: Entering directory
> > `/usr/src/linux-2.4.20-gentoo-r1/arch/i386/boot/compressed'
> > rm -f vmlinux bvmlinux _tmp_*
> > make[2]: Leaving directory
> > `/usr/src/linux-2.4.20-gentoo-r1/arch/i386/boot/compressed'
> > make[1]: Leaving directory
> > `/usr/src/linux-2.4.20-gentoo-r1/arch/i386/boot'
> > find . \( -name '*.[oas]' -o -name core -o -name '.*.flags' \)
> > -type f -print \
> >
> > | grep -v lxdialog/ | xargs rm -f
> >
> > rm -f kernel/ksyms.lst include/linux/compile.h vmlinux System.map
> > .tmp* drivers/char/consolemap_deftbl.c drivers/video/promcon_tbl.c
> > drivers/char/conmakehash drivers/char/drm/*-mod.c
> > drivers/pci/devlist.h drivers/pci/classlist.h
> > drivers/pci/gen-devlist drivers/zorro/devlist.h
> > drivers/zorro/gen-devlist
> > drivers/sound/bin2hex drivers/sound/hex2hex
> > drivers/atm/fore200e_mkfirm
> > drivers/atm/{pca,sba}*{.bin,.bin1,.bin2}
> > drivers/scsi/aic7xxx/aicasm/aicasm
> > drivers/scsi/aic7xxx/aicasm/aicasm_gram.c
> > drivers/scsi/aic7xxx/aicasm/aicasm_gram.h
> > drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.c
> > drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.h
> > drivers/scsi/aic7xxx/aicasm/aicasm_macro_scan.c
> > drivers/scsi/aic7xxx/aicasm/aicasm_scan.c
> > drivers/scsi/aic7xxx/aicasm/aicdb.h
> > drivers/scsi/aic7xxx/aicasm/y.tab.h drivers/scsi/53c700_d.h
> > net/khttpd/make_times_h net/khttpd/times.h submenu*
> > rm -rf modules
> > make -C Documentation/DocBook clean
> > make[1]: Entering directory
> > `/usr/src/linux-2.4.20-gentoo-r1/Documentation/DocBook'
> > rm -f core *~
> > rm -f wanbook.sgml z8530book.sgml mcabook.sgml videobook.sgml
> > kernel-api.sgml parportbook.sgml kernel-hacking.sgml
> > kernel-locking.sgml via-audio.sgml mousedrivers.sgml sis900.sgml
> > deviceiobook.sgml procfs-guide.sgml tulip-user.sgml
> > journal-api.sgml rm -f  wanbook.dvi  z8530book.dvi  mcabook.dvi 
> > videobook.dvi kernel-api.dvi  parportbook.dvi  kernel-hacking.dvi
> > kernel-locking.dvi  via-audio.dvi  mousedrivers.dvi  sis900.dvi
> > deviceiobook.dvi  procfs-guide.dvi  tulip-user.dvi  journal-api.dvi
> > wanbook.aux  z8530book.aux  mcabook.aux  videobook.aux
> > kernel-api.aux  parportbook.aux  kernel-hacking.aux
> > kernel-locking.aux  via-audio.aux  mousedrivers.aux  sis900.aux
> > deviceiobook.aux  procfs-guide.aux  tulip-user.aux  journal-api.aux
> > wanbook.tex  z8530book.tex  mcabook.tex  videobook.tex
> > kernel-api.tex  parportbook.tex  kernel-hacking.tex
> > kernel-locking.tex  via-audio.tex  mousedrivers.tex  sis900.tex
> > deviceiobook.tex  procfs-guide.tex  tulip-user.tex  journal-api.tex
> > wanbook.log  z8530book.log  mcabook.log  videobook.log
> > kernel-api.log  parportbook.log  kernel-hacking.log
> > kernel-locking.log  via-audio.log  mousedrivers.log  sis900.log
> > deviceiobook.log  procfs-guide.log  tulip-user.log  journal-api.log
> > wanbook.out  z8530book.out  mcabook.out  videobook.out
> > kernel-api.out  parportbook.out  kernel-hacking.out
> > kernel-locking.out  via-audio.out  mousedrivers.out  sis900.out
> > deviceiobook.out  procfs-guide.out  tulip-user.out  journal-api.out
> > rm -f  parport-share.png  parport-multi.png  parport-structure.png
> > parport-share.eps  parport-multi.eps  parport-structure.eps
> > rm -f procfs_example.sgml
> > make[1]: Leaving directory
> > `/usr/src/linux-2.4.20-gentoo-r1/Documentation/DocBook'
> > make: *** No rule to make target `init/main.c', needed by
> > `init/main.o'.  Stop.
> >
> > Please help. I'm about to dash a new scanner to pieces.
> 
> -- 
> Regards, Ernie
> 100% Microsoft and Intel free
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list

Reply via email to