Running Slackware-9.1, Kernel v2.4.22, libc-2.3.2.so got an error (see text log file attached) compiling alsa-driver-0.9.8 using...
./configure --with-cards=via82xx --with-oss=yes ; make
Any comments appreciated...
Cheers, Jeremy
%~: ./configure --with-cards=via82xx --with-oss=yes ; make checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/ginstall -c checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/src/alsa/alsa-driver-0.9.8 checking cross compile... checking for directory with kernel source... /lib/modules/2.4.22-blue/build checking for kernel version... 2.4.22-blue checking for GCC version... Kernel compiler: gcc 3.2.3 Used compiler: gcc (GCC) 3.2.3 checking to modify of kernel linux/kmod.h... "no" checking for kernel linux/compiler.h... "yes" checking for kernel linux/pm.h... "yes" checking for kernel linux/spinlock.h... "yes" checking for kernel linux/irq.h... "yes" checking for kernel linux/threads.h... "yes" checking for kernel linux/rwsem.h... "yes" checking for kernel linux/gameport.h... "yes" checking for kernel linux/devfs_fs_kernel.h... "yes" checking for kernel linux/highmem.h... "yes" checking for kernel linux/workqueue.h... "no" checking for kernel asm/hw_irq.h... "yes" checking for kernel linux/jiffies.h... "no" checking for kernel linux/compat.h... "no" checking for kernel linux/adb.h... "yes" checking for kernel linux/cuda.h... "yes" checking for kernel linux/pmu.h... "yes" checking for kernel module symbol versions... "no" checking for PCI support in kernel... "yes" checking for SGI/MIPS (HAL2) architecture... "no" checking for directory to store kernel modules... /lib/modules/2.4.22-blue/kernel/sound checking for verbose printk... on checking for debug level... none checking for ISA support in kernel... "yes" checking for processor type... k7 checking for SMP... "no" checking for ISA PnP driver in kernel... yes checking for PnP driver in kernel... no checking for Kernel ISA-PnP support... "no" checking for Kernel ISA-PnP module support... "yes" checking for strlcpy... "no" checking for snprintf... "yes" checking for vmalloc_to_page... "yes" checking for old kmod... "yes" checking for PDE... "no" checking for driver version... 0.9.8 checking for sequencer support... yes checking for OSS/Free emulation... yes checking for RTC callback support in kernel... "no" checking for USB support... "no" checking for USB module support... "yes" checking for kernel PCMCIA checking for PCMCIA support... "no" checking for PCMCIA module support... "no" checking for PC9800 support in kernel... "no" checking for which soundcards to compile driver for... via82xx configure: creating ./config.status config.status: creating version config.status: creating Makefile.conf config.status: creating snddevices config.status: creating utils/alsa-driver.spec config.status: creating utils/buildrpm config.status: creating toplevel.config config.status: creating include/config.h config.status: include/config.h is unchanged config.status: creating include/config1.h config.status: include/config1.h is unchanged config.status: creating include/version.h config.status: include/version.h is unchanged make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.8/support' make -C pnp modules make[2]: Entering directory `/usr/src/alsa/alsa-driver-0.9.8/support/pnp' make[2]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8/support/pnp' make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8/support' make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.8/acore' make -C oss modules make[2]: Entering directory `/usr/src/alsa/alsa-driver-0.9.8/acore/oss' make[2]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8/acore/oss' make -C seq modules make[2]: Entering directory `/usr/src/alsa/alsa-driver-0.9.8/acore/seq' make -C instr modules make[3]: Entering directory `/usr/src/alsa/alsa-driver-0.9.8/acore/seq/instr' make[3]: Nothing to be done for `modules'. make[3]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8/acore/seq/instr' make -C oss modules make[3]: Entering directory `/usr/src/alsa/alsa-driver-0.9.8/acore/seq/oss' gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa/alsa-driver-0.9.8/include -I/lib/modules/2.4.22-blue/build/include -O2 -mpreferred-stack-boundary=2 -march=athlon -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -I/usr/src/alsa/alsa-driver-0.9.8/alsa-kernel/core/seq/oss -DKBUILD_BASENAME=seq_oss_init -c -o seq_oss_init.o seq_oss_init.c In file included from ../../../alsa-kernel/core/seq/oss/seq_oss_init.c:29, from seq_oss_init.c:2: ../../../alsa-kernel/core/seq/oss/seq_oss_event.h:98: warning: no semicolon at end of struct or union ../../../alsa-kernel/core/seq/oss/seq_oss_event.h:98: syntax error before numeric constant ../../../alsa-kernel/core/seq/oss/seq_oss_event.h:102: syntax error before '}' token make[3]: *** [seq_oss_init.o] Error 1 make[3]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8/acore/seq/oss' make[2]: *** [_modsubdir_oss] Error 2 make[2]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8/acore/seq' make[1]: *** [_modsubdir_seq] Error 2 make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8/acore' make: *** [compile] Error 1