From: Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To: devel@altlinux.ru
Subject: Re: [devel] Как найти, где спрятались *.h файлы
Date: Mon, 11 Nov 2002 14:39:51 +0200
Message-ID: <20021111123951.GK30136@sam-solutions.net> (raw)
In-Reply-To: <200211111427.27903.ilar@altlinux.ru>
On Mon, Nov 11, 2002 at 02:27:27PM +0200, Igor Tertishny wrote:
> Компилю совершенно бесподобную прогу. Но возникает проблема - постоянно идет
> ошибка о ненахождении переменных из заголовочного файла. SDL и alsa. Даю
> кусочек вывода:
>
> DL_alsa_audio.c:73: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this
> function)
> SDL_alsa_audio.c:74: `SND_PCM_MODE_BLOCK' undeclared (first use in this
> function)
> SDL_alsa_audio.c:76: `SND_PCM_STOP_STOP' undeclared (first use in this
> function)
> SDL_alsa_audio.c:77: `SND_PCM_SFMT_S16_LE' undeclared (first use in this
> function)
> SDL_alsa_audio.c: In function `Audio_Available':
> SDL_alsa_audio.c:98: `snd_pcm_channel_params_t' undeclared (first use in this
> function)
> SDL_alsa_audio.c:98: parse error before "cparams"
> SDL_alsa_audio.c:106: `cparams' undeclared (first use in this function)
> SDL_alsa_audio.c:108: `SND_PCM_OPEN_PLAYBACK' undeclared (first use in this
> function)
> SDL_alsa_audio.c:108: `SND_PCM_OPEN_NONBLOCK' undeclared (first use in this
> function)
>
> Я пересмотрел все заголовочные файлы alsa, но не нашел этих переменных, а это
> явно не переменные автора проги, а системные. Как найти, где их искать, чтобы
> вставить в заголовочный файл? Мне проще переписать прогу самому, чем мурыжить
> автора.
Как вариант: автор использует более старую версию API этих библиотек?
--
/ Alexander Bokovoy
---
I am not afraid of tomorrow, for I have seen yesterday and I love today.
-- William Allen White
next prev parent reply other threads:[~2002-11-11 12:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-11 12:27 Igor Tertishny
2002-11-11 12:39 ` Alexander Bokovoy [this message]
2002-11-11 22:53 ` Igor Tertishny
2002-11-12 13:09 ` Anton Farygin
2002-11-12 21:15 ` Igor Tertishny
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=20021111123951.GK30136@sam-solutions.net \
--to=a.bokovoy@sam-solutions.net \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git