[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Kernel patching



 Hi all.
(Sorry, forgot to include the meaningful subject: message below)
> I've just applied 2.0.35, 2.0.36 and 2.0.37 patches to my 2.0.34 kernel.
> Now as I compile the kernel, I get these errors:
> 
> setup.c: In function `Cx86model':
> setup.c:286: `Cx86_mult' undeclared (first use this function)
> setup.c:286: (Each undeclared identifier is reported only once
> setup.c:286: for each function it appears in.)
> setup.c:306: warning: passing arg 1 of `sprintf' makes pointer from
> integer without a cast
> setup.c:312: warning: passing arg 1 of `sprintf' makes pointer from
> integer without a cast
> setup.c:318: warning: passing arg 1 of `sprintf' makes pointer from
> integer without a cast
> setup.c:328: warning: passing arg 1 of `sprintf' makes pointer from
> integer without a cast
> setup.c:331: warning: passing arg 1 of `sprintf' makes pointer from
> integer without a cast
> setup.c:339: `ext_cpuid' undeclared (first use this function)
> setup.c:341: warning: passing arg 1 of `sprintf' makes pointer from
> integer without a cast
> setup.c:349: warning: passing arg 1 of `sprintf' makes pointer from
> integer without a cast
> setup.c: In function `AMDmodel':
> setup.c:381: `ext_cpuid' undeclared (first use this function)
> setup.c: In function `get_cpu_mkt_name':
> setup.c:439: `x86_ext_capability' undeclared (first use this function)
> setup.c: In function `getmodel':
> setup.c:458: `ext_cpuid' undeclared (first use this function)
> setup.c: In function `get_cpuinfo':
> setup.c:517: `x86_clkmult' undeclared (first use this function)
> setup.c:517: `Cx86_mult' undeclared (first use this function)
> setup.c:517: warning: format argument is not a pointer (arg 3)
> setup.c:551: `x86_ext_capability' undeclared (first use this function)
> setup.c: At top level:
> setup.c:53: warning: `Cx86_type' defined but not used
> make[1]: *** [setup.o] Error 1
> make[1]: Leaving directory
> `/usr/src/kernel-source-2.0.34/arch/i386/kernel'
> make: *** [linuxsubdirs] Error 2
> 
> Any idea what I (the patch?) has done wrong and how to go about it?
> TIA,
> Andrew

---------------------------------------------------------------------------
 Andrei S. Ivanov                  
 Scorpio@hushmail.com
 c680789@showme.missouri.edu
 UIN 12402354                      
 http://members.tripod.com/AnSIv   <--Little things for Linux.
 http://www.missouri.edu/~c680789  <--"Computer languages of the world"
                                       My work in progress.
---------------------------------------------------------------------------


Reply to: