Re: Linux 3.7-rc1 (uml uapi errors)
From: David Howells
Date: Mon Oct 15 2012 - 10:15:20 EST
Hi Randy,
Randy Dunlap <rdunlap@xxxxxxxxxxxx> wrote:
> Building um (uml) for x86_64 (defconfig) has lots of errors like:
>
> In file included from include/linux/irq.h:22:0,
> from include/asm-generic/hardirq.h:12,
> from arch/um/include/generated/asm/hardirq.h:1,
> from include/linux/hardirq.h:7,
> from include/linux/ftrace_event.h:7,
> from include/trace/syscall.h:6,
> from include/linux/syscalls.h:78,
> from init/noinitramfs.c:23:
> include/linux/irqnr.h:4:30: fatal error: uapi/linux/irqnr.h: No such file or directory
Did you build from a GIT tree, from a tarball or patch?
include/uapi/linux/irqnr.h ended up a zero-length file in GIT as there was
nothing in the original file outside of the __KERNEL__ guards. Indeed, if I
look in /usr/include/irqnr.h, I see:
#ifndef _LINUX_IRQNR_H
#define _LINUX_IRQNR_H
/*
* Generic irq_desc iterators:
*/
#endif
I suspect somehow the file got deleted, even though the patch shows it:
diff --git a/include/uapi/linux/irqnr.h b/include/uapi/linux/irqnr.h
new file mode 100644
index 000000000000..e69de29bb2d1
David
--
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/