Hi everyone,

After a couple of diff-paches kindly sent by Takashi, I'm still doomed to
fail on building alsa-driver-0.9.5 for a SMP kernel.

To no surprise, I did manage to make and install successfully on a UP
kernel (otherwise same kernel config).

So, now I'm certain this is a definite SMP issue. The make failure history
so far is quoted below. Does anybody else's experiencing the same troubles
on SMP or is it just me?

Can't wait for the next patch from Takashi's ;)

1). With vanilla alsa-driver-0.9.5 (unpatched):
> .
> .
> .
> make  -C other modules
> make[2]: Entering directory
> `/usr/src/source/alsa/alsa-driver-0.9.5/i2c/other'
> gcc -D__KERNEL__ -DMODULE=1
> -I/usr/src/source/alsa/alsa-driver-0.9.5/include
> -I/lib/modules/2.4.21-ck3.1.smp/build/include -O2
> -mpreferred-stack-boundary=2 -march=i686 -D__SMP__ -DCONFIG_SMP -DLINUX
> -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2
> -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD   -DEXPORT_SYMTAB -c
> ak4117.c
> 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
> ak4117.c:182: warning: passing arg 1 of `_raw_spin_unlock' from
> incompatible pointer type
> ak4117.c: In function `snd_ak4117_rx_put':
> ak4117.c:234: warning: passing arg 1 of `_raw_spin_lock' from incompatible
> pointer type
> ak4117.c:239: warning: passing arg 1 of `_raw_spin_unlock' from
> incompatible pointer type
> ak4117.c: In function `snd_ak4117_check_rate_and_errors_Rsmp_7fb02330':
> ak4117.c:483: warning: passing arg 1 of `_raw_spin_lock' from incompatible
> pointer type
> ak4117.c:499: warning: passing arg 1 of `_raw_spin_unlock' from
> incompatible pointer type
> make[2]: *** [ak4117.o] Error 1
> make[2]: Leaving directory
> `/usr/src/source/alsa/alsa-driver-0.9.5/i2c/other'
> make[1]: *** [_modsubdir_other] Error 2
> make[1]: Leaving directory `/usr/src/source/alsa/alsa-driver-0.9.5/i2c'
> make: *** [compile] Error 1
>

2). After applying ak4117-fix.diff:
> .
> .
> .
> gcc -D__KERNEL__ -DMODULE=1
> -I/usr/src/source/alsa/alsa-driver-0.9.5/include
> -I/lib/modules/2.4.21-ck3.1.smp/build/include -O2
> -mpreferred-stack-boundary=2 -march=i686 -D__SMP__ -DCONFIG_SMP -DLINUX
> -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2
> -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD
> -DKBUILD_BASENAME=pdaudiocf_core   -c -o pdaudiocf_core.o pdaudiocf_core.c
> pdaudiocf_core.c: In function `snd_pdacf_create':
> pdaudiocf_core.c:136: structure has no member named `lock'
> pdaudiocf_core.c:137: structure has no member named `irq_lock'
> make[2]: *** [pdaudiocf_core.o] Error 1
> make[2]: Leaving directory
> `/usr/src/source/alsa/alsa-driver-0.9.5/pcmcia/pdaudiocf'
> make[1]: *** [_modsubdir_pdaudiocf] Error 2
> make[1]: Leaving directory `/usr/src/source/alsa/alsa-driver-0.9.5/pcmcia'
> make: *** [compile] Error 1
>

3). After applying ak4117-fix.diff and pdaudiocf-fix.diff:
> .
> .
> .
> gcc -D__KERNEL__ -DMODULE=1
> -I/usr/src/source/alsa/alsa-driver-0.9.5/include
> -I/lib/modules/2.4.21-ck3.1.smp/build/include -O2
> -mpreferred-stack-boundary=2 -march=i686 -D__SMP__ -DCONFIG_SMP -DLINUX
> -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2
> -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD
> -DKBUILD_BASENAME=pdaudiocf_pcm   -c -o pdaudiocf_pcm.o pdaudiocf_pcm.c
> pdaudiocf_pcm.c: In function `pdacf_pcm_trigger':
> pdaudiocf_pcm.c:129: `chip_reg_lock' undeclared (first use in this
> function)
> pdaudiocf_pcm.c:129: (Each undeclared identifier is reported only once
> pdaudiocf_pcm.c:129: for each function it appears in.)
> make[2]: *** [pdaudiocf_pcm.o] Error 1
> make[2]: Leaving directory
> `/usr/src/source/alsa/alsa-driver-0.9.5/pcmcia/pdaudiocf'
> make[1]: *** [_modsubdir_pdaudiocf] Error 2
> make[1]: Leaving directory `/usr/src/source/alsa/alsa-driver-0.9.5/pcmcia'
> make: *** [compile] Error 1
>


Thanks for all.
-- 
rncbc aka Rui Nuno Capela
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to