Re: 2.6.25-rc8-mm2 -- kernel/sched.c:8294: error: unknown field âread_uintâ specified in initializer

From: Ingo Molnar
Date: Fri Apr 11 2008 - 09:56:21 EST



* Miles Lane <miles.lane@xxxxxxxxx> wrote:

> CC kernel/sched.o
> kernel/sched.c:8294: error: unknown field 'read_uint' specified in initializer
> kernel/sched.c:8294: warning: initialization makes integer from
> pointer without a cast
> kernel/sched.c:8295: error: unknown field 'write_uint' specified in initializer
> kernel/sched.c:8295: warning: initialization from incompatible pointer type

cannot reproduce it in sched-devel/for-akpm (which -mm is based off) nor
in sched-devel/latest, using your config. Could you check sched-devel
via:

http://people.redhat.com/mingo/sched-devel.git/README

or maybe it's some other sched.c change in -mm? That line is around the
control groups code and maybe that got changed in -mm?

meanwhile i built and successfully booted your config on a testsystem on
sched-devel/latest. So if sched-devel/latest still fails for you then
it's some build environment related detail that triggers the bug. If not
then it's other changes in -mm.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/