Bug in redhat 9 kernel-> problems with cpufreq.c during recompilation

Didier Casse (didierbe@sps.nus.edu.sg)
Sat, 12 Jul 2003 12:36:56 +0800 (SGT)


Hi there,
I tried to patch my Linux kernel 2.4.20-8 i686 i386 GNU/Linux (on
redhat 9) with the linux-ppscsi patch so that I can add my parallel port
scanner to my pc.

I started as follows in the /usr/src/linux-2.4.20-8/ directory

step 1. patch -p1 < linux.ppscsi.patch
step 2. make menuconfig to ensure SCSI suppoer and parallel port support
step 3. make dep
step 4. make bzImage
step 5. make modules

then error occures at step 5 as shown below:

+--------------------------------------------------------------------+
/usr/src/linux-2.4.20-8/include/linux/dcache.h: In function `dget':
/usr/src/linux-2.4.20-8/include/linux/dcache.h:254: warning: implicit
declaration of function `__out_of_line_bug_R8b0fd3c5'
cpufreq.c: In function `cpufreq_parse_policy':
cpufreq.c:111: warning: implicit declaration of function
`sscanf_R859204af'
cpufreq.c: In function `cpufreq_proc_read':
cpufreq.c:225: warning: implicit declaration of function
`sprintf_R1d26aa98'
cpufreq.c: In function `cpufreq_proc_init':
cpufreq.c:327: warning: implicit declaration of function
`printk_R1b7d4074'
cpufreq.c: In function `cpufreq_restore_Re39890df':
cpufreq.c:1109: warning: implicit declaration of function
`panic_R01075bf0'
cpufreq.c: At top level:
cpufreq.c:192: warning: `cpufreq_setup' defined but not used
make[1]: *** [cpufreq.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/kernel'
make: *** [_mod_kernel] Error 2
+--------------------------------------------------------------------+

Can anybody help me out with this thing as i really need to get that
scanner going? I have no clue how to solve this type of error and
everybody on the redhat mailing list is clueless too! Thanks for helping
out.

regards,

Didier

---
PhD student

Singapore Synchrotron Light Source (SSLS) 5 Research Link, Singapore 117603

Email: slsbdfc@nus.edu.sg or didierbe@sps.nus.edu.sg Website: http://ssls.nus.edu.sg

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/