errors compiling 2.1.9

Jason Fayre (jfayre@pangea.ca)
Wed, 13 Nov 1996 12:03:30 -0600 (CST)


I'm getting the following errors when compiling the sound driver in 2.1.9:

gcc -D__KERNEL__ -I/usr/src/temp/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -c -o dev_table.o dev_table.c
In file included from sound_config.h:14,
from dev_table.c:17:
local.h:54: warning: `SOUND_CONFIG_DATE' redefined
local.h:16: warning: this is the location of the previous definition
In file included from sound_config.h:153,
from dev_table.c:17:
dev_table.h:474: `U6850_BASE' undeclared here (not in a function)
dev_table.h:474: initializer element for `snd_installed_cards[1].config.io_base' is not constant
dev_table.h:474: `U6850_IRQ' undeclared here (not in a function)
dev_table.h:474: initializer element for `snd_installed_cards[1].config.irq' is not constant
make[2]: *** [dev_table.o] Error 1
make[2]: Leaving directory `/usr/src/temp/linux/drivers/sound'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/temp/linux/drivers'
make: *** [linuxsubdirs] Error 2
Does anyone know what the problem might be?