***After drafting this message I got Bogdan's message: thanks, I will check 
to be sure I've got the make utility. But I still think there's something 
screwy. Read on.***

I'm running a dual-boot windoze95 and RedHat 6.0 on a P133 notebook from Dell.

I continue to run into setback after setback while attempting to upgrade 
from kernel 2.2.5-15 to 2.2.12, and configure in support for my SCSI Zip, 
Adaptec controller, and parallel port Syquest SparQ. Initially I ran the 
menuconfig, which proved much easier for me.

As best I could, I've documented my actions.

First, I did:
   rpm -i cpp-1.1.2-12.i386.rpm

...and then
   rpm -i egcs-1.1.2-12.i386.rpm
   rpm -i egcs-c++-1.1.2-12.i386.rpm
   rpm -i egcs-g77-1.1.2-12.i386.rpm
   rpm -i egcs-objc-1.1.2-12.i386.rpm

I was happy to see that egcs-g77 didn't complain 'already installed.' I 
guess I needed that one.

I then installed the new source with:
   cd /usr/src
   gzip -cd linux-2.2.XX.tar.gz | tar xfv -

Then, I did a make mrproper (whether that was a good idea or not, I don't 
know.)

BTW, I can't understand why I am not able to make xconfig or menuconfig.
As long as this isn't a symptom of some underlying problem, that's ok with me.
So I did a make config and put the resultant messages below.

Finally, when I tried to make dep, things started getting weird! I'm quite 
pissed off. No longer am I confident that I have a grasp of this stuff. I'm 
so dejected, I am considering reinstalling Linux from scratch. Any helpful 
hints or encouraging remarks would be warmly welcomed!  Thanx.



_commands_&_responses_

make mrproper and resulting comments_______________________________________

[root@localhost linux]# make mrproper
make[1]: Entering directory `/usr/src/linux/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/arch/i386/boot/compressed'
rm -f vmlinux bvmlinux _tmp_*
make[2]: Leaving directory `/usr/src/linux/arch/i386/boot/compressed'
make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
rm -f kernel/ksyms.lst include/linux/compile.h
rm -f core `find . -name '*.[oas]' ! \( -regex '.*lxdialog/.*' \
         -o -regex '.*ksymoops/.*' \) -print`
rm -f core `find . -type f -name 'core' -print`
rm -f core `find . -name '.*.flags' -print`
rm -f vmlinux System.map
rm -f .tmp*
rm -f drivers/char/consolemap_deftbl.c drivers/video/promcon_tbl.c
rm -f drivers/char/conmakehash
rm -f drivers/sound/bin2hex drivers/sound/hex2hex
if [ -d modules ]; then \
         rm -f core `find modules/ -type f -print`; \
fi
rm -f submenu*
rm -f include/linux/autoconf.h include/linux/version.h
rm -f drivers/net/hamradio/soundmodem/sm_tbl_{afsk1200,afsk2666,fsk9600}.h
rm -f drivers/net/hamradio/soundmodem/sm_tbl_{hapn4800,psk4800}.h
rm -f drivers/net/hamradio/soundmodem/sm_tbl_{afsk2400_7,afsk2400_8}.h
rm -f drivers/net/hamradio/soundmodem/gentbl
rm -f drivers/char/hfmodem/gentbl drivers/char/hfmodem/tables.h
rm -f drivers/sound/*_boot.h drivers/sound/.*.boot
rm -f .version .config* config.in config.old
rm -f scripts/tkparse scripts/kconfig.tk scripts/kconfig.tmp
rm -f scripts/lxdialog/*.o scripts/lxdialog/lxdialog
rm -f scripts/ksymoops/*.o scripts/ksymoops/ksymoops
rm -f .menuconfig.log
rm -f include/asm
rm -rf include/config
rm -f .depend `find . -name .depend -print`
rm -f core `find . -size 0 -print`
rm -f .hdepend scripts/mkdep scripts/split-include
rm -f /usr/src/linux/include/linux/modversions.h
rm -rf /usr/src/linux/include/linux/modules
rm -rf modules


attempts to make (various flavers of) 
config_____________________________________

[root@localhost linux]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o 
tkparse.c
tkparse.c:37: stdio.h: No such file or directory
tkparse.c:38: stdlib.h: No such file or directory
tkparse.c:39: string.h: No such file or directory
make[1]: *** [tkparse.o] Error 1
make[1]: Leaving directory `/usr/src/linux/scripts'
make: *** [xconfig] Error 2

[root@localhost linux]# make menuconfig
rm -f include/asm
rq.cc��!linux/arch/sparc/math-emu/fnegs.c/�!linux/arch/sparc/math-emu/fabss. 
cuy linux/arch/mips/boot/ecoff.hamake -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux/scripts/lxdialog'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer 
-DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"   -c lxdialog.c 
-o lxdialog.o
In file included from lxdialog.c:22:
dialog.h:22: sys/types.h: No such file or directory
dialog.h:23: fcntl.h: No such file or directory
dialog.h:24: unistd.h: No such file or directory
dialog.h:25: ctype.h: No such file or directory
dialog.h:26: stdlib.h: No such file or directory
dialog.h:27: string.h: No such file or directory
In file included from dialog.h:29,
                  from lxdialog.c:22:
/usr/include/ncurses/ncurses.h:70: stdio.h: No such file or directory
lxdialog.c:53: locale.h: No such file or directory
make[1]: *** [lxdialog.o] Error 1
make[1]: Leaving directory `/usr/src/linux/scripts/lxdialog'
make: *** [menuconfig] Error 2
_______________________________________________________________________

Then, I did 'make config' which seemed to work, all right.
_______________________________________________________________________

[root@localhost linux]# make dep
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep 
scripts/mkdep.c
scripts/mkdep.c:13: ctype.h: No such file or directory
scripts/mkdep.c:14: stdio.h: No such file or directory
scripts/mkdep.c:15: stdlib.h: No such file or directory
scripts/mkdep.c:16: string.h: No such file or directory
scripts/mkdep.c:17: unistd.h: No such file or directory
scripts/mkdep.c:19: sys/fcntl.h: No such file or directory
scripts/mkdep.c:20: sys/mman.h: No such file or directory
scripts/mkdep.c:21: sys/stat.h: No such file or directory
scripts/mkdep.c:22: sys/types.h: No such file or directory
make: *** [scripts/mkdep] Error 1

[root@localhost linux]# make clean
make[1]: Entering directory `/usr/src/linux/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/arch/i386/boot/compressed'
rm -f vmlinux bvmlinux _tmp_*
make[2]: Leaving directory `/usr/src/linux/arch/i386/boot/compressed'
make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
rm -f kernel/ksyms.lst include/linux/compile.h
rm -f core `find . -name '*.[oas]' ! \( -regex '.*lxdialog/.*' \
         -o -regex '.*ksymoops/.*' \) -print`
rm -f core `find . -type f -name 'core' -print`
rm -f core `find . -name '.*.flags' -print`
rm -f vmlinux System.map
rm -f .tmp*
rm -f drivers/char/consolemap_deftbl.c drivers/video/promcon_tbl.c
rm -f drivers/char/conmakehash
rm -f drivers/sound/bin2hex drivers/sound/hex2hex
if [ -d modules ]; then \
         rm -f core `find modules/ -type f -print`; \
fi
rm -f submenu*

[root@localhost linux]# make zImage
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep 
scripts/mkdep.c
scripts/mkdep.c:13: ctype.h: No such file or directory
scripts/mkdep.c:14: stdio.h: No such file or directory
scripts/mkdep.c:15: stdlib.h: No such file or directory
scripts/mkdep.c:16: string.h: No such file or directory
scripts/mkdep.c:17: unistd.h: No such file or directory
scripts/mkdep.c:19: sys/fcntl.h: No such file or directory
scripts/mkdep.c:20: sys/mman.h: No such file or directory
scripts/mkdep.c:21: sys/stat.h: No such file or directory
scripts/mkdep.c:22: sys/types.h: No such file or directory
make: *** [scripts/mkdep] Error 1 

Reply via email to