Re: Errors compiling emu10k1 module under 2.4.8

From: Eyal Lebedinsky (eyal@eyal.emu.id.au)
Date: Sat Aug 11 2001 - 05:56:55 EST


quintaq@yahoo.co.uk wrote:
>
> 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.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+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

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 (eyal@eyal.emu.id.au) <http://samba.anu.edu.au/eyal/>
-
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/



This archive was generated by hypermail 2b29 : Wed Aug 15 2001 - 21:00:38 EST