Re: NTFS filesystem...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So, you have your normal module makefile:

obj-m := foo.o

Then, you have a script (or just execute from command line in the module
directory)

make -C /lib/modules/`uname -r`/build SUBDIRS=$PWD modules

Lo and behold, out the other end comes foo.ko

Dan

On Fri, 2004-10-29 at 10:02 -0400, John Burton wrote:
> Nils Philippsen wrote: 
> > On Fri, 2004-10-29 at 09:19 -0400, John Burton wrote:
> > 
> >   
> > > Which is not what I need. Unfortunately since there isn't a 
> > > kernel-source rpm available, I can't easily compile a ntfs module.
> > >     
> > 
> > Wrong, if my assumption is correct that to build the NTFS modules you
> > only need the headers that have been used to compile the running kernel.
> > These are in /lib/modules/$(uname -r)/build and I have built Nvidia and
> > lirc modules successfully using these headers.
> > 
> > Nils
> >   
> Hey, cool beans! I've never built a kernel module that way, I've
> always had the kernel source tree installed to build it. Perhaps thats
> because I'm an old codger who learned to compile linux kernels on the
> 0.99 version kernels...:-)
> 
> Now I'll have to figure out how to build it the way you suggest!
> Thanks soo much!!
> 
> John
> -- 
> fedora-test-list mailing list
> fedora-test-list@xxxxxxxxxx
> To unsubscribe: 
> http://www.redhat.com/mailman/listinfo/fedora-test-list


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]