ALSA configure error
Hi,
I have an old Aureal Vortex soundcard which Red Hat 8 doesn't recognize. So what I understand is that I need the Alsa driver to get it working. But when I use the follow command in the alsa-driver directory: ./configure --with-isapnp=no --with-sequencer=yes --with-oss=yes --with-cards=au8820 --with-redhat=auto --with-kernel=/usr/ ... and then type "make", I get some unexpected errors that I don't know how to work around.: hwdep.c: At top level: hwdep.c:516: parse error before "config_must_be_included_before_module" hwdep.c:516: warning: type defaults to `int' in declaration of `config_must_be_included_before_module' hwdep.c:516: warning: data definition has no type or storage class /alsa-driver-1.0.3/include/sound/hwdep.h:64: storage size of `open_mutex' isn't known hwdep.c:309: storage size of `snd_hwdep_f_ops' isn't known hwdep.c:39: warning: `DECLARE_MUTEX' declared `static' but never defined make[1]: *** [hwdep.o] Error 1 make[1]: Leaving directory `/alsa-driver-1.0.3/acore' make: *** [compile] Error 1 I've read others having similar problems but none have been quite like mine. I've read tons of pages and suggestions on forum without any luck. Does anyone have a clue? Thanks a lot! :) |
hmm... the only thing i can suggest is upgrading your alsa. youre using 1.0.3, the latest is 1.0.4
|
Thanks for the reply.
I downloaded the newest version (1.0.4) and compiled it, but now I got a different error: In file included from /usr/include/linux/highmem.h:5, from /usr/include/linux/pagemap.h:16, from /usr/include/linux/locks.h:8, from /usr/include/linux/devfs_fs_kernel.h:6, from /root/alsa-driver-1.0.4/include/adriver.h:249, from /root/alsa-driver-1.0.4/include/sound/driver.h:42, from /root/alsa-driver-1.0.4/alsa-kernel/core/oss/rate.c:22, from rate.c:2: /usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory make[3]: *** [fastdep] Error 1 make[3]: Leaving directory `/root/alsa-driver-1.0.4/acore/oss' make[2]: *** [_sfdep_oss] Error 2 make[2]: Leaving directory `/root/alsa-driver-1.0.4/acore' make[1]: *** [dep] Error 1 make[1]: Leaving directory `/root/alsa-driver-1.0.4' make: *** [include/sndversions.h] Error 2 I'm still confused... Maybe I'm better off spending money on a new card, I don't know. |
Hello,
you must have at least an full configured kernel-source (and running this kernel), or install the matching kernel-header (or kernel-includes) of your distribution. The ALSA-Source searchs for the '/usr/include/asm/pgalloc.h' (and follows). Zwickel |
Yeah, I downloaded the proper kernel-headers and installed them, but now I get yet another configuring error *sigh*
[...] In file included from memalloc.c:922: memalloc.inc1:29: parse error before "config_must_be_included_before_module" memalloc.inc1:29: warning: type defaults to `int' in declaration of `config_must_be_included_before_module' memalloc.inc1:29: warning: data definition has no type or storage class memalloc.c:48: warning: `enable' defined but not used memalloc.c:63: warning: `DECLARE_MUTEX' declared `static' but never defined make[1]: *** [memalloc.o] Error 1 make[1]: Leaving directory `/root/alsa-driver-1.0.4/acore' make: *** [compile] Error 1 |
All times are GMT -5. The time now is 12:43 AM. |