Messages in this thread | | | From | David Howells <> | Subject | Re: Linux 3.7-rc1 (uml uapi errors) | Date | Mon, 15 Oct 2012 15:15:20 +0100 |
| |
Hi Randy,
Randy Dunlap <rdunlap@xenotime.net> 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
| |