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

RE: [Xen-users] Cannot compile Xen kernel



From: darko.b.petrovic@xxxxxxxxx
Date: Wed, 10 Feb 2010 16:32:41 +0100
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Cannot compile Xen kernel

Hello,

I have tried to compile the linux-2.6.18-xen kernel (the unstable version from the Mercurial repositories - http://xenbits.xensource.com/linux-2.6.18-xen.hg).
I use Debian Lenny and GCC 4.3.2.
However, the compilation stops with the following errors:

drivers/hwmon/coretemp.c:478: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__refdata’
drivers/hwmon/coretemp.c: In function ‘coretemp_init’:
drivers/hwmon/coretemp.c:523: error: ‘coretemp_cpu_notifier’ undeclared (first use in this function)
drivers/hwmon/coretemp.c:523: error: (Each undeclared identifier is reported only once
drivers/hwmon/coretemp.c:523: error: for each function it appears in.)
drivers/hwmon/coretemp.c: In function ‘coretemp_exit’:
drivers/hwmon/coretemp.c:545: error: ‘coretemp_cpu_notifier’ undeclared (first use in this function)
make[2]: *** [drivers/hwmon/coretemp.o] Error 1
make[1]: *** [drivers/hwmon] Error 2
make: *** [drivers] Error 2


Any suggestions? Is there any other xen-kernel known to work with unstable Xen 4.0.0?

--

I had that exact same error message at compile time with my Intel i7 860 & P55 chipset. Is your hardware similar?

I know the kernel can still be compiled if you remove the support for coretemp from your .config

lkddb platform "coretemp" :: CONFIG_HWMON CONFIG_SENSORS_CORETEMP :: drivers/hwmon/coretemp.c [0]

[0] -
http://cateee.net/lkddb/web-lkddb/HWMON.html

-M


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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