linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cpufreq.c compilation error when recompiling kernel
@ 2003-07-12  2:58 Didier Casse
  2003-07-12  4:36 ` Bug in redhat 9 kernel-> problems with cpufreq.c during recompilation Didier Casse
  0 siblings, 1 reply; 2+ messages in thread
From: Didier Casse @ 2003-07-12  2:58 UTC (permalink / raw)
  To: linux-kernel


Hi,
   I tried to recompile the kernel of my redhat 9 to add a parport scanner 
but when I tried "make modules", I got this error:

-----------------------------------------------------------
/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 
declaratio 
n 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_notify_transition_R974516e6':
cpufreq.c:961: parse error before "int"
cpufreq.c: In function `cpufreq_restore':
cpufreq.c:1110: 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
-------------------------------------------------------------

and it just ended. Anybody got this problem before and know the turnaround 
for this?  Thanks for helping out.




-- 

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






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Bug in redhat 9 kernel-> problems with cpufreq.c during recompilation
  2003-07-12  2:58 cpufreq.c compilation error when recompiling kernel Didier Casse
@ 2003-07-12  4:36 ` Didier Casse
  0 siblings, 0 replies; 2+ messages in thread
From: Didier Casse @ 2003-07-12  4:36 UTC (permalink / raw)
  To: linux-kernel

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-12  4:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-12  2:58 cpufreq.c compilation error when recompiling kernel Didier Casse
2003-07-12  4:36 ` Bug in redhat 9 kernel-> problems with cpufreq.c during recompilation Didier Casse

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).