[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Compiling 2.6.18-xen Dom0 Error: error: ‘coretemp_cpu_notifier’ undeclared

  • To: xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: Bei Guan <gbtju85@xxxxxxxxx>
  • Date: Thu, 23 May 2013 10:47:23 +0800
  • Delivery-date: Thu, 23 May 2013 02:47:52 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>


Can anyone help me to solve this problem that I have while compiling the Dom0 kernel?
My environment is Xen-4.2.2 + CentOS6.3 32bit + Dom0. The details is as the following.

# make install-kernels
  CC [M]  drivers/hwmon/coretemp.o
/root/Xen/xen-4.2.2/linux-2.6.18-xen.hg/drivers/hwmon/coretemp.c: In function ‘coretemp_init’:
/root/Xen/xen-4.2.2/linux-2.6.18-xen.hg/drivers/hwmon/coretemp.c:523: error: ‘coretemp_cpu_notifier’ undeclared (first use in this function)
/root/Xen/xen-4.2.2/linux-2.6.18-xen.hg/drivers/hwmon/coretemp.c:523: error: (Each undeclared identifier is reported only once
/root/Xen/xen-4.2.2/linux-2.6.18-xen.hg/drivers/hwmon/coretemp.c:523: error: for each function it appears in.)
/root/Xen/xen-4.2.2/linux-2.6.18-xen.hg/drivers/hwmon/coretemp.c: In function ‘coretemp_exit’:
/root/Xen/xen-4.2.2/linux-2.6.18-xen.hg/drivers/hwmon/coretemp.c:545: error: ‘coretemp_cpu_notifier’ undeclared (first use in this function)
make[7]: *** [drivers/hwmon/coretemp.o] Error 1
make[6]: *** [drivers/hwmon] Error 2
make[6]: *** Waiting for unfinished jobs....

Any suggestion is appreciated. 

Best Regards,
Bei Guan
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.