kdb
[Top] [All Lists]

patching kdb to the Centos Kernel : more errors

To: kdb@xxxxxxxxxxx
Subject: patching kdb to the Centos Kernel : more errors
From: "Satish Eerpini" <eerpini@xxxxxxxxx>
Date: Mon, 25 Aug 2008 07:37:58 +0530
Cc: bgnaidu@xxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:mime-version:content-type:content-transfer-encoding :content-disposition; bh=Vr3kKeaOj+xAV1Vs98rAVHibYuuY+elQsijWlHxEXBw=; b=DB49Ks0SrEAgbzREVJlc6LnU4S/S84La6VR7mqzVfzWgxln7+TAYNXTRE+c3WAVuxs 5DvvQ5wHljZbxbwF43WdNmBF04p4W3PYBx1NP9Z/pvwS4SE9WB53nptOvS90lON0+1CA WlSd1FxE34qLAZAvvuS8umiTFUrZ7LFeqYzqw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition; b=inhEvetWrcRHzUUHJQbK29Pd93GWTWngJZmm8xAIT8CLdqXt+uKxaZJdF6HdDdRBSR nH6UlzKjzYIWIKRundaEOTmUkePBCYtsjQFX91UOSrk1UNBRibgzOmMUbtKgCvuK8V3Y 9xcdbh4Xq3NAEujrUnSn59voag8XeQd/lRoVU=
Sender: kdb-bounce@xxxxxxxxxxx
i have fixed up errors concerning the previous ones i have mentioned
, ... but new  errors have appeared , :

  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CHK     include/linux/compile.h
  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 `kdb_inittab':
/usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i386/kdb/kdbmain.c:3816:
undefined reference to `__kdb_initcall_start'
/usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i386/kdb/kdbmain.c:3822:
undefined reference to `__kdb_initcall_end'
make: *** [.tmp_vmlinux1] Error 1

i have checked the code which corressponds to the above errors , it is
something liket this :

        /* Any kdb commands that are not in the base code but are required
         * earlier than normal initcall processing.
         */
        call = & __kdb_initcall_start;
        while (call < & __kdb_initcall_end) {
                (*call)();
                call++;
        };

, but i don't understand why it is showing an undefined reference
error , __kdb_initcall_start and __kdb_initcall_end are defined in
include/linux/kdbprivate.h as follows :

#ifdef  MODULE
#define kdb_module_init(fn) module_init(fn)
#define kdb_module_exit(fn) module_exit(fn)
#else   /* !MODULE */
extern initcall_t __kdb_initcall_start, __kdb_initcall_end;
#define kdb_module_init(fn) \
        static initcall_t __kdb_initcall_##fn __attribute_used__
__attribute__ ((__section__ (".kdb_initcall.init"))) = fn;
#define kdb_module_exit(fn) \
        static exitcall_t __kdb_exitcall_##fn __attribute_used__
__attribute__ ((__section__ (".kdb_exitcall.exit"))) = fn;
#endif  /* MODULE */

then what does the error signify ?


Thanks
Satish


-- 
http://satish.playdrupal.com
---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>