After applying the patch the kernel wouldn't compile.
Now I'm not the expert C programmer I'd like to be, but following the
clues the compilation process gave me I found the following line in
net/irda/ircomm/Config.in:
O_OBJS := ircomm_param.o ircomm_core.o ircomm_event.o
ircomm_lmp.o ircomm_ttp.o ircomm_tty.o ircomm_tty_attach.o
ircomm_tty_ioctl.c
All those ".o"'s followed by a single ".c" looked very much like a typo
to me, so I changed the "c" to an "o" and this time the kernel compiled
like it should.
I have traced the typo back to the patch-2.2.12-irda3 file. The patch
is:
--- patch-2.2.12-irda3.orig Sun Sep 19 21:22:33 1999
+++ patch-2.2.12-irda3 Sun Sep 19 21:37:11 1999
@@ -6594,7 +6594,7 @@
-M_OBJS := ircomm.o ircomm_tty.o
-MI_OBJS := ircomm_common.o irvtd_driver.o
+O_TARGET := ircomm_and_tty.o
-+O_OBJS := ircomm_param.o ircomm_core.o ircomm_event.o
ircomm_lmp.o ircomm_ttp.o ircomm_tty.o ircomm_tty_attach.o
ircomm_tty_ioctl.c
++O_OBJS := ircomm_param.o ircomm_core.o ircomm_event.o
ircomm_lmp.o ircomm_ttp.o ircomm_tty.o ircomm_tty_attach.o
ircomm_tty_ioctl.o
+M_OBJS := ircomm.o ircomm-tty.o
+MI_OBJS := ircomm_param.o ircomm_core.o ircomm_event.o ircomm_lmp.o
ircomm_ttp.o ircomm_tty.o ircomm_tty_attach.o ircomm_tty_ioctl.o
Like I wrote I'm not an expert, so please explain to me why this typo
has gone unnoticed on the mailing list for almost two weeks. Is
everybody using 2.3 kernels? Are such typos made to scare off newbies?
;-)
S�ren
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda