kernel compile error using new gcc

Joseph Y. Chen (jychen@celab3.ce.arizona.edu)
Wed, 20 Mar 1996 01:41:49 -0700 (MST)


When I compile kernel 1.3.75 I got
.....
gcc -D__KERNEL__ -I/usr/src/linux-1.3.75/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe
-m486 -DCPU=486 -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 `/usr/src/linux-1.3.75/drivers/char'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-1.3.75/drivers/char'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-1.3.75/drivers'
make: *** [linuxsubdirs] Error 2

my system:
kernel 1.2.13 ELF
gcc-2.7.2.l.3.bin (from H.J.)
binutils-2.6.0.10.bin (from H.J.)
libc-5.3.6.bin (from H.J.)
libg++2.7.1.4.bin (from H.J.)
ld-1.7.14

I don't kwon if it's gcc or kernel's problem, since this is my first time
to use gcc to compiler the kernel since upgrading gcc, etc.

Any hints?

-- joe
--------------------------------------------------------------------------
Joseph Y Chen Civil Engineering, Uni. of Arizona
jychen@CElab3.CE.Arizona.EDU http://CElab3.CE.Arizona.EDU