mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Errors compiling emu10k1 module under 2.4.8
@ 2001-08-11 10:16 quintaq
  2001-08-11 10:56 ` Eyal Lebedinsky
  2001-08-11 13:59 ` quintaq
  0 siblings, 2 replies; 3+ messages in thread
From: quintaq @ 2001-08-11 10:16 UTC (permalink / raw)
  To: linux-kernel

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

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Errors compiling emu10k1 module under 2.4.8
  2001-08-11 10:16 Errors compiling emu10k1 module under 2.4.8 quintaq
@ 2001-08-11 10:56 ` Eyal Lebedinsky
  2001-08-11 13:59 ` quintaq
  1 sibling, 0 replies; 3+ messages in thread
From: Eyal Lebedinsky @ 2001-08-11 10:56 UTC (permalink / raw)
  To: quintaq; +Cc: linux-kernel

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/>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Errors compiling emu10k1 module under 2.4.8
  2001-08-11 10:16 Errors compiling emu10k1 module under 2.4.8 quintaq
  2001-08-11 10:56 ` Eyal Lebedinsky
@ 2001-08-11 13:59 ` quintaq
  1 sibling, 0 replies; 3+ messages in thread
From: quintaq @ 2001-08-11 13:59 UTC (permalink / raw)
  To: linux-kernel; +Cc: Eyal Lebedinsky

On Sat, 11 Aug 2001 20:56:55 +1000
Eyal Lebedinsky <eyal@eyal.emu.id.au> wrote:

> quintaq@yahoo.co.uk wrote:

> 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.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-11 14:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-11 10:16 Errors compiling emu10k1 module under 2.4.8 quintaq
2001-08-11 10:56 ` Eyal Lebedinsky
2001-08-11 13:59 ` quintaq

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®