[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lm_sensors: first problem compiling kernel



Hi all,

Here it comes my first problem...
I've unpacked a freshly kernel-2.4.9 sources on /usr/src, and copied my old
configuration there (.config). I've run make menuconfig and deselected the
bttv drivers and i2c. (I've reviewed all the configuration and seems ok).

So, I run:
	make-kpkg configure --revision=juli2
Which works fine.

And then, I issue:
	make-kpkg
to build the kernel and it fails:

-----
/usr/bin/make all_targets
make[4]: Entering directory `/usr/src/linux-2.4.9/drivers/char'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.9/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686    -c -o vt.o vt.c
vt.c: In function `vt_ioctl':
vt.c:507: `kbd_rate' undeclared (first use in this function)
vt.c:507: (Each undeclared identifier is reported only once
vt.c:507: for each function it appears in.)
vt.c:514: `kbd_rate' used prior to declaration
vt.c:514: warning: implicit declaration of function `kbd_rate'
make[4]: *** [vt.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.9/drivers/char'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.9/drivers/char'
make[2]: *** [_subdir_char] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.9/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.9'
make: *** [stamp-build] Error 2
juli:/usr/src/linux# 
-----

What happens? I've had the same problem last they when trying to compile
a very tiny kernel...

Thanks!

-- 
FreeBSD is the power--
Julio Merino <juli@merino.net> ICQ: 18961975

Attachment: pgp5YO6Q5qELz.pgp
Description: PGP signature


Reply to: