* compile error 2.4.19 linux/arch/kernel/traps.c
@ 2002-11-12 4:54 Kermit Tensmeyer
0 siblings, 0 replies; only message in thread
From: Kermit Tensmeyer @ 2002-11-12 4:54 UTC (permalink / raw)
To: linux-kernel
I found a compile time error, not a bug per se
2.4.19 source as delivered in suse 8.1
inside the code is an ifdef'ed section that depends on
either DPROBES_CORE being defined or KDB being defined.
Somehow the first time, I had KDB as undefined, and DPROBES_CORE
set. The make process generated a compile error because the function
'kdb' had not been defined.
It may well be the case that there is a simple fix (but I am unaware of
other consequences) that the logical 'or' of the two conditions should
be replaced by a logical 'and' of the conditions.
The lines under consideration are in the range of 640-650.
After I fixed the configuration (make xconfig), it was a 'clean' compile.
I was able to recreate the configuration error by selecting the last
menu from the main menu form and set the first menu line to 'Y'
and not setting any other option. I checked the config file and
in fact CONFIG_KDB was undef and CONFIG_DPROBES_CORE
was set to '1'. In the presentation menu, the DPROBES_CORE entry
had been 'grayed' out, but the code set the value anyway.
I checked the code, and when the entire option page had
been deselected all the configuration options including KDB
and DPROBES_CORE had been undefined.
as an aside, I thought I read that (at an IBM site for the
DPROBES_CORE project), that code had been intended
for architectures other than i386.
These set of modification did not exist (that I saw) (i could be
wrong about this..) in the traps.c code in the 2.4.17 code
set. This appears to have been a recent change, and may
not have been the subject of a code walk thru...
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-12 4:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-12 4:54 compile error 2.4.19 linux/arch/kernel/traps.c Kermit Tensmeyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®