Skip to contentSkip to conversation

2.4.21-rc2 and rc1 compile problem in fs/exec.c + PATCH

PATCH dvorak 1 participant 1 message May 14, 2003

lore
Share & tools
lore

dvorak

author
#0 lore raw

Hi,

while compiling a 2.4.21-rc2 kernel i noticed the following compile problem:

exec.c: In function `format_corename':
exec.c:1084: uts_sem' undeclared (first use in this function) exec.c:1084: (Each undeclared identifier is reported only once exec.c:1084: for each function it appears in.) exec.c:1086: system_utsname' undeclared (first use in this function)

reverting back to 2.4.21-rc1 shows the same problem, solution seems to add #include <linux/utsname.h> to the list of included files in fs/exec.c couldn't find anything in the mailing lists (searched for uts_sem at theaimsgroup) hope this patch helps,

gtx.
dvorak

P.S. i am not subscribed but i'll follow the archives the coming time, Cc if possible.

exec.c renamed from exec.c.orig +1 -0
@@ -36,6 +36,7 @@
 #include <linux/spinlock.h>
 #include <linux/personality.h>
 #include <linux/random.h>
+#include <linux/utsname.h>
 #define __NO_VERSION__
 #include <linux/module.h>