how to compile module on dsl 2.X


Forum: Other Help Topics
Topic: how to compile module on dsl 2.X
started by: noobpin

Posted by noobpin on Feb. 03 2006,00:11
Hi, how do i compile modules/drivers in dsl 2.x?
what tools do i need?
where do i put the kernel source 2.4.31?

Posted by noobpin on Feb. 03 2006,05:40
anyone?
Posted by noobpin on Feb. 04 2006,04:06
:(  :(  :(

now, i'm frustrated...




someone could have answered you can not compile modules in 2.X...

Posted by cbagger01 on Feb. 04 2006,06:42
You can compile them, but someone here is going to have to write a book-sized answer to your question.

I haven't done it myself, so I am not the right person.

But my suspicion is that someone will write a how-to and publish it here.  No guarantees, though.

Posted by noobpin on Feb. 04 2006,12:17
well, i hope that this particular someone would write it soon..
anyway, would you suggest that i should use 1.x, if i'll try to compile a module?

Posted by roberts on Feb. 04 2006,16:13
Your question is too generic.
If you are asking what does one need to add to base DSL to do such then I would suggest:

1. get gnu-utils.dsl and gcc1.dsl from the repositrory
2. get kernel sources from < here >
4. source typically placed under /usr/src
3. unpack your module source there

If your question is HOW to make a Linux module. Then that is a generic Linux question. Use google or many such sources pertaining to Linux in general.

Posted by noobpin on Feb. 04 2006,22:45
Quote (roberts @ Feb. 04 2006,11:13)
Your question is too generic.
If you are asking what does one need to add to base DSL to do such then I would suggest:

1. get gnu-utils.dsl and gcc1.dsl from the repositrory
2. get kernel sources from < here >
4. source typically placed under /usr/src
3. unpack your module source there

If your question is HOW to make a Linux module. Then that is a generic Linux question. Use google or many such sources pertaining to Linux in general.

yes, thanks for the reply. so basically with these tools i can compile a module on dsl 2.x but in this post


they are talking about gcc 3.3? how< gcc 3.3 >

so would gcc1.dsl woud still work on 2.x?

Posted by roberts on Feb. 05 2006,00:12
All versions of DSL are built from the above. i.e., using gcc1.dsl, gcc-2.95
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.