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

Konstantin Baginsky =?iso-8859-1?q?konba_=CE=C1_pochta=2Eru?=
Вт Янв 6 00:19:34 MSK 2004


Hello Konstantin,

Tuesday, January 06, 2004, 12:13:40 AM, you wrote:

KAL> Hi Konstantin!

KAL> 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 тоже выдает кучу ошибок. В чем тут собака
>> порылась?
KAL> Думаю, вы зарыли уже много собак =)
KAL> 1) Никогда не собирайте под root'ом
KAL> 2) Используйте google.com для поиска ошибок - например, я сразу наткнулся
KAL> на
KAL> http://lists.debian.org/debian-user-german/2002/debian-user-german-200208/msg03501.html
KAL> 3) Всегда указывайте что, чем, с чем и как собираете =)

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


проблема  в  том,  что  я  не  программер, и поэтом с трудом даже могу
вычленить  ошибки.  Т.е.  для  меня  все  что  там  написано  - полная
галиматья. Мне сказали, что возьмите свой дистриб, возьмите его родной
gcc  и  компилите.  Сперва  config потом make потом make install и все
будет хорошо. Но хорошо не получилось и куда теперь дальше рулить?

-- 
Best regards,
 Konstantin                            mailto:konba на pochta.ru




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