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
- 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/
This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:21 EST