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

Re: [Xen-users] Cannot compile Xen kernel


  • To: Mike Viau <viaum@xxxxxxxxxxxxxxx>
  • From: Darko Petrović <darko.b.petrovic@xxxxxxxxx>
  • Date: Wed, 10 Feb 2010 17:26:30 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 10 Feb 2010 08:27:36 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=DqqjIFVY9e2I1p6NhDs1DWwOWsmjVW1WyaaMqqc9xBOcgIMdA5gJYLG5IxSXUufEfm dMrvH2x5am0C/wlCrAuUtXXhI/Y1r9D7eBGINUF4N7m28W7qU7ie2AjOGoLqcQzp4rGD xrfvVdIdM6amudy3wIYb0V4jScVMWVyrOebiQ=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Mike,

Thanks for your help! I am running a Q45 Express chipset, but your proposal solves the problem, now everything compiles fine.

However, there are some new issues but I will open a new topic.

Best regards,
Darko

2010/2/10 Mike Viau <viaum@xxxxxxxxxxxxxxx>
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®.