[Users] Trouble compiling ovz028stab039.1-combined

Kirill Korotaev dev at sw.ru
Thu Aug 23 03:59:12 EDT 2007


Eyck,

ouch, this is due to CONFIG_IOSCHED_CFQ=m
usually all the schedulers are 'y'.
plz set it temporarily to 'y' or use the patch attached. Created bug #669.

Thanks,
Kirill


eyck wrote:
>>>WARNING: drivers/acpi/processor.o - Section mismatch: reference to .init.data: from .text between 'acpi_processor_power_init' (at offset 0xfd8) and 'acpi_safe_halt'
>>>WARNING: drivers/atm/he.o - Section mismatch: reference to .init.text: from .text between 'he_start' (at offset 0x1f1d) and 'he_service_tbrq'
>>>WARNING: "cfq_pool" [block/cfq-iosched.ko] undefined!
>>>WARNING: "ub0" [block/cfq-iosched.ko] undefined!
>>>make[2]: *** [__modpost] Error 1
> 
> 
>>make sure that you have the following options enabled in your .config file:
>>CONFIG_USER_RESOURCE=y
>>CONFIG_USER_RSS_ACCOUNTING=y
>>CONFIG_UBC_IO_ACCT=y
>>CONFIG_USER_SWAP_ACCOUNTING=y
>>CONFIG_USER_RESOURCE_PROC=y
> 
>  all those are enabled
> 
> 
>>compilation fail - not normal, you can fill in the bug with .config file you used.
> 
>   OK, .config attached
> 

-------------- next part --------------
--- ./block/elevator.c.ve6543	2007-08-10 17:40:04.000000000 +0400
+++ ./block/elevator.c	2007-08-23 11:53:57.000000000 +0400
@@ -40,6 +40,7 @@ static DEFINE_SPINLOCK(elv_list_lock);
 static LIST_HEAD(elv_list);
 
 kmem_cache_t *cfq_pool;
+EXPORT_SYMBOL_GPL(cfq_pool);
 
 /*
  * Query io scheduler to see if the current process issuing bio may be
--- ./kernel/ub/beancounter.c.ve6543	2007-08-10 17:40:00.000000000 +0400
+++ ./kernel/ub/beancounter.c	2007-08-23 11:53:57.000000000 +0400
@@ -40,6 +40,7 @@
 static kmem_cache_t *ub_cachep;
 static struct user_beancounter default_beancounter;
 struct user_beancounter ub0;
+EXPORT_SYMBOL_GPL(ub0);
 
 const char *ub_rnames[] = {
 	"kmemsize",	/* 0 */


More information about the Users mailing list