LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-01-2004, 09:32 AM   #1
rundjuling
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2
Posts: 30

Rep: Reputation: 15
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!
 
Old 05-01-2004, 09:48 AM   #2
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
hmm... the only thing i can suggest is upgrading your alsa. youre using 1.0.3, the latest is 1.0.4
 
Old 05-01-2004, 10:00 AM   #3
rundjuling
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2
Posts: 30

Original Poster
Rep: Reputation: 15
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.
 
Old 05-01-2004, 12:36 PM   #4
Zwickel
LQ Newbie
 
Registered: May 2004
Location: Germany, NRW
Distribution: Debian Sid
Posts: 1

Rep: Reputation: 0
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
 
Old 05-01-2004, 12:49 PM   #5
rundjuling
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2
Posts: 30

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alsa compiling errors in ./configure d_dallis_gr Linux - Software 3 06-19-2005 06:13 PM
Configure JuK/Kaffeine to use ALSA? Jessica9 Linux - Software 1 06-08-2005 01:59 AM
Configure Two soundcards, ALSA...How? Outabux Debian 0 12-15-2004 12:48 PM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 03:52 PM
ALSA ./configure problem sepelio Linux - Hardware 2 04-12-2004 01:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration