2004-01-04 12:54:29

by Thomas Molina

[permalink] [raw]
Subject: make modules_install problem in 2.6.0-rc1-mm1

I get the following message when compiling profile suport into
2.6.0-rc1-mm1:

WARNING: /lib/modules/2.6.1-rc1-mm1/kernel/arch/i386/oprofile/oprofile.ko needs unknown symbol cpu_possible

My .config file is attached.


Attachments:
config.txt (27.46 kB)

2004-01-04 13:03:36

by Thomas Molina

[permalink] [raw]
Subject: Re: make modules_install problem in 2.6.0-rc1-mm1

On Sun, 4 Jan 2004, Thomas Molina wrote:

> I get the following message when compiling profile suport into
> 2.6.0-rc1-mm1:
>
> WARNING: /lib/modules/2.6.1-rc1-mm1/kernel/arch/i386/oprofile/oprofile.ko needs unknown symbol cpu_possible
>
> My .config file is attached.

Sorry about that. The Subject should obviously refer to 2.6.1-rc1-mm1,
not 2.6.0.

2004-01-04 21:07:56

by Andrew Morton

[permalink] [raw]
Subject: Re: make modules_install problem in 2.6.0-rc1-mm1

Thomas Molina <[email protected]> wrote:
>
> I get the following message when compiling profile suport into
> 2.6.0-rc1-mm1:
>
> WARNING: /lib/modules/2.6.1-rc1-mm1/kernel/arch/i386/oprofile/oprofile.ko needs unknown symbol cpu_possible

This should fix it.

--- 25/drivers/oprofile/oprofile_stats.c~for_each_cpu-oprofile-fix 2004-01-01 11:52:30.000000000 -0800
+++ 25-akpm/drivers/oprofile/oprofile_stats.c 2004-01-01 11:52:30.000000000 -0800
@@ -8,7 +8,7 @@
*/

#include <linux/oprofile.h>
-#include <linux/smp.h>
+#include <linux/cpumask.h>
#include <linux/threads.h>

#include "oprofile_stats.h"

_

2004-03-29 15:42:37

by Thomas Molina

[permalink] [raw]
Subject: Re: make modules_install problem in 2.6.0-rc1-mm1

On Sun, 4 Jan 2004, Thomas Molina wrote:

> I get the following message when compiling profile suport into
> 2.6.0-rc1-mm1:
>
> WARNING: /lib/modules/2.6.1-rc1-mm1/kernel/arch/i386/oprofile/oprofile.ko needs unknown symbol cpu_possible
>
> My .config file is attached.

Sorry about that. The Subject should obviously refer to 2.6.1-rc1-mm1,
not 2.6.0.