On Fri, 21 Dec 2007, Ismael Farfán Estrada wrote:
Hi there
I was wondering wheter you could help me compilig the driver with
oss support, I get this error trying to compile it
make -C /lib/modules/2.6.18-53.1.4.el5/source SUBDIRS=/tmp/alsa-driver-1.0.15 O=/lib/modules/2.6.18-53.1.4.el5/build CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-53.1.4.el5-x86_64'
CC [M] /tmp/alsa-driver-1.0.15/acore/info_oss.o
In file included from /tmp/alsa-driver-1.0.15/acore/../alsa-kernel/core/info_oss.c:30,
from /tmp/alsa-driver-1.0.15/acore/info_oss.c:6:
include/linux/utsname.h:37:52: error: macro "init_utsname" passed 1 arguments, but takes just 0 <-------
It looks to me like your alsa is incompatible with your kernel.
I vaguely recall that alsa 1.0.15 was for kernel greater than 2.6.18 but I
could be wrong.
In file included from /tmp/alsa-driver-1.0.15/acore/../alsa-kernel/core/info_oss.c:30,
from /tmp/alsa-driver-1.0.15/acore/info_oss.c:6:
include/linux/utsname.h:38: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?{? token
make[4]: *** [/tmp/alsa-driver-1.0.15/acore/info_oss.o] Error 1
make[3]: *** [/tmp/alsa-driver-1.0.15/acore] Error 2
make[2]: *** [_module_/tmp/alsa-driver-1.0.15] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-53.1.4.el5-x86_64'
make: *** [compile] Error 2
I'm using Centos 5, kernel 2.6.18-53.1.4.el5
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user
--
William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273
Physics&Astronomy | Advanced Research | Fax: +1(604)822-5324
UBC, Vancouver,BC | Program in Cosmology | unruh@xxxxxxxxxxxxxx
Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user