Kernel compiling weirdness

Rachel Slatkin (rlist@r33h152.res.gatech.edu)
Mon, 25 Aug 1997 17:51:14 -0400 (EDT)


I'm having strange trouble compiling a 2.0.30 kernel.I'm
currently running 2.0.28 and the slackware distribution, with gcc version
2.7.2. I've successfully compiled at least 10 kernels before with no
trouble. The only major change I've made since then is to move /usr to
a new disk, but I can't see how that could be causing this
problem--nothing else has complained, and this doesn't seem like a
hardware problem. I'm not sure if these errors are related to each other
or not.

The first one--during 'make dep', it can't run the script mkdep. I have
similar problems with 'make menuconfig'--it compiles but then can't run
'lxdialog'.

---
Script started on Mon Aug 25 17:40:23 1997
<root>:/disk2/usr/src/linux-2.0.30# make dep
make[1]: Entering directory `/disk2/usr/src/linux-2.0.30/arch/i386/boot'
make[1]: Nothing to be done for `dep'.
make[1]: Leaving directory `/disk2/usr/src/linux-2.0.30/arch/i386/boot'
scripts/mkdep init/*.c > .tmpdepend
/bin/sh: scripts/mkdep: Permission denied
make: *** [dep-files] Error 126
<root>:/disk2/usr/src/linux-2.0.30# exit
exit
Script done on Mon Aug 25 17:40:29 1997
---

I can manually fix the permissions on the script, but when I do 'make zImage', the make fails:

---
Script started on Mon Aug 25 16:35:24 1997
<root>:/disk2/usr/src/linux-2.0.30# make zImage
[snip]
gcc -D__KERNEL__ -I/disk2/usr/src/linux-2.0.30/include -Wall 
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o 
consolemap.o consolemap.c
consolemap.c: In function `con_set_default_unimap':
consolemap.c:404: `dfont_unitable' undeclared (first use this function)
consolemap.c:404: (Each undeclared identifier is reported only once
consolemap.c:404: for each function it appears in.)
consolemap.c:406: `dfont_unicount' undeclared (first use this function)
consolemap.c:397: warning: `j' might be used uninitialized in this function
consolemap.c:398: warning: `p' might be used uninitialized in this function
make[3]: *** [consolemap.o] Error 1
make[3]: Leaving directory `/disk2/usr/src/linux-2.0.30/drivers/char'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/disk2/usr/src/linux-2.0.30/drivers/char'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/disk2/usr/src/linux-2.0.30/drivers'
make: *** [linuxsubdirs] Error 2
Script done on Mon Aug 25 16:38:37 1997
---

I've tried redownloading the kernel from several different places, reinstalling the gcc package from the Slackware disk set, and recompiling several different times. I've tried posting to the appropriate newsgroups, but no luck. I'm getting a CD-R drive in tomorrow, which is why I need the new kernel. It would really stink to have a fun new toy and not be able to play with it. :)

Any help would be greatly appreciated.