Programming and Scripting :: Compiled My Frist Module/Driver
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.
root@box:~$ cd /usr/src root@box:/usr/src$ tar -xjvf /some/path/to/linux-2.4.26.tar.bz2
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.
Code Sample
root@box:~$ cd /some/path/to/your/project/source
open and read any README files or other instructions
Code Sample
root@box:/some/path/to/your/project/source$ make
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.