^thehatsrule^
Group: Members
Posts: 3275
Joined: July 2006 |
|
Posted: Feb. 03 2007,19:43 |
|
Quote | 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. | This is quite feasible on DSL, and juanito has even posted an extension for 2.95 in mydsl.
Quote | 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. | You could try a symlink from /usr/src/linux to somewhere on a hdd, etc. But yes, it would be more elegant if you can use change it during configure time.
|