Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 2 3 4 [5] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: dsl with kernel headers and development libraries< Next Oldest | Next Newest >
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Feb. 03 2007,19:43 QUOTE

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.
Back to top
Profile PM 
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: Feb. 03 2007,21:26 QUOTE

I thought someone might say that.  More precicely: I'm not certain (?) that Janito's is the exact same release as the gcc-2.95 on knoppix 3.4 - the latter is some Debian-pre-release-blah blah version. They might indeed be the same.  So, until, this is confirmed ...  

Quote
symlink from /usr/src/linux to somewhere on a hdd


Err..  that's around the wrong way :=) You can't do:

Code Sample
ln -s /somewhere_on_hd/sources /usr/src/linux-2.4.26


You can't write a symlink to /usr/src.  It ain't writeable.  The other way around would need to clobber your sources.
Back to top
Profile PM 
21 replies since Dec. 20 2006,00:19 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 2 3 4 [5] >/
reply to topic new topic new poll
Quick Reply: dsl with kernel headers and development libraries

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code