内核编译错误

时间:2015-08-03 15:46:26

标签: linux linux-kernel

kernel/sched. c896e22 warning unused variable 'cpuacct_subsys' [-Wunused-variable] 
    struct cgroup_subsys cpuacct_subsys= { 

    kernel/sched. c743726 warning unused variable 'sysctl_timer_migration' [-Wunused-variable] 
    const_debug unsigned int sysctl_timer_migration=1 

    In file included from kernel/sched_debug. c: 17 e, 

    fron kernel/sched. c1921 
    include/linux/utsnane. H8928 warning unused variable 'uts_sen' [-Wunused-variable] 
    extern struct rw_senaphore uts_sem 

    kernel/sched. At top level 

    kernellsched. c141513 warning 'cpuacct_charge' used but never defined 
    static void cpuacct_charge(struct task_struct· tsk, u64 cputine) 

    kernel/sched. c141613 warning 'cpuacct_update_stats' used but never defined 
    static void cpuacct_update_stats(struct task_struct· tsk, 

    kernel/sched. c152412 warning 'task_hot' used but never defined 

static int task_hot(struct task_struct“p.u64 now,struct sched_domain·sd)

kernel/sched. c181713 warning 'cale_load_account_idle' used but never defined 
static void: a 1 c_load_account_idle(struct rq· this_rq) 
kernel/sched. c1818:13 warning 'update_sysctl' used but never defined 
static void update_sysctl(void) 

kernellsched. c181912 warning 'get_update_sysctl_factor' used but never defined 
static int e t_update_sysctl_factor(void) 

in file included fron kernel/sched. c191B e 

kernel/sched_stride. c16629 warning 'pick_next_task_stride' defined but not used [-Wunused-function] 

static struct task_struct· "k_next_task_stride(struct rq 'rq) 
scripts/nakefile. Build230 recipe for target ' kernel/sched. o' failed 
nake[1] '' [kernellsched. o] Error 1 

Hakefile884 recipe for target kernel' failed 

make*** [kernel] Error 2

我被困在这里。我试图通过添加stride调度程序来编译内核版本2.6.35.5。删除基本错误后....整个sched.c现在给出了错误。

0 个答案:

没有答案