[Comm] Re: попытка компиляции ALSA :-(

Konstantin A. Lepikhov =?iso-8859-1?q?lakostis_=CE=C1_elektrostal=2Eru?=
Вт Янв 6 00:13:40 MSK 2004


Hi Konstantin!

Monday 05, at 11:39:46 PM you wrote:

> День добрый всем!
> 
> Спасибо  за помощь старшим товарищам. При помощи Ваших советов я нашел
> таки  сидюк,  поставил  компилятор  С и попытался откомпилировать ALSA
> v.1.0.0rc2.   Система  ALM2.0.  По  команде  make  выдается  следующее
> сообщение:
> 
> [root на localhost alsa-driver-1.0.0rc2]# make
> make[1]: Entering directory `/root/INSTALSA/alsa-driver-1.0.0rc2/acore'
> gcc -D__KERNEL__ -DMODULE=1 -I/root/INSTALSA/alsa-driver-1.0.0rc2/include  -I/usr/include -O2 -mpreferred-stack-boundary=2 -march=i586 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD   -DEXPORT_SYMTAB -c hwdep.c
> In file included from /root/INSTALSA/alsa-driver-1.0.0rc2/include/adriver.h:155,                 from /root/INSTALSA/alsa-driver-1.0.0rc2/include/sound/driver.h:42,
>                  from hwdep.c:22:
> /root/INSTALSA/alsa-driver-1.0.0rc2/include/linux/isapnp.h:370: warning: `struct isapnp_card_id' declared inside parameter list
> /root/INSTALSA/alsa-driver-1.0.0rc2/include/linux/isapnp.h:370: warning: its scope is only this definition or declaration, which is probably not what you want. /root/INSTALSA/alsa-driver-1.0.0rc2/include/linux/isapnp.h:374: warning: `struct resource' declared inside parameter list
> In file included from hwdep.c:27:
> /root/INSTALSA/alsa-driver-1.0.0rc2/include/sound/core.h:147: field `controls_rwsem' has incomplete type
> hwdep.c:312: unknown field `owner' specified in initializer
> hwdep.c:312: warning: initialization from incompatible pointer type
> hwdep.c:314: field `llseek' already initialized
> hwdep.c:314: warning: initialization from incompatible pointer type
> hwdep.c:315: field `read' already initialized
> hwdep.c:315: warning: initialization from incompatible pointer type
> hwdep.c:316: field `write' already initialized
> hwdep.c:316: warning: initialization from incompatible pointer type
> hwdep.c:504: parse error before `alsa_hwdep_exit'
> hwdep.c:505: warning: return type defaults to `int'
> hwdep.c: In function `alsa_hwdep_exit':
> hwdep.c:511: warning: control reaches end of non-void function
> hwdep.c: In function `__cleanup_module_inline':
> hwdep.c:514: warning: return from incompatible pointer type
> make[1]: *** [hwdep.o] Error 1
> make[1]: Leaving directory `/root/INSTALSA/alsa-driver-1.0.0rc2/acore'
> make: *** [compile] Error 1
> [root на localhost alsa-driver-1.0.0rc2]#
> 
> Соответственно  make install тоже выдает кучу ошибок. В чем тут собака
> порылась?
Думаю, вы зарыли уже много собак =)
1) Никогда не собирайте под root'ом
2) Используйте google.com для поиска ошибок - например, я сразу наткнулся
на
http://lists.debian.org/debian-user-german/2002/debian-user-german-200208/msg03501.html
3) Всегда указывайте что, чем, с чем и как собираете =)

сдается мне, что у вас либо что-то с gcc не то, либо с ядром.

-- 
WBR, Konstantin	      chat with ==>ICQ: 109916175
     Lepikhov,	      speak  to ==>JID: lakostis на jabber.org
aka L.A. Kostis       write  to ==>mailto:lakostis на pisem.net.nospam

...The information is like the bank... 			  (c) EC8OR




Подробная информация о списке рассылки community