WDef
Group: Members
Posts: 798
Joined: Sep. 2005 |
|
Posted: Feb. 03 2007,13:49 |
|
Sorry to jump back in the thread -
re compiling modules on Knoppix3.4-2004-05-16
(since I've just been trying this)
This should be the best solution because you'll get the same release of gcc-2.95 that dsl's kernel was compiled with. Modules are only ever supposed to be compiled with _exactly _ the same gcc version as was the kernel.
Unfortunately though, the contents of /usr/src on that knoppix are not always enough - in which case a 2.4.26 kernel source tree need to be prepared (begin a kernel recompile and quit early).
If./configure allows a pointer to the sources on the hd this is fine, otherwise I've tried editing the Makefile to point at same (doesn't always seem to work).
A problem with compiling from the livecd is that Knoppix 3.4's /usr tree is not writeable (no unionfs), so you can't symlink /usr/src/linux-2.4/.26 to your sources, which means /lib/modules/2.4.26/build is not linked to the sources either.
I have tried doing a mkwriteable type of thing on the /usr tree but ran out of ram ... a hd install of knoppix would be altogether easier.
I have compiled new loop-aes & ciphers modules which seem to work well, I'll get around to posting these ...
|