--8323328-1526825414-997536984=:847
Content-Type: TEXT/PLAIN; charset=US-ASCII
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.
>
>
--8323328-1526825414-997536984=:847
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="patch-emu10k1-2.4.8"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.33.0108111436240.847@localhost.localdomain>
Content-Description:
Content-Disposition: attachment; filename="patch-emu10k1-2.4.8"
ZGlmZiAtdU5yIGxpbnV4LTIuNC44L0RvY3VtZW50YXRpb24vQ29uZmlndXJl
LmhlbHAgbGludXgtMi40LjguZW11MTBrMS5uZXcvRG9jdW1lbnRhdGlvbi9D
b25maWd1cmUuaGVscA0KLS0tIGxpbnV4LTIuNC44L0RvY3VtZW50YXRpb24v
Q29uZmlndXJlLmhlbHAJU2F0IEF1ZyAxMSAwNTozNjowNiAyMDAxDQorKysg
bGludXgtMi40LjguZW11MTBrMS5uZXcvRG9jdW1lbnRhdGlvbi9Db25maWd1
cmUuaGVscAlTYXQgQXVnIDExIDA2OjIyOjEyIDIwMDENCkBAIC0xNTU4NSw4
ICsxNTU4NSwzMCBAQA0KIA0KIENyZWF0aXZlIEVNVTEwSzEgYmFzZWQgUENJ
IHNvdW5kIGNhcmRzDQogQ09ORklHX1NPVU5EX0VNVTEwSzENCi0gIFNheSBZ
IG9yIE0gaWYgeW91IGhhdmUgYSBQQ0kgc291bmQgY2FyZCB1c2luZyB0aGUg
RU1VMTBLMQ0KLSAgY2hpcHNldCwgc3VjaCBhcyB0aGUgQ3JlYXRpdmUgU0JM
aXZlISwgIFNCIFBDSTUxMiBvciBFbXUtQVBTLg0KKyAgU2F5IFkgb3IgTSBp
ZiB5b3UgaGF2ZSBhIFBDSSBzb3VuZCBjYXJkIHVzaW5nIHRoZSBFTVUxMEsx
IGNoaXBzZXQsDQorICBzdWNoIGFzIHRoZSBDcmVhdGl2ZSBTQkxpdmUhLCBT
QiBQQ0k1MTIgb3IgRW11LUFQUy4NCisNCisgIEZvciBtb3JlIGluZm9ybWF0
aW9uIGFib3V0IHRoZSBkZWdyZWUgb2Ygc3VwcG9ydCBmb3IgdGhlIGRpZ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vcnQg
ZHJpdmVyDQotICogICAgIENvcHlyaWdodCAyMDAwIFJ1aSBTb3VzYS4NCi0g
Kg0KLSAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqDQotICoNCi0gKiAgICAg
RGF0ZSAgICAgICAgICAgICAgICAgQXV0aG9yICAgICAgICAgIFN1bW1hcnkg
b2YgY2hhbmdlcw0KLSAqICAgICAtLS0tICAgICAgICAgICAgICAgICAtLS0t
LS0gICAgICAgICAgLS0tLS0tLS0tLS0tLS0tLS0tDQotICogICAgIEFwcmls
ICAxLCAyMDAwICAgICAgIFJ1aSBTb3VzYSAgICAgICBpbml0aWFsIHZlcnNp
b24gDQotICogICAgIEFwcmlsIDI4LCAyMDAwICAgICAgIFJ1aSBTb3VzYSAg
ICAgICBmaXhlZCBhIGtlcm5lbCBvb3BzLA0KLSAqCQkJCQkgICAgbWFrZSB1
c2Ugb2Yga2NvbXBhdDI0IGZvcg0KLSAqCQkJCQkgICAgMi4yIGtlcm5lbHMg
Y29tcGF0aWJpbGl0eS4NCi0gKiAgICAgTWF5ICAgIDEsIDIwMDAgICAgICAg
UnVpIFNvdXNhICAgICAgIGltcHJvdmVkIGtlcm5lbCBjb21wYXRpYmlsaXR5
DQotICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICBsYXllci4NCi0gKg0KLSAqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqDQot
ICoNCi0gKiAgICAgVGhpcyBwcm9ncmFtIGlzIGZyZWUgc29mdHdhcmU7IHlv
dSBjYW4gcmVkaXN0cmlidXRlIGl0IGFuZC9vcg0KLSAqICAgICBtb2RpZnkg
aXQgdW5kZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMg
TGljZW5zZSBhcw0KLSAqICAgICBwdWJsaXNoZWQgY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VmaW5lIEpPWVNUSUNLNSAgICAgICAgICAgICAgIDB4MDQg
ICAgICAgICAgICAvKiBBbmFsb2cgam95c3RpY2sgcG9ydCByZWdpc3RlciAg
ICAgICAgICAgICAgICAqLw0KLSNkZWZpbmUgSk9ZU1RJQ0s2ICAgICAgICAg
ICAgICAgMHgwNSAgICAgICAgICAgIC8qIEFuYWxvZyBqb3lzdGljayBwb3J0
IHJlZ2lzdGVyICAgICAgICAgICAgICAgICovDQotI2RlZmluZSBKT1lTVElD
SzcgICAgICAgICAgICAgICAweDA2ICAgICAgICAgICAgLyogQW5hbG9nIGpv
eXN0aWNrIHBvcnQgcmVnaXN0ZXIgICAgICAgICAgICAgICAgKi8NCi0jZGVm
aW5lIEpPWVNUSUNLOCAgICAgICAgICAgICAgIDB4MDcgICAgICAgICAgICAv
KiBBbmFsb2cgam95c3RpY2sgcG9ydCByZWdpc3RlciAgICAgICAgICAgICAg
ICAqLw0KLQ0KLS8qIFdoZW4gd3JpdGluZywgYW55IHdyaXRlIGNhdXNlcyBK
T1lTVElDS19DT01QQVJBVE9SIG91dHB1dCBlbmFibGUgdG8gYmUgcHVsc2Vk
IG9uIHdyaXRlLiAgICAgICovDQotLyogV2hlbiByZWFkaW5nLCB1c2UgdGhl
c2UgYml0ZmllbGRzOiAqLw0KLSNkZWZpbmUgSk9ZU1RJQ0tfQlVUVE9OUyAg
ICAgICAgMHgwZiAgICAgICAgICAgIC8qIEpveXN0aWNrIGJ1dHRvbiBkYXRh
ICAgICAgICAgICAgICAgICAgICAgICAgICovDQotI2RlZmluZSBKT1lTVElD
S19DT01QQVJBVE9SICAgICAweGYwICAgICAgICAgICAgLyogSm95c3RpY2sg
Y29tcGFyYXRvciBkYXRhICAgICAgICAgICAgICAgICAgICAgKi8NCi0NCi0j
ZGVmaW5lIE5SX0RFViA1DQotDQotc3RhdGljIGludCBpb1tOUl9ERVZdID0g
eyAwLCB9Ow0KLQ0KLWVudW0gew0KLQlFTVUxMEsxX0pPWVNUSUNL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LmgiDQorI2luY2x1ZGUgIi4uL3NvdW5k
X2NvbmZpZy5oIg0KICNlbmRpZg0KIA0KIHN0YXRpYyBzcGlubG9ja190IG1p
ZGlfc3BpbmxvY2sgX19hdHRyaWJ1dGUoKHVudXNlZCkpID0gU1BJTl9MT0NL
X1VOTE9DS0VEOw0KZGlmZiAtdU5yIGxpbnV4LTIuNC44L2RyaXZlcnMvc291
bmQvZW11MTBrMS9wYXNzdGhyb3VnaC5oIGxpbnV4LTIuNC44LmVtdTEwazEu
bmV3L2RyaXZlcnMvc291bmQvZW11MTBrMS9wYXNzdGhyb3VnaC5oDQotLS0g
bGludXgtMi40LjgvZHJpdmVycy9zb3VuZC9lbXUxMGsxL3Bhc3N0aHJvdWdo
LmgJU2F0IEF1ZyAxMSAwNTozNjozNCAyMDAxDQorKysgbGludXgtMi40Ljgu
ZW11MTBrMS5uZXcvZHJpdmVycy9zb3VuZC9lbXUxMGsxL3Bhc3N0aHJvdWdo
LmgJU2F0IEF1ZyAxMSAwNTo0Nzo0MyAyMDAxDQpAQCAtMzIsNiArMzIsNyBA
QA0KICNpZm5kZWYgX1BBU1NUSFJPVUdIX0gNCiAjZGVmaW5lIF9QQVNTVEhS
T1VHSF9IDQogDQorI2luY2x1ZGUgImh3YWNjZXNzLmgiDQogI2luY2x1ZGUg
ImF1ZGlvLmgiDQogDQogLyogbnVtYmVyIG9mIDE2LWJpdCBzdGVyZW8gc2Ft
cGxlcyBpbiBYVFJBTSBidWZmZXIgKi8NCg==
--8323328-1526825414-997536984=:847--
-
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/