Other Help Topics :: need help kernel patch
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!?
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
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.
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
original here.