View previous topic :: View next topic |
Author |
Message |
gentoorockerfr Apprentice
Joined: 25 May 2012 Posts: 203
|
Posted: Sat Jun 08, 2013 8:24 pm Post subject: ck-sources error make[SOLVED] |
|
|
i am trying to install ck kernel 3.9.2 and this is the error
kernel/sched/bfs.c: In function ‘irqtime_account_hi_si’:
kernel/sched/bfs.c:2333:2: error: implicit declaration of function ‘nsecs_to_cputime64’ [-Werror=implicit-function-declaration]
kernel/sched/bfs.c: At top level:
kernel/sched/bfs.c:2847:13: warning: ‘account_idle_times’ defined but not used [-Wunused-function]
cc1: some warnings being treated as errors
make[2]: *** [kernel/sched/bfs.o] Error 1
make[1]: *** [kernel/sched] Error 2
make: *** [kernel] Error 2
somebody knows what is this?
my system gentoo 64 bit phenom 2 955 8gb ram 1600mhz
thank you
Last edited by gentoorockerfr on Sun Jun 09, 2013 11:45 am; edited 1 time in total |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
gentoorockerfr Apprentice
Joined: 25 May 2012 Posts: 203
|
Posted: Sun Jun 09, 2013 9:28 am Post subject: |
|
|
thank you removing full dynsticks kernel compiled!
But why this is happening?
Thank you! |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sun Jun 09, 2013 9:58 am Post subject: |
|
|
cause bugs.
ck prob doesn't use dyntick so didn't run into it. _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Sun Jun 09, 2013 4:50 pm Post subject: |
|
|
kernelOfTruth wrote: | disable full dynticks perhaps ? |
++
While... all things being considered together... "refrain from enableing full dynticks" would be, I think, even more appropriate.
kernelOfTruth wrote: | also: take a look at the ck-sources thread: |
+++
Thank you kOT!
kOT's contribution being and correct and most appreciated, let's consider what remains to be answered...
====================
gentoorockerfr wrote: | But why this is happening? |
Why is this happening ?
1/ First possible answer :
CONFIG_VIRT_CPU_ACCOUNTING_GEN's help wrote: | For now this is only useful if you are working on the full dynticks subsystem development.
If unsure, say N. |
So I'll assume you are sure you are working on the full dynticks subsystem development
And therefore :
Could I respectfully ask you to tell us why this is happening ?
===================
2/ Second possible answer but this one is very trivial and possibly tl;dr.:
bfs.c wrote: | Code: | u64 latest_ns;
latest_ns = nsecs_to_cputime64(this_cpu_read(cpu_hardirq_time)); |
|
This actually defines nsecs_to_cputime64 function to be of latest_ns' type, that is to say u64...
UNLESS nsecs_to_cputime64 is defined prior to the call.
cputime_jiffies.h wrote: | Code: | #define nsecs_to_cputime64(__nsec) jiffies64_to_cputime64(nsecs_to_jiffies64(__nsec)) |
|
nscecs_to_cputime64 is actually defined in cputime_jiffies.h
BUT
nsecs_to_cputime64 is *not* defined in cputime_nsecs.h
And... (Un)fortunately...
config.h wrote: | Code: |
#ifndef CONFIG_VIRT_CPU_ACCOUNTING
# include <asm-generic/cputime_jiffies.h>
#endif
#ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN
# include <asm-generic/cputime_nsecs.h>
#endif |
|
And as setting CONFIG_VIRT_CPU_ACCOUNTING_GEN also sets CONFIG_VIRT_CPU_ACCOUNTING... cputime_jiffies.h wont get included. _________________
|
|
Back to top |
|
|
|