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: Compiled My Frist Module/Driver, or Noob Guide to Compiling from Source< Next Oldest | Next Newest >
starcannon Offline





Group: Members
Posts: 100
Joined: Oct. 2005
Posted: Jan. 31 2006,11:05 QUOTE

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/

Code Sample

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.

Rob


--------------
Damn Small Linux... Because size DOES matter...
Viva Le' Revolution!
Back to top
Profile PM 
0 replies since Jan. 31 2006,11:05 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Compiled My Frist Module/Driver

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