Skip to contentSkip to conversation

can't build snd-sbawe with linux 2.5.64

DISCUSSION Bob Ham 1 participant 1 message Mar 5, 2003

lore
Share & tools
lore

Bob Ham

author
#0 lore raw

Hi,

I'm sorry to report that I've been unable to get alsa to build the snd-sbawe driver with 2.5.64. Both the kernel's version and 0.9.0rc8 fail. I've attached the output of both build attempts.

Bob

Signature · 1 line
Bob Ham <[email protected]>

make[1]: Entering directory `/usr/src/alsa-driver-0.9.0rc8a/acore'

gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-0.9.0rc8a/include  -I/lib/modules/2.5.64/build/include -O2 -mpreferred-stack-boundary=2 -march=i586 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD   -DEXPORT_SYMTAB -c hwdep.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-0.9.0rc8a/include  -I/lib/modules/2.5.64/build/include -O2 -mpreferred-stack-boundary=2 -march=i586 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD   -DEXPORT_SYMTAB -c memalloc.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-0.9.0rc8a/include  -I/lib/modules/2.5.64/build/include -O2 -mpreferred-stack-boundary=2 -march=i586 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD  -DKBUILD_BASENAME=sgbuf   -c -o sgbuf.o sgbuf.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-0.9.0rc8a/include  -I/lib/modules/2.5.64/build/include -O2 -mpreferred-stack-boundary=2 -march=i586 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD  -DKBUILD_BASENAME=memory_wrapper   -c -o memory_wrapper.o memory_wrapper.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-0.9.0rc8a/include  -I/lib/modules/2.5.64/build/include -O2 -mpreferred-stack-boundary=2 -march=i586 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD   -DEXPORT_SYMTAB -c pcm.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-0.9.0rc8a/include  -I/lib/modules/2.5.64/build/include -O2 -mpreferred-stack-boundary=2 -march=i586 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD  -DKBUILD_BASENAME=pcm_native   -c -o pcm_native.o pcm_native.c
In file included from /lib/modules/2.5.64/build/include/linux/irq.h:19,
                 from /lib/modules/2.5.64/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.5.64/build/include/linux/interrupt.h:9,
                 from /usr/src/alsa-driver-0.9.0rc8a/include/sound/timer.h:27,
                 from ../alsa-kernel/core/pcm_native.c:33,
                 from pcm_native.c:2:
/lib/modules/2.5.64/build/include/asm/irq.h:16: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.5.64/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.5.64/build/include/linux/interrupt.h:9,
                 from /usr/src/alsa-driver-0.9.0rc8a/include/sound/timer.h:27,
                 from ../alsa-kernel/core/pcm_native.c:33,
                 from pcm_native.c:2:
/lib/modules/2.5.64/build/include/linux/irq.h:67: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.5.64/build/include/linux/irq.h:69,
                 from /lib/modules/2.5.64/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.5.64/build/include/linux/interrupt.h:9,
                 from /usr/src/alsa-driver-0.9.0rc8a/include/sound/timer.h:27,
                 from ../alsa-kernel/core/pcm_native.c:33,
                 from pcm_native.c:2:

/lib/modules/2.5.64/build/include/asm/hw_irq.h:27: NR_IRQS' undeclared here (not in a function) /lib/modules/2.5.64/build/include/asm/hw_irq.h:30: NR_IRQS' undeclared here (not in a function) make[1]: *** [pcm_native.o] Error 1
make[1]: Leaving directory `/usr/src/alsa-driver-0.9.0rc8a/acore'
make: *** [compile] Error 1

make -f scripts/Makefile.build obj=scripts
rm -rf .tmp_versions
mkdir -p .tmp_versions
Starting the build. KBUILD_BUILTIN= KBUILD_MODULES=1
make -f scripts/Makefile.build obj=init
...
make -f scripts/Makefile.build obj=sound/isa/cs423x
make -f scripts/Makefile.build obj=sound/isa/es1688
make -f scripts/Makefile.build obj=sound/isa/gus
make -f scripts/Makefile.build obj=sound/isa/opti9xx
make -f scripts/Makefile.build obj=sound/isa/sb
gcc -Wp,-MD,sound/isa/sb/.sbawe.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=sbawe -DKBUILD_MODNAME=snd_sbawe -c -o sound/isa/sb/sbawe.o sound/isa/sb/sbawe.c
In file included from sound/isa/sb/sbawe.c:2:
sound/isa/sb/sb16.c: In function `snd_sb16_isapnp':
sound/isa/sb/sb16.c:279: warning: implicit declaration of function isapnp_find_dev' sound/isa/sb/sb16.c:279: warning: assignment makes pointer from integer without a cast sound/isa/sb/sb16.c:280: structure has no member named active' sound/isa/sb/sb16.c:285: warning: assignment makes pointer from integer without a cast sound/isa/sb/sb16.c:286: structure has no member named active' sound/isa/sb/sb16.c:293: structure has no member named prepare' sound/isa/sb/sb16.c:296: warning: implicit declaration of function isapnp_resource_change' sound/isa/sb/sb16.c:307: structure has no member named activate' sound/isa/sb/sb16.c:324: structure has no member named prepare' sound/isa/sb/sb16.c:325: structure has no member named deactivate' sound/isa/sb/sb16.c:333: structure has no member named activate' sound/isa/sb/sb16.c:335: structure has no member named deactivate' sound/isa/sb/sb16.c: In function `snd_sb16_deactivate':
sound/isa/sb/sb16.c:347: structure has no member named deactivate' sound/isa/sb/sb16.c:352: structure has no member named deactivate' sound/isa/sb/sb16.c: In function `alsa_card_sb16_init':
sound/isa/sb/sb16.c:632: warning: implicit declaration of function `isapnp_probe_cards' make[3]: *** [sound/isa/sb/sbawe.o] Error 1
make[2]: *** [sound/isa/sb] Error 2
make[1]: *** [sound/isa] Error 2
make: *** [sound] Error 2