Re: CONFIG_MODVERSIONS and same named files

2001-02-16 Thread Keith Owens

On Fri, 16 Feb 2001 08:19:28 -0700, 
Tom Rini <[EMAIL PROTECTED]> wrote:
>Hey all.  The modversions code has a slight problem with files of the same
>name, but in different directories.  eg: drivers/a/foo.c exports FOO, and
>drivers/b/foo.c exports BAR, include/linux/modules/foo.ver will only have the
>information about drivers/b/foo.c.  Anyone got an idea on how to fix this?

Files that export symbols must have unique names.  Which is why we have
abominations like this.

fs/msdos/msdosfs_syms.c
fs/proc/procfs_syms.c
fs/fat/fatfs_syms.c
fs/vfat/vfatfs_syms.c
fs/lockd/lockd_syms.c
kernel/ksyms.c
net/netsyms.c
net/sunrpc/sunrpc_syms.c
net/irda/irsyms.c

Module symbol versions is being completely redesigned for 2.5 and will
not have this problem.  In the meantime create a unique filename for
anything that exports symbols.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



CONFIG_MODVERSIONS and same named files

2001-02-16 Thread Tom Rini

Hey all.  The modversions code has a slight problem with files of the same
name, but in different directories.  eg: drivers/a/foo.c exports FOO, and
drivers/b/foo.c exports BAR, include/linux/modules/foo.ver will only have the
information about drivers/b/foo.c.  Anyone got an idea on how to fix this?

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



CONFIG_MODVERSIONS and same named files

2001-02-16 Thread Tom Rini

Hey all.  The modversions code has a slight problem with files of the same
name, but in different directories.  eg: drivers/a/foo.c exports FOO, and
drivers/b/foo.c exports BAR, include/linux/modules/foo.ver will only have the
information about drivers/b/foo.c.  Anyone got an idea on how to fix this?

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: CONFIG_MODVERSIONS and same named files

2001-02-16 Thread Keith Owens

On Fri, 16 Feb 2001 08:19:28 -0700, 
Tom Rini [EMAIL PROTECTED] wrote:
Hey all.  The modversions code has a slight problem with files of the same
name, but in different directories.  eg: drivers/a/foo.c exports FOO, and
drivers/b/foo.c exports BAR, include/linux/modules/foo.ver will only have the
information about drivers/b/foo.c.  Anyone got an idea on how to fix this?

Files that export symbols must have unique names.  Which is why we have
abominations like this.

fs/msdos/msdosfs_syms.c
fs/proc/procfs_syms.c
fs/fat/fatfs_syms.c
fs/vfat/vfatfs_syms.c
fs/lockd/lockd_syms.c
kernel/ksyms.c
net/netsyms.c
net/sunrpc/sunrpc_syms.c
net/irda/irsyms.c

Module symbol versions is being completely redesigned for 2.5 and will
not have this problem.  In the meantime create a unique filename for
anything that exports symbols.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/