Message-ID: <4IMLb9$_LZ@newsmth.org>
Subject: usb-skeleton.c��kernel2.6�卤��不通��
Date: Sat, 28 May 2005 03:25:32 +0000
From: zzt@newsmth.net-SPAM.no (����不������约�)
Path: news.cnusenet.org!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.unix.development.kernel.mbox.zip!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!bbsnews.sdu.edu.cn!news2.happynet.org!news.newsmth.org!NEWSMTH
Newsgroups: cn.bbs.comp.unix.development.kernel
Organization: 水木����
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: KernelTech/l/M.1117250553.p0
Lines: 28
Xref: news.cnusenet.org cn.bbs.comp.unix.development.kernel:28938

������LDD3��skeleton.c源���,��Linux localhost 2.6.3-7mdksmp #1 SMP Wed Mar 17 14:24:28 CET 2004 i686 unknown unknown GNU/Linux��使��LDD3�����makefile��make all��时������恕�

[root@localhost usb]# make all
make -C /lib/modules/2.6.3-7mdksmp/build M=/root/examples/usb
make[1]: Entering directory `/usr/src/linux-2.6.3-7mdk'
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/asm-i386/asm_offsets.h
  CHK     include/linux/compile.h
  CC [M]  arch/i386/kernel/cpu/cpufreq/powernow-k6.o
arch/i386/kernel/cpu/cpufreq/powernow-k6.c: In function `powernow_k6_cpu_init':
arch/i386/kernel/cpu/cpufreq/powernow-k6.c:160: error: `CPUFREQ_DEFAULT_GOVERNOR' undeclared (first use in this function)
arch/i386/kernel/cpu/cpufreq/powernow-k6.c:160: error: (Each undeclared identifier is reported only once
arch/i386/kernel/cpu/cpufreq/powernow-k6.c:160: error: for each function it appears in.)
make[4]: *** [arch/i386/kernel/cpu/cpufreq/powernow-k6.o] Error 1
make[3]: *** [arch/i386/kernel/cpu/cpufreq] Error 2
make[2]: *** [arch/i386/kernel/cpu] Error 2
make[1]: *** [arch/i386/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
make: *** [all] Error 2

CPUFREQ_DEFAULT_GOVERNOR��/usr/src/linux/include/linux/cpufreq.h �����卸��,
����arch/i386/kernel/cpu/cpufreq/powernow-k6.c也����cpufreq.h���头�募���

��么�����

--

�� ��源:��水木���� newsmth.net��[FROM: 218.17.92.*]