Re: multiple definition of '__module_kernel_version' ?

Keith Owens (kaos@ocs.com.au)
Tue, 16 Nov 1999 10:52:14 +1100


On Mon, 15 Nov 1999 16:06:05 -0500,
James Manning <jmm@raleigh.ibm.com> wrote:
>ld -m elf_i386 -r -o ide-mod.o ide.o ide-features.o ide-pci.o piix.o ide-proc.o
>ide-features.o(.modinfo+0x0): multiple definition of `__module_kernel_version'
>ide.o(.modinfo+0x0): first defined here
>make[2]: *** [ide-mod.o] Error 1

Does this fix it?

Index: 28.6/drivers/block/ide-features.c
--- 28.6/drivers/block/ide-features.c Sat, 13 Nov 1999 18:29:43 +1100 keith (linux-2.3/m/c/51_ide-featur 1.1 644)
+++ 28.6(w)/drivers/block/ide-features.c Tue, 16 Nov 1999 10:50:23 +1100 keith (linux-2.3/m/c/51_ide-featur 1.1 644)
@@ -14,7 +14,6 @@
*/

#include <linux/config.h>
-#include <linux/module.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/kernel.h>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/