Skip to contentSkip to conversation

snd-isapnp still not compiled in latest cvs

DISCUSSION Applied Andrei Boros 2 participants 2 messages Mar 13, 2003

lore
Share & tools
lore
#0 lore raw

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.

Signature · 11 lines
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
Applied
#1 lore raw

At Thu, 13 Mar 2003 13:39:02 +0200,

Quoted 5 lines · Andrei Boros

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

in alsa-driver/Makefile :

(snip)

Quoted 1 line

compilation works.

thanks, applied to cvs now.

Takashi

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