Errors compiling emu10k1 module under 2.4.8
Hi,
I just d/ld the 2.4.8 patch and compilation of emu10k1 fails with :
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.omain.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+0x1878): multiple definition of `init_module' joystick.o(.text+0x240): first defined here
ld: Warning: size of symbol init_module' changed from 64 to 67 in main.o main.o: In function cleanup_module':main.o(.text+0x18bc): multiple definition of `cleanup_module' joystick.o(.text+0x280): first defined here
make[3]: *** [emu10k1.o] Error 1
etc
Has my patching gone awry or is this a bug ?
I am not subscribed to the list, so a cc'd reply would be nice.
Thanks,
Geoff
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Quoted 5 lines · [email protected] wrote:
Hi,
I just d/ld the 2.4.8 patch and compilation of emu10k1 fails with :
Quoted 16 lines
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.omain.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+0x1878): multiple definition of `init_module'joystick.o(.text+0x240): first defined here
ld: Warning: size of symbolinit_module' changed from 64 to 67 in main.o main.o: In functioncleanup_module':main.o(.text+0x18bc): multiple definition of `cleanup_module'joystick.o(.text+0x280): first defined here
make[3]: *** [emu10k1.o] Error 1
Seems that joystick.c wants to be a module by itself, so it cannot be linked with the rest of the modules here.
Removing 'joystick.o' from drivers/sound/emu10k1/Makefile solves the compile problem, but I do not know that it is the correct solution.
--
Eyal Lebedinsky ([email protected]) <http://samba.anu.edu.au/eyal/>
Quoted 7 lines · On Sat, 11 Aug 2001 20:56:55 +1000 Eyal Lebedinsky <[email protected]> wrote:
[email protected] wrote:
Seems that
joystick.cwants to be a module by itself, so it cannot be linked with the rest of the modules here.Removing 'joystick.o' from
drivers/sound/emu10k1/Makefilesolves the compile problem, but I do not know that it is the correct solution.
Thank-you for the quick reply Eyal. I had just recompiled, when Rui sent through his patch.
All is working now.
Regards,
Geoff
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com