mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: dvorak <dvorak@xs4all.nl>
To: linux-kernel@vger.kernel.org
Subject: 2.4.21-rc2 and rc1 compile problem in fs/exec.c + PATCH
Date: Wed, 14 May 2003 02:26:18 +0200	[thread overview]
Message-ID: <20030514002618.GA3745@xs4all.nl> (raw)

[-- Attachment #1: Type: text/plain, Size: 721 bytes --]

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.


[-- Attachment #2: rc2-exec-patch.diff --]
[-- Type: text/plain, Size: 292 bytes --]

--- fs/exec.c.orig	2003-05-14 02:23:56.000000000 +0200
+++ fs/exec.c	2003-05-14 02:26:09.000000000 +0200
@@ -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>
 

                 reply	other threads:[~2003-05-14  0:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030514002618.GA3745@xs4all.nl \
    --to=dvorak@xs4all.nl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®