All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Joachim <svenjoac@gmx.de>
To: Greg KH <greg@kroah.com>
Cc: Alok Kataria <akataria@vmware.com>, Greg KH <gregkh@suse.de>,
	stable@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [stable] 2.6.34.4 build failure
Date: Sun, 15 Aug 2010 08:08:10 +0200	[thread overview]
Message-ID: <87hbiwl86t.fsf@turtle.gmx.de> (raw)
In-Reply-To: <20100814211043.GC7799@kroah.com> (Greg KH's message of "Sat, 14 Aug 2010 14:10:43 -0700")

On 2010-08-14 23:10 +0200, Greg KH wrote:

> On Sat, Aug 14, 2010 at 08:46:21AM +0200, Sven Joachim wrote:
>> 2.6.34.4 failed to build here:
>> 
>> ,----
>> |   CC      arch/x86/kernel/cpu/vmware.o
>> | arch/x86/kernel/cpu/vmware.c: In function 'vmware_get_tsc_khz':
>> | arch/x86/kernel/cpu/vmware.c:66: error: 'preset_lpj' undeclared (first use in this function)
>> | arch/x86/kernel/cpu/vmware.c:66: error: (Each undeclared identifier is reported only once
>> | arch/x86/kernel/cpu/vmware.c:66: error: for each function it appears in.)
>> | arch/x86/kernel/cpu/vmware.c:68: error: 'HZ' undeclared (first use in this function)
>> | make[3]: *** [arch/x86/kernel/cpu/vmware.o] Error 1
>> | make[2]: *** [arch/x86/kernel/cpu] Error 2
>> | make[1]: *** [arch/x86/kernel] Error 2
>> | make: *** [arch/x86] Error 2
>> `----
>> 
>> The .config file follows.
>
> If you add:
> 	#include <linux/jiffies.h>
> to that file, does it then build?

Yes, that does of course help.

> Odd that this isn't showing up in the .35 kernel :(

I just double-checked whether it was due to some configuration change
that I made, but it wasn't.  Just running 'yes "" | make oldconfig'
produced a configuration that builds with 2.6.35.2.

Anyway, including <linux/jiffies.h> seems to be a reasonable precaution
measure to me, but I'm just a layman.

Regards,
        Sven

  parent reply	other threads:[~2010-08-15  6:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-14  6:46 2.6.34.4 build failure Sven Joachim
2010-08-14 21:10 ` [stable] " Greg KH
2010-08-15  3:44   ` tmhikaru
2010-08-15  6:08   ` Sven Joachim [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-08-14 22:12 Chris Rankin
2010-08-15 22:04 Brian Lindholm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hbiwl86t.fsf@turtle.gmx.de \
    --to=svenjoac@gmx.de \
    --cc=akataria@vmware.com \
    --cc=greg@kroah.com \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.