Re: alsa 1.016 compile error on latest kernel centos 5.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Jerry Geis wrote:
Hi all,

I need to compile alsa-project 1.0.16 on the latest centos 5.1 kernel.
I am getting this error. What to do... ?

CC
[M] /home/silentm/MessageNet/alsa-project/alsa-driver-1.0.16/acore/sound_oss.o
 CC
[M] /home/silentm/MessageNet/alsa-project/alsa-driver-1.0.16/acore/info_oss.o
In file included
from /home/silentm/MessageNet/alsa-project/alsa-driver-1.0.16/acore/../alsa-kernel/core/info_oss.c:29,

from /home/silentm/MessageNet/alsa-project/alsa-driver-1.0.16/acore/info_oss.c:7:
include/linux/utsname.h:37:52: error: macro "init_utsname" passed 1
arguments, but takes just 0
In file included
from /home/silentm/MessageNet/alsa-project/alsa-driver-1.0.16/acore/../alsa-kernel/core/info_oss.c:29,

from /home/silentm/MessageNet/alsa-project/alsa-driver-1.0.16/acore/info_oss.c:7:
include/linux/utsname.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{’ token
make[3]: ***
[/home/silentm/MessageNet/alsa-project/alsa-driver-1.0.16/acore/info_oss.o] Error 1
make[2]: ***
[/home/silentm/MessageNet/alsa-project/alsa-driver-1.0.16/acore] Error 2
make[1]: ***
[_module_/home/silentm/MessageNet/alsa-project/alsa-driver-1.0.16] Error
2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-53.1.14.el5-x86_64'

Seems to build OK for me (2.6.18-53.1.14.el5-i386) ...

Did it build OK for previous 5.1 kernels?

Do you know where it is picking include/linux/utsname.h from? - it should be:

 /lib/modules/2.6.18-53.1.14.el5/build/include/linux/utsname.h

(which is really under /usr/src/kernels/2.6.18-53.1.14.el5-x86_64)

Where does the output of configure say about this?

James Pearson
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux