ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Konstantin Baginsky <konba@pochta.ru>
To: "Konstantin A. Lepikhov" <community@altlinux.ru>
Subject: Re: [Comm] Re: попытка компиляции ALSA :-(
Date: Tue, 6 Jan 2004 00:19:34 +0300
Message-ID: <913337816.20040106001934@pochta.ru> (raw)
In-Reply-To: <20040105211340.GA17717@lks.home>

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



  reply	other threads:[~2004-01-05 21:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-05 20:39 [Comm] " Konstantin Baginsky
2004-01-05 21:13 ` [Comm] " Konstantin A. Lepikhov
2004-01-05 21:19   ` Konstantin Baginsky [this message]
2004-01-05 21:32     ` Konstantin A. Lepikhov
2004-01-05 22:00       ` Konstantin Baginsky
2004-01-06  4:47         ` Andrey Rahmatullin
2004-01-06  3:54     ` Aleksey Korotkov
2004-01-06 12:18       ` Re[2]: " Konstantin Baginsky
2004-01-07  1:06         ` Aleksey Korotkov
2004-01-07 14:00 ` [Comm] " some_x

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=913337816.20040106001934@pochta.ru \
    --to=konba@pochta.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git