Other Help Topics :: installing module



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!

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

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


original here.