System :: DSL 4 kernel headers ?



I compiled wlan-driver modules for DSL 3.x successfully and posted them in the DSL-wiki (rt73.0, rt61.o, zd1211b.o).
These modules run well with DSL 3.x but not with DSL 4.x, because of the different kernel (DSL3: 2.4.26 vs. DSL4: 2.4.31) so I had to compile them again.

When trying to compile these modules for DSL 4.x I ran into following problem:

I downloaded <kernelsource.dsl>, <linux-kernel-headers.dsl> and <gcc1-with-libs.dsl>
but when I try to load the dsl-extensions as usual they dont show up.
No kernel-headers or kernel-source showup anywhere (not in /usr/src/linux or elsewhere)

What am I doing wrong?
Compiling worked so fine in DSL 3.x !

Any suggestions welcome.
Am I using the wrong extensions or wrong files?

Peter from Germany.
:(

- DSL 4 uses a different kernel as stated, so you cannot use the old headers
- extensions should still load and should still show up, as they are just files
- even in DSL 3 you should not load linux-kernel-headers.dsl
- get the new kernel source in [download mirror]/current/kernel (I don't think there's a headers-only package yet) or kernel.org - but it is not a mydsl extension

Thanx for your quick reply,

You said, normal extensions should still load and should still show up in DSL4.x, as they are just files.
=> Yes, true, they do, but not these kernel-source files...

Even in DSL 3 you should not load linux-kernel-headers.dsl:
=> OK, this was my fault, please forget it.

Get the new kernel source in [download mirror]/current/kernel (I don't think there's a headers-only package yet) or kernel.org - but it is not a mydsl extension.

=> Well, thats exactly the point:
There are (at this moment) no kermel-source and kernel-header file available as DSL-EXTENSIONS for DSL 4.x. Those which are available work only with 3.x. As I said before, I tried these which are available and they dont work with 4.x.

So my wishes are:
1. Please could anyone make the correct source- and header-files
for DSL 4.x available as DSL-extensions so that compiling modules
is possible? They should be present somewhere, maybe with "roberts"?
2. And please specify the correct DSL-version in the MyDSL download repository names, e.g kernel-headers-3.x.dsl or kernel-headers-4.x.dsl.

That would be a great help for those who need kernel-modules. If I myself accomplish to compile modules for DSL4.x I will make them available via DSL wiki (wireless cards) as I did before for DSL 3.x.

Peter

Quote
Even in DSL 3 you should not load linux-kernel-headers.dsl:
=> Strange, only if they ARE loaded, then compiling modules is possible in 3.x, whereas kernel-source normally isnt needed.
Bad practice, as those headers are for a different version, and could potentially cause some problems down the road.

It's not a show stopper for you to download the vanilla source, unless you have some issue with the size?

2. Probably not a good idea, as the kernel are different in other versions (see older releases).  It might be nice to have it listed in the .info though.  And it's not hard to look at torsmo showing your kernel version.

Well, it seems that I made not clear enough where the problem is.

In DLS3.x compiling modules requires only:
- gcc1-with-libs.dsl
- kernel-source.dsl
- your module source-code
and everything compiles fine. Right or not?
I did this many times :-)

In  DSL4.x something has been changed:
- gcc1-with-libs.dsl
- kernel-source.dsl
- Module source-code
and nothing works....
Even those loaded files dont show up.

It is not only a matter of wrong headerfiles
because we dont need them - at least in DSL 3.x.

Look, if we cannot compile modules correctly in DSL 4.x
then many friends wont be able to work with DSL 4.x ;-)
Thats the reason I started this topic.

Peter

Next Page...
original here.