lkml.org 
[lkml]   [2012]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux 3.7-rc1 (uml uapi errors)
Date

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


\
 
 \ /
  Last update: 2012-10-15 18:01    [W:0.087 / U:25.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site