Re: compile error in current git

From: Randy Dunlap
Date: Fri Jan 25 2008 - 18:00:36 EST


On Fri, 25 Jan 2008 14:17:31 -0800 Greg KH wrote:

> On Fri, Jan 25, 2008 at 12:36:55PM -0800, Jeremy Fitzhardinge wrote:
> > When compiling current git with CONFIG_BLOCK disabled, I'm seeing this
> > compile error:
> >
> > CC drivers/base/core.o
> > /home/jeremy/hg/xen/paravirt/linux/drivers/base/core.c: In function
> > ???device_add_class_symlinks???:
> > /home/jeremy/hg/xen/paravirt/linux/drivers/base/core.c:655: error:
> > ???part_type??? undeclared (first use in this function)
> > /home/jeremy/hg/xen/paravirt/linux/drivers/base/core.c:655: error: (Each
> > undeclared identifier is reported only once
> > /home/jeremy/hg/xen/paravirt/linux/drivers/base/core.c:655: error: for each
> > function it appears in.)
> > /home/jeremy/hg/xen/paravirt/linux/drivers/base/core.c: In function
> > ???device_remove_class_symlinks???:
> > /home/jeremy/hg/xen/paravirt/linux/drivers/base/core.c:728: error:
> > ???part_type??? undeclared (first use in this function)
> > make[4]: *** [drivers/base/core.o] Error 1
>
> Hm, I thought we fixed the CONFIG_BLOCK disabled issues with Randy's
> older patch. Randy, wasn't this already addressed somehow?

My earlier email fixed one problem but noted that there were
still some other issues.

> Jeremy, do you have a .config I can use to try to duplicate and fix
> this?

yes, please...

---
~Randy
--
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/