Apparantly someone defined MODULE_AUTHOR, MODULE_DESCRIPTION,
init_module and cleanup_module in both the main.c and joystick.c files
not sure what else is defined twice either.
I think I can just comment out one definition / function but not sure
which one. Does anyone know or has anyone seen this yet?
I patch a 2.4.7 kernel with the patch from ftp.kernel.org.
Joe (cc me I am not on the list)
The following is the compiler message:
main.o(.modinfo+0x20): multiple definition of `__module_author'
joystick.o(.modinfo+0x80): first defined here
ld: Warning: size of symbol `__module_author' changed from 67 to 81 in
main.o
main.o(.modinfo+0x80): multiple definition of `__module_description'
joystick.o(.modinfo+0xe0): first defined here
ld: Warning: size of symbol `__module_description' changed from 83 to 96
in main.o
main.o: In function `init_module':
main.o(.text+0x1a70): multiple definition of `init_module'
joystick.o(.text+0x2d0): first defined here
main.o: In function `cleanup_module':
main.o(.text+0x1ab0): multiple definition of `cleanup_module'
joystick.o(.text+0x310): first defined here
make[3]: *** [emu10k1.o] Error 1
make[2]: *** [_modsubdir_emu10k1] Error 2
make[1]: *** [_modsubdir_sound] Error 2
make: *** [_mod_drivers] Error 2
cp: cannot stat `emu10k1.o': No such file or directory
make[3]: *** [_modinst__] Error 1
make[2]: *** [_modinst_emu10k1] Error 2
make[1]: *** [_modinst_sound] Error 2
make: *** [_modinst_drivers] Error 2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/