2008-08-14 08:35:47

by Peter Teoh

[permalink] [raw]
Subject: KDB compilation errors for 2.6.26

I patched the stock kernel at
http://www.kernel.org/pub/linux/kernel/v2.6/ for 2.6.26 with the two
kdb for 2.6.26 from

ftp://oss.sgi.com/www/projects/kdb/download/latest/

and after compilation,

CHECK include/video/uvesafb.h
CHECK include/video/sisfb.h
CHECK include/video/edid.h
Kernel: arch/x86/boot/bzImage is ready (#1)
Building modules, stage 2.
MODPOST 1605 modules
ERROR: "next_online_pgdat" [kdb/modules/kdbm_vm.ko] undefined!
ERROR: "first_online_pgdat" [kdb/modules/kdbm_vm.ko] undefined!
WARNING: modpost: Found 7 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Not sure how you would like to resolve that, as kdbm_vm.c does not
seem to use the symbol. Thanks.

--
Regards,
Peter Teoh