Unable to patch...
vishnu vardhan <[email protected]> Fri, 16 Mar 2012 14:37:29 +0530
| Newsgroups | gmane.linux.kernel.debugging |
|---|---|
| Message-ID | <CACk2A5Z0zeFF4d+PD+Ehxrq1S20Eu5N+O=uBcrAnjWDxDdj88w@mail.gmail.com> |
--===============2207139168081089264== Content-Type: multipart/alternative; boundary=e89a8f642daac67e0504bb58897b --e89a8f642daac67e0504bb58897b Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <[email protected]> Hi , This is Vishnu,Iam here to bring to your notice that when I apply patches kdb-v4.4-2.6.18-rc7-common-1.bz2,kdb-v4.4-2.6.18-x86_64-2.bz2 to linux-2.6.18-274.18.1.el5.x86_64 source it is failing for some files and when I do make for my source Iam getting an error like below.. CHK include/linux/version.h CHK include/linux/utsrelease.h CHK include/linux/compile.h SKIPPED include/linux/compile.h CC kdb/kdb_bt.o In file included from include/linux/kdb.h:15, from kdb/kdb_bt.c:15: include/linux/config.h:6:2: warning: #warning Including config.h is deprecated. CC kdb/kdb_bp.o In file included from include/linux/kdb.h:15, from kdb/kdb_bp.c:14: include/linux/config.h:6:2: warning: #warning Including config.h is deprecated. CC kdb/kdb_id.o In file included from include/linux/kdb.h:15, from kdb/kdb_id.c:16: include/linux/config.h:6:2: warning: #warning Including config.h is deprecated. CC kdb/kdbsupport.o In file included from kdb/kdbsupport.c:13: include/linux/config.h:6:2: warning: #warning Including config.h is deprecated. GENKDB kdb/gen-kdb_cmds.c CC kdb/gen-kdb_cmds.o CC kdb/kdbmain.o In file included from kdb/kdbmain.c:18: *include/linux/config.h:6:2: warning: #warning Including config.h is deprecated. kdb/kdbmain.c:3905: error: =91KERN_KDB=92 undeclared here (not in a functio= n) make[1]: *** [kdb/kdbmain.o] Error 1 make: *** [kdb] Error 2* and I also tried the same with vanilla-2.6.18 version,Though the applying patch was successfull when I tried to build it iam getting following error... CC arch/x86_64/lib/io.o AS arch/x86_64/lib/iomap_copy.o LD arch/x86_64/lib/built-in.o CC arch/x86_64/lib/bitops.o CC arch/x86_64/lib/bitstr.o AS arch/x86_64/lib/clear_page.o AS arch/x86_64/lib/copy_page.o AS arch/x86_64/lib/copy_user.o AS arch/x86_64/lib/csum-copy.o CC arch/x86_64/lib/csum-partial.o CC arch/x86_64/lib/csum-wrappers.o CC arch/x86_64/lib/delay.o AS arch/x86_64/lib/getuser.o AS arch/x86_64/lib/memcpy.o CC arch/x86_64/lib/memmove.o AS arch/x86_64/lib/memset.o AS arch/x86_64/lib/putuser.o AS arch/x86_64/lib/thunk.o CC arch/x86_64/lib/usercopy.o AR arch/x86_64/lib/lib.a GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 kdb/built-in.o: In function `kdbm_page': /home/vishnu/rpmbuild/BUILD/kernel-2.6.18/vanilla-2.6.18.4/kdb/modules/kdbm= _pg.c:215: undefined reference to `mem_map' make: *** [.tmp_vmlinux1] Error 1 ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= --------------------- Iam running both in CentOS 5 machine and for information when i give uname -a i got this below information. [vishnu@localhost linux-2.6.18-274.18.1.el5.x86_64]$ uname -a Linux localhost.localdomain 2.6.18-274.18.1.el5 #1 SMP Thu Feb 9 12:45:44 EST 2012 x86_64 x86_64 x86_64 GNU/Linux Please respond to my mail as soon as possible because i have to use KDB to rectify some errors in my Modules... With Regards, Vishnu.R --e89a8f642daac67e0504bb58897b Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <br><br><div class=3D"gmail_quote"><div text=3D"#000000" bgcolor=3D"#ffffff= "><table border=3D"0" cellpadding=3D"0" cellspacing=3D"0"><tbody><tr><th no= wrap valign=3D"BASELINE" align=3D"RIGHT"><br></th><td><br></td></tr><tr><th= nowrap valign=3D"BASELINE" align=3D"RIGHT"> <br></th><td><br></td></tr><tr><th nowrap valign=3D"BASELINE" align=3D"RIGH= T"><br></th><td><br></td></tr><tr><th nowrap valign=3D"BASELINE" align=3D"R= IGHT"><br></th><td><a href=3D"mailto:[email protected]" target=3D"_blank"></a= ><br></td> </tr> </tbody> </table> <br> <br> =20 Hi ,<br> <br> This is Vishnu,Iam here to bring to your notice that when I apply patches kdb-v4.4-2.6.18-rc7-common-1.bz2,kdb-v4.4-2.6.18-x86_64-2.bz2=A0 to <br= > linux-2.6.18-274.18.1.el5.x86_64 source it is failing for some files and when I do make for my source Iam getting an error like below..<br> <br> =A0<br> =A0 CHK=A0=A0=A0=A0 include/linux/version.h<br> =A0 CHK=A0=A0=A0=A0 include/linux/utsrelease.h<br> =A0 CHK=A0=A0=A0=A0 include/linux/compile.h<br> =A0 SKIPPED include/linux/compile.h<br> =A0 CC=A0=A0=A0=A0=A0 kdb/kdb_bt.o<br> In file included from include/linux/kdb.h:15,<br> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 from kdb/kdb_bt.c:15:<= br> include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.<br> =A0 CC=A0=A0=A0=A0=A0 kdb/kdb_bp.o<br> In file included from include/linux/kdb.h:15,<br> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 from kdb/kdb_bp.c:14:<= br> include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.<br> =A0 CC=A0=A0=A0=A0=A0 kdb/kdb_id.o<br> In file included from include/linux/kdb.h:15,<br> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 from kdb/kdb_id.c:16:<= br> include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.<br> =A0 CC=A0=A0=A0=A0=A0 kdb/kdbsupport.o<br> In file included from kdb/kdbsupport.c:13:<br> include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.<br> =A0 GENKDB=A0 kdb/gen-kdb_cmds.c<br> =A0 CC=A0=A0=A0=A0=A0 kdb/gen-kdb_cmds.o<br> =A0 CC=A0=A0=A0=A0=A0 kdb/kdbmain.o<br> In file included from kdb/kdbmain.c:18:<br> <b>include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.<br> kdb/kdbmain.c:3905: error: =91KERN_KDB=92 undeclared here (not in a function)<br> make[1]: *** [kdb/kdbmain.o] Error 1<br> make: *** [kdb] Error 2</b><br> <br> and I also tried the same with vanilla-2.6.18 version,Though the applying patch was successfull when I tried to build it iam getting following error...<br> <br> =A0 CC=A0=A0=A0=A0=A0 arch/x86_64/lib/io.o<br> =A0 AS=A0=A0=A0=A0=A0 arch/x86_64/lib/iomap_copy.o<br> =A0 LD=A0=A0=A0=A0=A0 arch/x86_64/lib/built-in.o<br> =A0 CC=A0=A0=A0=A0=A0 arch/x86_64/lib/bitops.o<br> =A0 CC=A0=A0=A0=A0=A0 arch/x86_64/lib/bitstr.o<br> =A0 AS=A0=A0=A0=A0=A0 arch/x86_64/lib/clear_page.o<br> =A0 AS=A0=A0=A0=A0=A0 arch/x86_64/lib/copy_page.o<br> =A0 AS=A0=A0=A0=A0=A0 arch/x86_64/lib/copy_user.o<br> =A0 AS=A0=A0=A0=A0=A0 arch/x86_64/lib/csum-copy.o<br> =A0 CC=A0=A0=A0=A0=A0 arch/x86_64/lib/csum-partial.o<br> =A0 CC=A0=A0=A0=A0=A0 arch/x86_64/lib/csum-wrappers.o<br> =A0 CC=A0=A0=A0=A0=A0 arch/x86_64/lib/delay.o<br> =A0 AS=A0=A0=A0=A0=A0 arch/x86_64/lib/getuser.o<br> =A0 AS=A0=A0=A0=A0=A0 arch/x86_64/lib/memcpy.o<br> =A0 CC=A0=A0=A0=A0=A0 arch/x86_64/lib/memmove.o<br> =A0 AS=A0=A0=A0=A0=A0 arch/x86_64/lib/memset.o<br> =A0 AS=A0=A0=A0=A0=A0 arch/x86_64/lib/putuser.o<br> =A0 AS=A0=A0=A0=A0=A0 arch/x86_64/lib/thunk.o<br> =A0 CC=A0=A0=A0=A0=A0 arch/x86_64/lib/usercopy.o<br> =A0 AR=A0=A0=A0=A0=A0 arch/x86_64/lib/lib.a<br> =A0 GEN=A0=A0=A0=A0 .version<br> =A0 CHK=A0=A0=A0=A0 include/linux/compile.h<br> =A0 UPD=A0=A0=A0=A0 include/linux/compile.h<br> =A0 CC=A0=A0=A0=A0=A0 init/version.o<br> =A0 LD=A0=A0=A0=A0=A0 init/built-in.o<br> =A0 LD=A0=A0=A0=A0=A0 .tmp_vmlinux1<br> kdb/built-in.o: In function `kdbm_page':<br> /home/vishnu/rpmbuild/BUILD/kernel-2.6.18/vanilla-2.6.18.4/kdb/modules/= kdbm_pg.c:215: undefined reference to `mem_map'<br> make: *** [.tmp_vmlinux1] Error 1<br> <br> ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------<br> <br> Iam running both in CentOS 5 machine and for information when i give uname -a i got this below information.<br> <br> [vishnu@localhost linux-2.6.18-274.18.1.el5.x86_64]$ uname -a<br> Linux localhost.localdomain 2.6.18-274.18.1.el5 #1 SMP Thu Feb 9 12:45:44 EST 2012 x86_64 x86_64 x86_64 GNU/Linux<br> <br> Please respond to my mail as soon as possible because i have to use KDB to rectify some errors in my Modules...<br> <br> <br> With Regards,<br> Vishnu.R<br> <br> <br> <br> <br> <br> </div> </div><br> --e89a8f642daac67e0504bb58897b-- --===============2207139168081089264== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kdb mailing list [email protected] http://oss.sgi.com/mailman/listinfo/kdb --===============2207139168081089264==--