need help kernel patch


Forum: Other Help Topics
Topic: need help kernel patch
started by: walterb

Posted by walterb on April 04 2005,18:34
i'm trying to rebuild kernel 2.4.26. for dsl, have dsl-hdinstalled current version 1.0rc2

up to now did the following:
- got kernel 2.4.36 from .org.
- downloaded kernelsource.dsl and gcc1.dsl.
- unpacked kernerl2.4.26 und /usr/src
- mydsl-load gcc1.dsl
- mydsl-load kernelsource.dsl

now have under /usr/src knoppix-kernel.patch and knoppix-kernel26.patch

??? how to install the patch, didn't find command "patch" !!!???

tried to build without patch
- make config  ----> ok

(can't start with menuconfig or xcofig !!?? what's missing!??)
- make xconfig starts a script which ends up with error 127 - wish command not found
-make menuconfig says ---> ends up with error must have Ncurses installed

- make dep  ---- ok
- make clean ----- ok
- make bzImage --- ok

make modules ended up with make error
.... make: *** [_mod_drivers] Error 2

what am i doing wrong?
how to patch without patch command!?

Posted by IndoorMoopsball on April 04 2005,18:58
The patch command isn't included in DSL.  You need to use apt-get to install it.  Or get the package from the debian website and use dpkg -i
Posted by clacker on April 04 2005,20:48
walterb, the missing wish can be found by loading the tcltk package from the mydsl repository.  wish is the tcl interpreter.  As far as the rest, I'm not sure.  When I compile programs I use configure and not make configure, but compiling a kernel may be different.
Posted by walterb on April 06 2005,08:18
i've got the patch command from debian as advised.
i patched the kernelsource patch -p0 < knoppix-kernel.patch
and patch -p0 < knoppix-kernel26.patch --> ok
now running make xconfig ends up with errer - make gcc-2.95 command not found ...  error 129 .... xconfig error 2

i've installed gcc.dsl from the repository after dsl-hdinstall as advised in the forum which ist gcc 3.x, do I need to install gcc 2.95?

thank's for your help

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.