linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mikael Pettersson <mikpe@csd.uu.se>
To: Ed L Cashin <ecashin@uga.edu>
Cc: Stephen Hemminger <shemminger@osdl.org>,
	Linux Kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: compile error in drivers/perfctr/x86.c (Re: 2..5.73-osdl2)
Date: Thu, 26 Jun 2003 09:21:51 +0200	[thread overview]
Message-ID: <16122.40719.122816.392066@gargle.gargle.HOWL> (raw)
In-Reply-To: <20030625224707.A15559@atlas.cs.uga.edu>

Ed L Cashin writes:
 > On Wed, Jun 25, 2003 at 05:40:48PM -0700, Stephen Hemminger wrote:
 > > http://developer.osdl.org/shemminger/patches/patch-2.5.73-osdl2.bz2
 > 
 > Hi.  I'm getting a compile error:
 > 
 >   CC      drivers/perfctr/x86_setup.o
 >   CC      drivers/perfctr/x86.o
 > drivers/perfctr/x86.c: In function `unregister_nmi_pmdev':
 > drivers/perfctr/x86.c:1484: `nmi_pmdev' undeclared (first use in this function)
 > drivers/perfctr/x86.c:1484: (Each undeclared identifier is reported only once
 > drivers/perfctr/x86.c:1484: for each function it appears in.)
 > drivers/perfctr/x86.c:1485: warning: implicit declaration of function `apic_pm_unregister'
 > drivers/perfctr/x86.c: In function `x86_pm_init':
 > drivers/perfctr/x86.c:1500: warning: implicit declaration of function `apic_pm_register'
 > drivers/perfctr/x86.c:1500: warning: assignment makes pointer from integer without a cast
 > make[2]: *** [drivers/perfctr/x86.o] Error 1
 > make[1]: *** [drivers/perfctr] Error 2
 > make: *** [drivers] Error 2

It looks a lot like OSDL includes an old obsolete version of perfctr.
The PM code you're getting errors in is for kernels older than 2.5.68.
The current release of perfctr knows that current 2.5 kernels use the
driver model for local APIC and NMI watchdog power management.

Unfortunately, the -osdl kernel announcements don't state _which_ release
of perfctr they're including. I was assuming they got new releases off
the download site on a regular basis, but perhaps they don't.

/Mikael

      parent reply	other threads:[~2003-06-26  7:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-26  0:40 2..5.73-osdl2 Stephen Hemminger
2003-06-26  2:47 ` compile error in drivers/perfctr/x86.c (Re: 2..5.73-osdl2) Ed L Cashin
2003-06-26  3:16   ` Ed L Cashin
2003-06-26  7:21   ` Mikael Pettersson [this message]

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=16122.40719.122816.392066@gargle.gargle.HOWL \
    --to=mikpe@csd.uu.se \
    --cc=ecashin@uga.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shemminger@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).