[alsa-devel] trouble compiling alsa-drivers
brookew at qualcomm.com
Fri Aug 3 23:29:47 CEST 2007
Package alsa-driver-1.0.14.tar.b2z also fails to compile with the same
Is there a particualr version of the Kernel that is recommended to use?
I don't think the issue is with including the macro itself, it is
defined in adriver.h and including that file directly generates the same
error. Seems that MARCO depends on another MACRO "RW_LOCK_UNLOCKED" and
somewhere down the line there is a syntax error....
make: Entering directory `/usr/src/kernels/2.6.9-34.EL-smp-i686'
ive.c:75: error: syntax error before "snd_pcm_link_rwlock"
... [Many more similar errors] ...
tive.o] Error 1
make: *** [modules] Error 2
make: Leaving directory `/usr/src/kernels/2.6.9-34.EL-smp-i686'
make: *** [compile] Error 2
I will do some more digging around, but I don't want to go off the
deep-end hacking software I don't understand, at least not yet.
From: Tobin Davis [mailto:tdavis at dsl-only.net]
Sent: Thursday, August 02, 2007 6:21 PM
To: Wallace, Brooke
Subject: Re: [alsa-devel] trouble compiling alsa-drivers
Alsa 1.0.14rc4 is NOT the latest. 1.0.14 went final a few weeks
after, and there was a patch to fix build issues on Redhat's broken
kernels that went into it.
On Thu, 2007-08-02 at 16:53 -0700, Wallace, Brooke wrote:
The alsa-drivers INSTALL file tells me:
On 2.6 kernels, the build directory has to be given
--with-build=<kernel_build_dir> option additionaly, too.
What exactly is mean by kernel_build_dir? I should not
have to recompile
my kernel because I already have the sourcecore module.
Configure seems to work fine and locates my kernel
./configure --with-cards=hda-intel --with-sequencer=yes
But when I compile, it fails in acore/pcm_native.c line
acore/pcm_native.c line #75 uses the macro DEFINE_RWLOCK
apparently has not been defined yet.
Searching thu the alsa-drivers source, I find that
defines this macro.
What am I doing wrong? Why doesn't adriver.h get
included when I compile
I'm using the latest release - alsa-driver-1.0.14rc4
My Kernel sources are: 2.6.9-34.EL-smp-i686
Alsa is already working fine on this system using the
HDA Intel driver,
its a RHEL- 3.4.5-2 system. I just want to re-compile
the latest ALSA
software and start writing a dummy user space driver
that prints to a
file or something. I should be able to cmopile all of
the latest ALSA
Any help is appreciated.
Alsa-devel mailing list
Alsa-devel at alsa-project.org
-- Tobin Davis
Laetrile is the pits.
More information about the Alsa-devel