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

Konstantin Baginsky =?iso-8859-1?q?konba_=CE=C1_pochta=2Eru?=
Пн Янв 5 23:39:46 MSK 2004


День добрый всем!

Спасибо  за помощь старшим товарищам. При помощи Ваших советов я нашел
таки  сидюк,  поставил  компилятор  С и попытался откомпилировать 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 тоже выдает кучу ошибок. В чем тут собака
порылась?




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