Hi again!
I've managed to build kernel modules (reiserfs ). Drop me a note here if you're interested.
Hi again!
I've managed to build kernel modules (reiserfs ). Drop me a note here if you're interested.
Sounds pretty good, it would allow me to use all my hdds from my outdated freenas server!
How can I get the module and a short how to?
Newbiefan
Well, if you manage to build the NTFS-3G modules, then would be a damn big THANK YOU!
Also, would be nice if you can write a guide for newbies about compiling modules.
At now OpentWRT kamikaze 7.09 based on 2.4.34 linux kernel only. In future, Oleg also has plan to migrate to 2.4.36 kernel, but this task is really hard.
I need to compile a kernel module for a 3G-modem called Option Icon 225. I've found the instructions for Ubuntu, http://www.pharscape.org/content/view/66/53/, but how would you do it on an Asus running Oleg or the Koppel image (native build)?
I've installed the optware devel package and the build root, but all the guides I've found presumes that there is a configure script. This is however not the case here and another difference may be that I actually want to build a kernel module. Can anyone give me a clue on how to proceed?
Nothing new on this ?
Most kernel modules need to build inside the kernel tree (i.e. the sources need to be somewhere in the kernel-source directory, and you need to select the desired modules with menu-config)
I don't know if that's possible natively... Only way I know is cross-compile...
You can use this Tutorial (Haven't tried that particular tutorial myself, but i guess it should work.
However, if I look at the makefile of the driver, it can also be build outside the kernel tree. (i.e unzip the sources somewhere, cd to that location, make && make install)
This method can only be used natively, cause it's using uname to get the kernel-version.
The only catch I can see so far, is that the makefile expects to find the kernel-sources in /lib/modules/{kernelversion}/build and ofcourse that doesn't exist. Also that location is read-only so you can't copy the sources there.
So you need to edit the makefile, so it seeks the kernelsources in another location and place the sources there. (f.e. change /lib/modules/.... in /opt/lib/modules/.....)
In this case I'd first try the second option, cause I have no experience in adding thirdparty drivers to a kernel-source..