public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Felix Seeger <felix.seeger@gmx.de>
To: linux-kernel@vger.kernel.org
Subject: 2.5.42 compile error in timers/timer_tsc.c
Date: Sat, 12 Oct 2002 23:59:20 +0200	[thread overview]
Message-ID: <200210122359.20563.felix.seeger@gmx.de> (raw)

Hi

I get this:

  gcc -Wp,-MD,arch/i386/kernel/timers/.timer.o.d -D__KERNEL__ -Iinclude -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer 
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 
-march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include    
-DKBUILD_BASENAME=timer   -c -o arch/i386/kernel/timers/timer.o 
arch/i386/kernel/timers/timer.c
  gcc -Wp,-MD,arch/i386/kernel/timers/.timer_tsc.o.d -D__KERNEL__ -Iinclude 
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer 
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 
-march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include    
-DKBUILD_BASENAME=timer_tsc   -c -o arch/i386/kernel/timers/timer_tsc.o 
arch/i386/kernel/timers/timer_tsc.c
arch/i386/kernel/timers/timer_tsc.c: In function `time_cpufreq_notifier':
arch/i386/kernel/timers/timer_tsc.c:181: `CPUFREQ_PRECHANGE' undeclared (first 
use in this function)
arch/i386/kernel/timers/timer_tsc.c:181: (Each undeclared identifier is 
reported only once
arch/i386/kernel/timers/timer_tsc.c:181: for each function it appears in.)
arch/i386/kernel/timers/timer_tsc.c:182: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:182: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:183: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:183: `CPUFREQ_ALL_CPUS' undeclared (first 
use in this function)
arch/i386/kernel/timers/timer_tsc.c:183: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:184: warning: implicit declaration of 
function `cpufreq_scale'
arch/i386/kernel/timers/timer_tsc.c:184: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:184: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:185: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:185: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:188: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:188: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:189: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:189: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:192: `CPUFREQ_POSTCHANGE' undeclared 
(first use in this function)
arch/i386/kernel/timers/timer_tsc.c:193: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:193: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:194: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:194: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:195: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:195: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:196: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:196: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:199: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:199: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:200: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:200: dereferencing pointer to incomplete 
type
arch/i386/kernel/timers/timer_tsc.c:184: warning: unreachable code at 
beginning of switch statement
arch/i386/kernel/timers/timer_tsc.c: At top level:
arch/i386/kernel/timers/timer_tsc.c:207: variable 
`time_cpufreq_notifier_block' has initializer but incomplete type
arch/i386/kernel/timers/timer_tsc.c:208: unknown field `notifier_call' 
specified in initializer
arch/i386/kernel/timers/timer_tsc.c:209: warning: excess elements in struct 
initializer
arch/i386/kernel/timers/timer_tsc.c:209: warning: (near initialization for 
`time_cpufreq_notifier_block')
arch/i386/kernel/timers/timer_tsc.c: In function `init_tsc':
arch/i386/kernel/timers/timer_tsc.c:265: warning: implicit declaration of 
function `cpufreq_register_notifier'
arch/i386/kernel/timers/timer_tsc.c:265: `CPUFREQ_TRANSITION_NOTIFIER' 
undeclared (first use in this function)
make[2]: *** [arch/i386/kernel/timers/timer_tsc.o] Error 1
make[1]: *** [arch/i386/kernel/timers] Error 2
make: *** [arch/i386/kernel] Error 2
hal@vaio:~/download/kernel/linux-2.5.42$

thanks
Felix



             reply	other threads:[~2002-10-12 21:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-12 21:59 Felix Seeger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-13 13:11 2.5.42 compile error in timers/timer_tsc.c ALESSANDRO.SUARDI

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=200210122359.20563.felix.seeger@gmx.de \
    --to=felix.seeger@gmx.de \
    --cc=linux-kernel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox