Compiled My Frist Module/DriverForum: Programming and Scripting Topic: Compiled My Frist Module/Driver started by: starcannon Posted by starcannon on Jan. 31 2006,11:05
I Did It!!! I know! I know! big deal, but for me it was. I finally figured out all my errors, learned how to install kernel source with package i downloaded from kernel.org and well I'm guessin other noobs will want to know how as well. Heres how I did it: Using the MyDSL Package Manager Desktop Link I downloaded and installed: gcc1.dsl gtk2-0705.dsl gnu-utils.dsl kernelsource.dsl linux-kernel-headers.dsl also grabbed any libraries i may have needed for my particular project. Then I downloaded my full kernel source (2.4.26) from: < http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.26.tar.bz2 > other kernels found here: < http://www.kernel.org/pub/linux/kernel/ >
Now I have a complete kernel source install not sure if the kernelsource.dsl thing is needed will modify this post when i know for sure Now I download and extract my source from its respective project nightly cvs.
open and read any README files or other instructions
Thats pretty much it, thats the basics. I'm sure that there is a whole world to explore from here, but I am still an egg, and only wrote this post as I noted there were no real walk throughs for us newbs out there just trying to get our first module or whatever compiled. So this should cover getting a first timer up and running, least it did for me. Hope that helps get some other first time compilers that were struggling like myself started a bit easier. Rob |