i have to use certain things like struct uart_driver, uart_port, uart_ops and also uart_register_driver for a serial driver (driver for learning purpose only!) which wud b available to me if a apply this patch. -mandeep -----Original Message----- From: Anup Patil [mailto:patil_a@etech.haw-hamburg.de] Sent: Wednesday, January 21, 2004 2:21 PM To: Mandeep Singh Sandhu; kernelnewbies@nl.linux.org Subject: Re: kernel does not compile with ARM patch applied ----- Original Message ----- From: "Mandeep Singh Sandhu" <mandeep_sandhu@infosys.com> To: "Anup Patil" <patil_a@etech.haw-hamburg.de>; <kernelnewbies@nl.linux.org> Sent: Wednesday, January 21, 2004 8:28 AM Subject: RE: kernel does not compile with ARM patch applied I'm using gcc 3.2.2 I'll be running my kernel over an Intel PC. i'm not using ne cross-compiler. there r certain things that i'd like to use from the patch that's y i'm applying it even though i run my kernel on an intel processor. this shud'nt b a prob as the uname -r will give o/p as i686 and it wont go into the arch/arm dir. is there ne place where i can download an already patched kernel. i tried the following link but it does'nt seem 2 work http://www.huihoo.org/mirrors/pub/embed/skyeye/src/armlinux/ - mandeep -----Original Message----- From: Anup Patil [mailto:patil_a@etech.haw-hamburg.de] Sent: Wednesday, January 21, 2004 12:34 PM To: Mandeep Singh Sandhu; kernelnewbies@nl.linux.org Subject: Re: kernel does not compile with ARM patch applied ----- Original Message ----- From: "Mandeep Singh Sandhu" <mandeep_sandhu@infosys.com> To: <kernelnewbies@nl.linux.org> Sent: Wednesday, January 21, 2004 5:47 AM Subject: RE: kernel does not compile with ARM patch applied hello world, i'm tryiing to compile a 2.4.18 kernel with arm patch applied over it. I tried what was suggested (see below). i did the following steps basically. 1) untarred the kernel tar ball 2) applied the patch patch-2.4.18-rmk1.gz over it without ne problem. 3) did a make menuconfig and in the character devices made support for 8250, 16550 UART's as MODULAR. saved the config. -- Then did the following as suggested 4) cp .config config-2.4.18 5) make mrproper 6) config-2.4.18 .config 7) make oldconfig dep bzImage It failed for bzImage saying unresolved reference to kbd_bh in file ./drivers/char/char.o the file ./drivers/char/keyboard.c has this fxn without the arm patch applied there is no problem. shud i apply a higher ver patch like patch-2.4.18-rmk7.gz Please help thanx mandeep -----Original Message----- From: Lukas Ruf [mailto:ruf@rawip.org] Sent: Tuesday, January 20, 2004 1:04 PM To: kernelnewbies@nl.linux.org Subject: Re: kernel does not compile with ARM patch applied > Mandeep Singh Sandhu <mandeep_sandhu@infosys.com> [2004-01-20 > 06:44]: > > Hi all, > > i recently downloaded the arm patch (patch-2.4.18-rmk1.gz) and the > vanilla kernel 2.4.18 the patch got applied without ne problems. > only when i was doing a make bzImage (after make dep) it gave the > error in driver/char/char.o saying unresolved reference to kbd_bh in > char.o. I checked the pc_kbd.c file but there there is no fxn like > kbd_bh. I would like to know which file is making this char.o and > why is the compilation failing > eMail Style Guide: <http://www.rawip.org/style.html> -- set your line lenth to 70 characters! ./drivers/char/keyboard.c:static void kbd_bh(unsigned long dummy) Have you tried to run 'cp .config config-2.4.18 make mrproper cp config-2.4.18 .config make oldconfig dep bzImage' wbr, Lukas -- What version is your version of gcc ? I supose it is a cross compiler for ARM . Try to use the 2.4.18-rmk7 patch. anup -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/ Oh! the patch makes considerable changes to the keyboard and some other drivers. Out of curiosity why would you want to do this? -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/