From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 11 Nov 2002 14:39:51 +0200 From: Alexander Bokovoy To: devel@altlinux.ru Subject: Re: [devel] =?koi8-r?B?68HLIM7BytTJLCDH?= =?koi8-r?B?xMUg09DS0dTBzMnT2CAqLmggxsHKzNk=?= Message-ID: <20021111123951.GK30136@sam-solutions.net> Mail-Followup-To: devel@altlinux.ru References: <200211111427.27903.ilar@altlinux.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200211111427.27903.ilar@altlinux.ru> Sender: devel-admin@altlinux.ru Errors-To: devel-admin@altlinux.ru X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: devel@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: 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