I think I found out why it doesn't compile the snd-isapnp module

in alsa-driver/Makefile :

ifeq (n,$(CONFIG_ISAPNP_KERNEL))
ifeq (y,$(CONFIG_ISAPNP))
ifeq (y,$(CONFIG_ISA))
SUBDIRS  += support
endif
endif
endif

That should be changed to :
ifdef CONFIG_ISAPNP_KERNEL
else
ifeq (y,$(CONFIG_ISAPNP))
ifeq (y,$(CONFIG_ISA))
SUBDIRS  += support
endif
endif
endif

(just the way Takashi Iwai changed alsa-driver/support/Makefile for the
same purpose)

However, after this, compilation of snd-isapnp is attempted, with the
following errors:

ld  -r -o snd-isapnp.o isapnp.o isapnp_proc.o isapnp_quirks.o
isapnp_proc.o(.bss+0x4): multiple definition of
`isapnp_devices_Rfc7fa7cf'
isapnp.o(.data+0x104): first defined here
isapnp_proc.o(.bss+0x0): multiple definition of `isapnp_cards_R2eb552c2'
isapnp.o(.data+0x100): first defined here
make[1]: *** [snd-isapnp.o] Error 1
make[1]: Leaving directory `/serve/install/alsa-cvs/alsa-driver/support'
make: *** [compile] Error 1

Then, in alsa-driver/support/isapnp_proc.c line 53 I changed to :

extern struct isapnp_card *isapnp_cards;
extern struct isapnp_dev *isapnp_devices;

compilation works. 
Still unresolved symbols with sequencer, but I'll look into it later. 


-- 
ing. Andrei Boros
mailto:[EMAIL PROTECTED] / +40-21-303-1870
Centrul pt. Tehnologia Informatiei
Societatea Romana de Radiodifuziune


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to