Kezdőlap › Fórumok › Programozás › alsa programozás
- This topic has 16 hozzászólás, 3 résztvevő, and was last updated 17 years, 2 months telt el by
uzsolt.
-
SzerzőBejegyzés
-
2008-05-19-15:25 #21616432008-05-19-15:25 #21616442008-05-19-15:28 #2161645
Na, bazz. Hogy ezt miért nem találtam meg…
Köszi (még előre, majd ha boldogulok, akkor mégegyszer 😉 ).2008-05-19-15:28 #2161646Na, bazz. Hogy ezt miért nem találtam meg…
Köszi (még előre, majd ha boldogulok, akkor mégegyszer 😉 ).2008-05-19-15:44 #2161647Code:#includeint main {
return 0;
}Code:$ gcc -o alsa-example alsa-example.c
In file included from alsa-example.c:1:
/usr/local/include/alsa/mixer.h:86: error: expected declaration specifiers or ‘…’ before ‘snd_hctl_elem_t’
/usr/local/include/alsa/mixer.h:102: error: expected declaration specifiers or ‘…’ before ‘snd_hctl_t’
/usr/local/include/alsa/mixer.h:104: error: expected declaration specifiers or ‘…’ before ‘snd_hctl_t’
/usr/local/include/alsa/mixer.h:105: error: expected declaration specifiers or ‘…’ before ‘snd_hctl_t’
/usr/local/include/alsa/mixer.h:139: error: expected declaration specifiers or ‘…’ before ‘snd_hctl_elem_t’
/usr/local/include/alsa/mixer.h:140: error: expected declaration specifiers or ‘…’ before ‘snd_hctl_elem_t’
/usr/local/include/alsa/mixer.h:144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘snd_mixer_class_sizeof’
/usr/local/include/alsa/mixer.h:215: error: expected specifier-qualifier-list before ‘snd_pcm_t’
/usr/local/include/alsa/mixer.h:288: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/local/include/alsa/mixer.h:292: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘snd_mixer_selem_id_sizeof’
alsa-example.c:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{‘ tokenValami makrót még definiálnom kellett volna, vagy mi a gond?
2008-05-19-15:44 #2161648Code:#includeint main {
return 0;
}Code:$ gcc -o alsa-example alsa-example.c
In file included from alsa-example.c:1:
/usr/local/include/alsa/mixer.h:86: error: expected declaration specifiers or ‘…’ before ‘snd_hctl_elem_t’
/usr/local/include/alsa/mixer.h:102: error: expected declaration specifiers or ‘…’ before ‘snd_hctl_t’
/usr/local/include/alsa/mixer.h:104: error: expected declaration specifiers or ‘…’ before ‘snd_hctl_t’
/usr/local/include/alsa/mixer.h:105: error: expected declaration specifiers or ‘…’ before ‘snd_hctl_t’
/usr/local/include/alsa/mixer.h:139: error: expected declaration specifiers or ‘…’ before ‘snd_hctl_elem_t’
/usr/local/include/alsa/mixer.h:140: error: expected declaration specifiers or ‘…’ before ‘snd_hctl_elem_t’
/usr/local/include/alsa/mixer.h:144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘snd_mixer_class_sizeof’
/usr/local/include/alsa/mixer.h:215: error: expected specifier-qualifier-list before ‘snd_pcm_t’
/usr/local/include/alsa/mixer.h:288: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/local/include/alsa/mixer.h:292: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘snd_mixer_selem_id_sizeof’
alsa-example.c:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{‘ tokenValami makrót még definiálnom kellett volna, vagy mi a gond?
2008-05-19-15:49 #2161649uzsolt wrote:viszonylag(?)kezdő vagyok c-ben🙂
2008-05-19-15:49 #2161650uzsolt wrote:viszonylag(?)kezdő vagyok c-ben🙂
2008-05-19-15:51 #21616512008-05-19-15:51 #2161652 -
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz