Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ck-sources error make[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
gentoorockerfr
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2012
Posts: 84

PostPosted: Sat Jun 08, 2013 8:24 pm    Post subject: ck-sources error make[SOLVED] Reply with quote

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
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5675
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Jun 08, 2013 8:47 pm    Post subject: Reply with quote

https://bbs.archlinux.org/viewtopic.php?pid=1265144


disable full dynticks perhaps ?


also: take a look at the ck-sources thread:

http://forums.gentoo.org/viewtopic-t-941030-highlight-.html
_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
gentoorockerfr
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2012
Posts: 84

PostPosted: Sun Jun 09, 2013 9:28 am    Post subject: Reply with quote

thank you removing full dynsticks kernel compiled!
But why this is happening?
Thank you!
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 4104
Location: Removed by Neddy

PostPosted: Sun Jun 09, 2013 9:58 am    Post subject: Reply with quote

cause bugs.

ck prob doesn't use dyntick so didn't run into it.
_________________
A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen.
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Sun Jun 09, 2013 4:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum