At Mon, 14 Jul 2003 14:33:49 +0100 (WEST),
Rui Nuno Capela wrote:
> 
> But please,
> 
> >>> ak4117.c: In function `snd_ak4117_create_Rsmp_3b164791':
> >>> ak4117.c:91: incompatible types in assignment
> >>> ak4117.c: In function `snd_ak4117_in_error_get':
> >>> ak4117.c:178: warning: passing arg 1 of `_raw_spin_lock' from
> >>> incompatible pointer type
> >
> >> That is because you have kernel 2.5.
> >> [...]
> >> It suprised me too, but ALSA's distributions don't compile
> >> unless you're still running an old kernel (2.4.x).
> >>
> >> You'll have to use the modules that come with the kernel.
> >> If anyone can enlighten me why the ALSA CVS doesn't contain
> >> the authoritive source code for the kernel 2.5 modules,
> >> please.
> >
> > The CVS _does_ contain the 2.5 source, it's in the alsa-kernel
> > directory. The alsa-driver directory contains a bunch of compatibility
> > and wrapper code to let it run under 2.2/2.4 kernels.
> >
> > To use the CVS code in 2.5, you have to copy the stuff in alsa-kernel
> > to the appropriate directories in the kernel tree, and then to
> > recompile the kernel.
> >
> 
> I'm running 2.4.21 SMP, and not trying to compile a 2.5 kernel whatsoever.
> 
> The make errors above (on ak4117.c) only shows when building latest
> alsa-driver-0.9.5, from the source tarball. As noted before,
> alsa-driver-0.9.4 source tarball builds and runs perfectly fine.
> 
> Is there anything I must do about the 0.9.5 source tree before
> configure/make _OR_ is this an brand-new SMP related issue? ;)

there was an obvious typo.
please try the attached patch.


ciao,

Takashi
 

Attachment: ak4117-fix.dif
Description: Binary data

Reply via email to