Hi, I am trying to recompile the kernel which comes with SuSE 8.1 (i.e. linux-2.4.19.SuSE ). I am using the /proc/config.gz file as teh default .config file. Most files compile but I am betting the following compilatin error : traps.c:658: warning: implicit declaration of function `kdb' traps.c:658: `KDB_REASON_BREAK' undeclared (first use in this function) traps.c:658: (Each undeclared identifier is reported only once traps.c:658: for each function it appears in.) traps.c:658: `kdb_eframe_t' undeclared (first use in this function) traps.c:658: parse error before "regs" The offending lines in traps.c looks like : #if defined(CONFIG_DPROBES_CORE) || defined(CONFIG_KDB) /* * If dp_trap returns zero, there is no probe at this location and we * handle int3 normally. */ asmlinkage int do_int3(struct pt_regs * regs, long error_code) { #if defined(CONFIG_DPROBES_CORE) HOOK_RET(DO_INT3, regs); #endif if (kdb(KDB_REASON_BREAK, error_code, (kdb_eframe_t) regs)) return 0; do_trap(3, SIGTRAP, "int3", 1, regs, error_code, NULL); return 0; } #endif The variable CONFIG_DPROBES_CORE is defined in /proc/config.gz as: CONFIG_DPROBES_CORE = y and CONFIG_KDB is unset. The file defining KDB_REASON_BREAK is only included if CONFIG_KDB is set! There is no way I can turn off CONFIG_DPROBES_CORE from the "make xconfig" command. Turning it off by editing the config file also does not seem to work for me. Surely this default SuSE 8.1 kernel should compile by default without any tweaks from me ? Thanks CPH
CP Hennessy
There is no way I can turn off CONFIG_DPROBES_CORE from the "make xconfig" command.
But you can with "make menuconfig" or "make config", so it seems that once again xconfig is broken. Wouldn't be the first time.
Turning it off by editing the config file also does not seem to work for me.
Use "make menuconfig" or "make config".
Surely this default SuSE 8.1 kernel should compile by default without any tweaks from me ?
Yes, running 'make cloneconfig dep bzlilo modules modules_install' should get you a working kernel. Philipp -- Philipp Thomas work: pthomas@suse.de Development SuSE Linux AG private: pth@t-link.de
participants (2)
-
CP Hennessy
-
Philipp Thomas