Re: yaird error when apply debian kernel image on sparc machine. [message #10128 is a reply to message #10126] |
Thu, 08 February 2007 18:40   |
zszhu
Messages: 13 Registered: February 2007
|
Junior Member |
|
|
mastersherin wrote on Thu, 08 February 2007 12:48 | After patching the source please check the source directory ,there will be a directory named "configs/ " in which you can see the config files as follows,
------------
ll /usr/src/linux-2.6.16/configs/
total 108
-rw-r--r-- 1 root root 36742 Dec 19 13:47 kernel-2.6.16-026test018-i686.config.ovz
-rw-r--r-- 1 root root 36736 Dec 19 13:47 kernel-2.6.16-026test018-i686-enterprise.config.ovz
-rw-r--r-- 1 root root 36804 Dec 19 13:47 kernel-2.6.16-026test018-i686-smp.config.ovz
------------------
Now copy this config to the parent source folder as .config
|
But, that is the config for i686, not for SPARC.
Anyway, I followed you, copied it instead of it is for i686, and did finish the "make menuconfig". then "make all" , error message like:
# make all
CHK include/linux/version.h
UPD include/linux/version.h
CC init/main.o
In file included from include/linux/fs.h:214,
from include/linux/proc_fs.h:6,
from init/main.c:17:
include/linux/dcache.h: In function âdgetâ:
include/linux/dcache.h:315: error: âub_dentry_onâ undeclared (first use in this function)
include/linux/dcache.h:315: error: (Each undeclared identifier is reported only once
include/linux/dcache.h:315: error: for each function it appears in.)
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
Any suggestion?
Sam
[Updated on: Thu, 08 February 2007 18:43] Report message to a moderator
|
|
|