2.1.28 compile problem - DEC UDB + Sound (MSS)

David R. McGown (dmcgown@access.digex.net)
Tue, 04 Mar 1997 20:47:17 -0500 (EST)


Just tried to compile 2.1.28 on a DEC Alpha UDB and ran into a sound driver
problem associated with a second DMA for the MSS. This seems to be added
in 2.1.28, 2.1.27 compiled fine. My sound config (edited for brevity):

#define CONFIG_MSS
#define CONFIG_YM3812
#define CONFIG_AD1848
#define CONFIG_SEQUENCER
#define CONFIG_AUDIO
#define MSS_BASE 0x530
#define MSS_IRQ 9
#define MSS_DMA 3
#define SELECTED_SOUND_OPTIONS 0x00800200

The error message from "make boot":

gcc -D__KERNEL__ -I/usr/src/linux-2.1.28/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -c -o dev_table.o
dev_table.c
In file included from sound_config.h:154,
from dev_table.c:17:
dev_table.h:445: `MSS_DMA2' undeclared here (not in a function)
dev_table.h:445: initializer element for
`snd_installed_cards[0].config.dma2' is not constant
make[2]: *** [dev_table.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.1.28/drivers/sound'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1.28/drivers'
make: *** [linuxsubdirs] Error 2

David
======================================================================
David R. McGown
dmcgown@access.digex.net -o-O-o- LINUX INSIDE!
Home: (703)683-1599 206 Adams Ave ALPHA GENERATION!
Work: (703)416-1240 Alexandria, VA 22301