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

Re: Building NTFS modules from fedora kernel source packages



On Wed, 2004-05-05 at 17:18 +0100, Stefan Thierl wrote:
> i've tried the steps using all the different kernel source packs i have
> on my work machine:
> linux-2.6.4-1.305
> linux-2.6.5-1.315
> linux-2.6.5-1.322
> linux-2.6.5-1.326
> linux-2.6.5-1.332
> linux-2.6.5-1.349
> 
> 
> the module builds fine on linux-2.6.4-1.305, linux-2.6.5-1.315, and
> linux-2.6.5-1.322. From linux-2.6.5-1.326 onwards it throws up about a
> mile of errors and I have no idea why. i presume you are getting the
> same errors. 
> small snippet of them:
> 
> [root oiktest linux-2.6.5-1.326]# make modules SUBDIRS=fs/ntfs
>   CC [M]  fs/ntfs/aops.o
> In file included from fs/ntfs/aops.c:24:
> include/linux/errno.h:4:23: asm/errno.h: No such file or directory
> In file included from include/linux/mm.h:4,
>                  from fs/ntfs/aops.c:25:
> include/linux/sched.h:4:37: asm/param.h: No such file or directory
> In file included from include/linux/types.h:13,
>                  from include/linux/capability.h:16,
>                  from include/linux/sched.h:7,
>                  from include/linux/mm.h:4,
>                  from fs/ntfs/aops.c:25:
> include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or
> directory
> In file included from include/linux/capability.h:16,
>                  from include/linux/sched.h:7,
>                  from include/linux/mm.h:4,
>                  from fs/ntfs/aops.c:25:
> include/linux/types.h:14:23: asm/types.h: No such file or directory
> In file included from include/linux/capability.h:16,
>                  from include/linux/sched.h:7,
>                  from include/linux/mm.h:4,
>                  from fs/ntfs/aops.c:25:
> 
> if anyone could shed some light on this, it would be appreciated.

I have rebuilt kernels 326, 327, and 332 and did not have any problems
with the ntfs modules.  I did however, rebuild the whole kernel at once,
not just the ntfs subdir.  I have not done 349 yet.

> > > On Wed, 2004-05-05 at 15:32, Eric Beyer wrote:
> > 
> > 8. Compile the NTFS module
> > make modules SUBDIRS=fs/ntfs

Just compile the kernel AND all the modules at this point.  It really
doesn't take that long.  It should be possible to build just parts of
the kernel fine.. but evidently it doesn't work for you.
make all

-- 
Andrew Farris, CPE senior (California Polytechnic State University, SLO)
fedora andrewfarris com :: lmorgul on irc.freenode.net
"The only thing necessary for the triumph of evil is for good men
to do nothing." (Edmond Burke)



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