Re: problem compiling 2.4.8 with emu10k1

From: Rui Sousa (rui.p.m.sousa@clix.pt)
Date: Sat Aug 11 2001 - 08:36:24 EST


On Sat, 11 Aug 2001, Peter Oliver wrote:
Apply the attached patch.

Rui Sousa

P.S: I have been sending this to anyone that complains but excluding
lkml to try to reduce traffic a bit. The patch was also already
submitted to Linus.

> I'm unable to compile kernel 2.4.8 with emu10k1 sound support enabled as a
> module. My compiler is egcs-2.91.66, and my binutils is 2.9.1.0.23. I get
> the following errors at the 'make modules' stage:
>
> ld -m elf_i386 -r -o emu10k1.o audio.o cardmi.o cardmo.o cardwi.o
> cardwo.o ecard.o efxmgr.o emuadxmg.o hwaccess.o irqmgr.o joystick.o main.o
> midi.o mixer.o passthrough.o recmgr.o timer.o voicemgr.o
> main.o(.modinfo+0x40): 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+0xa0): 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[3]: Leaving directory `/home/mavit/linux/drivers/sound/emu10k1'
> make[2]: *** [_modsubdir_emu10k1] Error 2
> make[2]: Leaving directory `/home/mavit/linux/drivers/sound'
> make[1]: *** [_modsubdir_sound] Error 2
> make[1]: Leaving directory `/home/mavit/linux/drivers'
> make: *** [_mod_drivers] Error 2
>
> If I choose to build emu10k1 not as a module, my kernel compiles, boots,
> and uses sound fine.
>
> I could build 2.4.6's emu10k1 support as a module without problems.
>
> Incidentally, I downloaded a source snapshot from
> http://opensource.creative.com/ a couple of weeks ago, and was able to
> build that into a module without difficulty.
>
> I'm not subscribed to the list, so if you need any further information
> you'll need to CC me.
>
>



-
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