LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error compliling kernel (https://www.linuxquestions.org/questions/linux-software-2/error-compliling-kernel-145003/)

shams 02-11-2004 07:12 PM

Error compliling kernel
 
hi,
i want to compile the new kernel linux-2.6.1,i tried the both commands"make config"and "make menuconfig" in the directory /usr/src/linux,but there is long list of errror messages one sample of the error messages
with the last two one are described bellow:
Scripts/fixdep.c:220:warning:iplicite declaration of function 'ntohl'.
make(1):***[scripts/fixdip]Error1
make:***[scripts/fixdip]Error2.
plz guide me to solve this problem.

jtshaw 02-11-2004 07:18 PM

Is it possible for you to give us more of the output? That warning shouldn't have caused the process to error out.

shams 02-13-2004 07:13 PM

hi linus
thanks for reply,i copied the new kernel linux-2.6.1.tar.gz to the /usr/src,before decompressing the new kernel i rename the old one to linux-old then,decompressed the new one and made a link "ln -s /usr/src/linux-2.6.1 /usr/src/linux"then,opened the "cd linux", and start to compile the new kernel with command "make menuconfig" also after i tried the "make config",the output is so long that passes the srceen so quickly, just i can read the last lines on the screen and don't know how to get the beging of the error messages that passed the screen, the end few lines are as bellow:
script/fixdip.c:391:'PROT_READ'undecleared (first use in this funcion)
script/fixdip.c:341:'MAp_PRIVATE'undecleared(first use in this funtcionscript/fixdip.c:325:warning:unused variable (st)
bash:command substitution:line1:unexpexted EOF while looking for matching"
bash:command looking for matching line3:syntax error:unexpected end of file.
bash:script/fixdip.c:341::no such file or directory.
make(1)***(script/fixdip)error1
bash:make(1) command not found.

stacky_boy 02-14-2004 12:30 AM

I Think the module-init-tools-3.0-pre.tar.bz2 has not been installed before you compile the kernel 2.6
-----------------------------------------------------------------------------------

Hi..., Linus. i'am very very Surprised Because you a Guru and Master Member here :)
I always dream meet you and codink together :)

quatsch 02-14-2004 12:46 AM

you need to do only one of
make menuconfig or make config

if make menuconfig did not result in errors, you can proceed with
make bzImage
make modules
make modules_install
make install


All times are GMT -5. The time now is 03:46 PM.