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
 

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

reply to topic new topic new poll
Topic: installing module, where's build and/or the source?< Next Oldest | Next Newest >
grit001 Offline





Group: Members
Posts: 2
Joined: Nov. 2006
Posted: Nov. 13 2006,02:31 QUOTE

I'm making a little stack of PC104 cards which uses DSL as the OS and it works great. We just added a serial card to keep track of some fun stuff in RT but are completely stumped trying to add the device driver / module. We've got the driver, and when run make it crashes because it can't find /lib/modules/2.4.26/build . After rooting around this is linked to /KNOPPIX/lib/modules/2.4.26/build which is linked to /usr/src/linux-2.4.26 which doesn't exist. Ultimately, we need to set the KERNELDIR value in the Makefile for the driver.

I'm pretty much a Linux noob, but until this was able to get things worked out and have fun. Where's the source for DSL?

Thanks!
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Nov. 13 2006,03:31 QUOTE

You might be able to compile the module by loading gcc1.dsl, kernelsource.dsl and gnu-utils.dsl

If this doesn't work, you will need to download the file linux-2.4.26.tar.gz from www.kernel.org
Back to top
Profile PM 
grit001 Offline





Group: Members
Posts: 2
Joined: Nov. 2006
Posted: Nov. 13 2006,16:13 QUOTE

juanito - thanks for the help! kernelsouce.dsl was everything I needed. I had to mess around and point CC = /usr/bin/gcc to get the compiler to work, etc. I've got the modules made now just have to repeat the process on the real equipment.

eric
Back to top
Profile PM 
2 replies since Nov. 13 2006,02:31 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: installing module

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