lkml.org 
[lkml]   [2006]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -mm] Make 2.6.18-rc5-mm1 compile
Date
  CC      arch/i386/kernel/sys_i386.o
arch/i386/kernel/sys_i386.c: In function 'kernel_execve':
arch/i386/kernel/sys_i386.c:262: error: '__NR_execve' undeclared (first use in
this function)
arch/i386/kernel/sys_i386.c:262: error: (Each undeclared identifier is
reported only once
arch/i386/kernel/sys_i386.c:262: error: for each function it appears in.)
make[1]: *** [arch/i386/kernel/sys_i386.o] Error 1
make: *** [arch/i386/kernel] Error 2

It's just a missing #include for the __NR_execve define -- fix below.

Signed-off-by: Bernhard Rosenkraenzer <bero@arklinux.org>
--- linux-2.6.17/arch/i386/kernel/sys_i386.c.ark 2006-09-01 12:43:34.000000000
+0200
+++ linux-2.6.17/arch/i386/kernel/sys_i386.c 2006-09-01 12:43:46.000000000
+0200
@@ -21,6 +21,7 @@
#include <linux/utsname.h>

#include <asm/uaccess.h>
+#include <asm/unistd.h>
#include <asm/ipc.h>

/*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-09-01 13:19    [W:0.056 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site