From: Adrian Bunk <bunk@fs.tum.de>
To: "Vlad@geekizoid.com" <vlad@geekizoid.com>, levon@movementarian.org
Cc: "Lkml \(E-mail\)" <linux-kernel@vger.kernel.org>,
trivial@rustcorp.com.au
Subject: [2.5 patch] fix oprofile/init.c compilation
Date: Mon, 5 May 2003 08:55:42 +0200 [thread overview]
Message-ID: <20030505065542.GH9794@fs.tum.de> (raw)
In-Reply-To: <000701c312c2$e14ab1b0$0200a8c0@wsl3>
On Sun, May 04, 2003 at 11:57:50PM -0500, Vlad@geekizoid.com wrote:
> I get the following error trying to compile 2.5.69. This is the same config as 2.5.68, make with 'make oldconfig' and 'make bzlilo && make modules modules_install'.
>
> Config and config.old attached.
>
> Error:
> arch/i386/oprofile/init.c: In function `oprofile_arch_init':
> arch/i386/oprofile/init.c:25: `ENODEV' undeclared (first use in this function)
> arch/i386/oprofile/init.c:25: (Each undeclared identifier is reported only once
> arch/i386/oprofile/init.c:25: for each function it appears in.)
> arch/i386/oprofile/init.c:27: warning: control reaches end of non-void function
> make[1]: *** [arch/i386/oprofile/init.o] Error 1
> make: *** [arch/i386/oprofile] Error 2
The following patch should fix it:
--- linux-2.5.69-full/arch/i386/oprofile/init.c.old 2003-05-05 08:51:10.000000000 +0200
+++ linux-2.5.69-full/arch/i386/oprofile/init.c 2003-05-05 08:51:37.000000000 +0200
@@ -9,6 +9,7 @@
#include <linux/oprofile.h>
#include <linux/init.h>
+#include <linux/errno.h>
/* We support CPUs that have performance counters like the Pentium Pro
* with the NMI mode driver.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
prev parent reply other threads:[~2003-05-05 6:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-05 4:57 Error compiling 2.5.69 Vlad@geekizoid.com
2003-05-05 6:27 ` Error compiling 2.5.69 - gcc version Vlad@geekizoid.com
2003-05-05 6:55 ` Adrian Bunk [this message]
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=20030505065542.GH9794@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=levon@movementarian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
--cc=vlad@geekizoid.com \
/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®