From: Andrew W. <qw...@gm...> - 2005-05-16 23:25:51
|
Hi I am trying to compile a kernel with the ruby patch under Debian sarge. I am using gcc 3.3.5. I downloaded and unpacked kernel-source-2.6.8, downloaded ruby from CVS, and copied it over the kernel source. I then did 'make xconfig', following instructions from http://linuxconsole.sourceforge.net/quick.html. Some options seemed to have different names, but otherwise everything seemed alright. I then attempted to compile with # fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image which failed with the following error: make[1]: Entering directory `/usr/local/src/kernel-source-2.6.8' make[2]: `arch/i386/kernel/asm-offsets.s' is up to date. CHK include/linux/compile.h CC drivers/char/tty_ioctl.o drivers/char/tty_ioctl.c: In function `change_termios': drivers/char/tty_ioctl.c:110: error: structure has no member named `termios_sem' drivers/char/tty_ioctl.c:149: warning: implicit declaration of function `tty_ldisc_ref' drivers/char/tty_ioctl.c:149: warning: assignment makes pointer from integer without a cast drivers/char/tty_ioctl.c:153: warning: implicit declaration of function `tty_ldisc_deref' drivers/char/tty_ioctl.c:155: error: structure has no member named `termios_sem' drivers/char/tty_ioctl.c: In function `set_termios': drivers/char/tty_ioctl.c:178: warning: assignment makes pointer from integer without a cast drivers/char/tty_ioctl.c: In function `n_tty_ioctl': drivers/char/tty_ioctl.c:477: warning: assignment makes pointer from integer without a cast drivers/char/tty_ioctl.c:541: error: structure has no member named `termios_sem' drivers/char/tty_ioctl.c:545: error: structure has no member named `termios_sem' drivers/char/tty_ioctl.c:397: warning: unused variable `flags' make[3]: *** [drivers/char/tty_ioctl.o] Error 1 make[2]: *** [drivers/char] Error 2 make[1]: *** [drivers] Error 2 make[1]: Leaving directory `/usr/local/src/kernel-source-2.6.8' make: *** [stamp-build] Error 2 What is wrong here, and how can I get it to compile successfully? Andrew Walbran |