Building ntfs support under rawhide kernels

Chris Brown snecklifter at hotmail.com
Wed Sep 14 18:43:35 UTC 2005


Hi folks,

Ever since kernel 1547 I've been unable to create ntfs rpms using the 
maintainers build script. The output from the script is as follows:

-------<snip>--------
  CC [M]  fs/ntfs/usnjrnl.o
  LD [M]  fs/ntfs/ntfs.o
  Building modules, stage 2.
  MODPOST
/bin/sh: scripts/mod/modpost: No such file or directory
make[1]: *** [__modpost] Error 127
make: *** [modules] Error 2

I noticed the following in the changelog:

----<snip>-------
commit b95d4fec89c1f503ebad4c704ac08c3c6761329b
Author: Fabio Massimo Di Nitto <fabbione at fabbione.net>
Date:   Wed Jul 13 08:25:49 2005 +0200

    [PATCH] kbuild: modpost needs to cope with new glibc elf header on sparc

    Recently a change in the glibc elf.h header has been introduced causing
    modpost to spawn tons of warnings (like the one below) building the 
kernel
    on sparc:

    [SNIP]
    *** Warning: "current_thread_info_reg" 
[net/sunrpc/auth_gss/auth_rpcgss.ko] undefined!
    *** Warning: "" [net/sunrpc/auth_gss/auth_rpcgss.ko] undefined!
    *** Warning: "" [net/sunrpc/auth_gss/auth_rpcgss.ko] undefined!
    [SNIP]

    Ben Collins discovered that the STT_REGISTERED definition in glibc did 
change
    and that this change needs to be propagated to modpost.

    glibc change:
    -#define STT_REGISTER   13              /* Global register reserved to 
app. */
    +#define STT_SPARC_REGISTER     13      /* Global register reserved to 
app. */

    I did and tested this simple patch to maintain compatibility with newer 
(>= 2.3.4)
    and older (<= 2.3.2) glibc.

    Signed-off-by: Fabio M. Di Nitto <fabbione at fabbione.net>
    Signed-off-by: Sam Ravnborg <sam at ravnborg.org>

----<snip>---------

but I cant understand why this would cause the build script to fail. If 
someone else can shed some light on it I would appreciate their 
investigation. The instructions for building an rpm for can be found at:

http://linux-ntfs.sourceforge.net/rpm/build.html

Thanks,

---sig and possibly controversial political statement follows :/ ---

Chris

If you've got a moment you can http://www.makepovertyhistory.org





More information about the test mailing list