It doesn't build. The module stuff in joystick.c conflicts with main.c
during linking, you sort of have to decide whether or not the joystick
port driver is seperate or is a part of the entire emu10k1 module. By
the way, is the joystick port driver intended to replace the one
selected under the character devices -> joystick selection?
Exact text of error:
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+0x1970): multiple definition of `init_module'
joystick.o(.text+0x220): first defined here
main.o: In function `cleanup_module':
main.o(.text+0x19b0): multiple definition of `cleanup_module'
joystick.o(.text+0x260): first defined here
John
-
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/