Skip to main content

4 - Toutes les autres applications, les émulateurs...


JAAA JAPA

Articles: 4
bonjours a vous maitre du pingouin
j'ai un petit probleme pour installer sur une distribution ubuntustudio
un logiciel d'analyse audio
JAAA pour l'analyse tres pointue du spectre audio
JAPA pour une analyse generaliste d'un message audio
ces logiciels on besoin de plusieurs dependences j'ai reussi a en installer deux(clthreads-2.2.1 et clxclient-3.3.2)
il me faut installer clalsadrv et c'est la que je me fais reconduire

root@vaio:/home/phoque/analyse/clalsadrv# make
g++ -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 -c -o clalsadrv.o clalsadrv.cc
Dans le fichier inclus à partir de clalsadrv.cc:21:
clalsadrv.h:28:28: erreur: alsa/asoundlib.h : Aucun fichier ou répertoire de ce type
clalsadrv.h:38: erreur: ‘snd_pcm_uframes_t’ has not been declared
clalsadrv.h:52: erreur: ‘snd_pcm_sframes_t’ does not name a type
clalsadrv.h:54: erreur: ‘snd_pcm_uframes_t’ has not been declared
clalsadrv.h:56: erreur: ‘snd_pcm_uframes_t’ has not been declared
clalsadrv.h:58: erreur: ‘snd_pcm_uframes_t’ has not been declared
clalsadrv.h:63: erreur: ‘snd_pcm_uframes_t’ has not been declared
clalsadrv.h:68: erreur: ‘snd_pcm_uframes_t’ has not been declared
clalsadrv.h:73: erreur: ‘snd_pcm_uframes_t’ has not been declared
clalsadrv.h:75: erreur: ‘snd_pcm_uframes_t’ has not been declared
clalsadrv.h:80: erreur: ‘snd_pcm_uframes_t’ has not been declared
clalsadrv.h:88: erreur: ISO C++ forbids declaration of ‘snd_pcm_t’ with no type
clalsadrv.h:88: erreur: expected ‘;’ before ‘*’ token
clalsadrv.h:89: erreur: expected `;' before ‘snd_pcm_t’
clalsadrv.h:89: erreur: ISO C++ forbids declaration of ‘snd_pcm_t’ with no type
clalsadrv.h:89: erreur: expected ‘;’ before ‘*’ token
clalsadrv.h:92: erreur: expected `;' before ‘private’
clalsadrv.h:100: erreur: ‘snd_pcm_t’ has not been declared
clalsadrv.h:100: erreur: ‘snd_pcm_hw_params_t’ has not been declared
clalsadrv.h:101: erreur: ‘snd_pcm_t’ has not been declared
clalsadrv.h:101: erreur: ‘snd_pcm_sw_params_t’ has not been declared
clalsadrv.h:105: erreur: ‘snd_pcm_uframes_t’ does not name a type
clalsadrv.h:107: erreur: ‘snd_pcm_format_t’ does not name a type
clalsadrv.h:108: erreur: ‘snd_pcm_format_t’ does not name a type
clalsadrv.h:109: erreur: ‘snd_pcm_access_t’ does not name a type
clalsadrv.h:110: erreur: ‘snd_pcm_access_t’ does not name a type
clalsadrv.h:111: erreur: ISO C++ forbids declaration of ‘snd_pcm_t’ with no type
clalsadrv.h:111: erreur: expected ‘;’ before ‘*’ token
clalsadrv.h:112: erreur: ISO C++ forbids declaration of ‘snd_pcm_t’ with no type
clalsadrv.h:112: erreur: expected ‘;’ before ‘*’ token
clalsadrv.h:113: erreur: ISO C++ forbids declaration of ‘snd_ctl_t’ with no type
clalsadrv.h:113: erreur: expected ‘;’ before ‘*’ token
clalsadrv.h:114: erreur: ISO C++ forbids declaration of ‘snd_pcm_hw_params_t’ with no type
clalsadrv.h:114: erreur: expected ‘;’ before ‘*’ token
clalsadrv.h:115: erreur: ISO C++ forbids declaration of ‘snd_pcm_sw_params_t’ with no type
clalsadrv.h:115: erreur: expected ‘;’ before ‘*’ token
clalsadrv.h:116: erreur: ISO C++ forbids declaration of ‘snd_pcm_hw_params_t’ with no type
clalsadrv.h:116: erreur: expected ‘;’ before ‘*’ token
clalsadrv.h:117: erreur: ISO C++ forbids declaration of ‘snd_pcm_sw_params_t’ with no type
clalsadrv.h:117: erreur: expected ‘;’ before ‘*’ token
clalsadrv.h:123: erreur: field ‘_pfd’ has incomplete type
clalsadrv.h:124: erreur: ‘snd_pcm_uframes_t’ does not name a type
clalsadrv.h:125: erreur: ‘snd_pcm_uframes_t’ does not name a type
clalsadrv.h: In member function ‘int Alsa_driver::play_done(int)’:
clalsadrv.h:70: erreur: ‘_play_handle’ was not declared in this scope
clalsadrv.h:70: erreur: ‘_play_offs’ was not declared in this scope
clalsadrv.h:70: erreur: ‘snd_pcm_mmap_commit’ was not declared in this scope
clalsadrv.h: In member function ‘int Alsa_driver::capt_done(int)’:
clalsadrv.h:82: erreur: ‘_capt_handle’ was not declared in this scope
clalsadrv.h:82: erreur: ‘_capt_offs’ was not declared in this scope
clalsadrv.h:82: erreur: ‘snd_pcm_mmap_commit’ was not declared in this scope
clalsadrv.cc: In destructor ‘Alsa_driver::~Alsa_driver()’:
clalsadrv.cc:29: erreur: ‘_capt_swpar’ was not declared in this scope
clalsadrv.cc:29: erreur: ‘snd_pcm_sw_params_free’ was not declared in this scope
clalsadrv.cc:30: erreur: ‘_capt_hwpar’ was not declared in this scope
clalsadrv.cc:30: erreur: ‘snd_pcm_hw_params_free’ was not declared in this scope
clalsadrv.cc:31: erreur: ‘_play_swpar’ was not declared in this scope
clalsadrv.cc:32: erreur: ‘_play_hwpar’ was not declared in this scope
clalsadrv.cc:34: erreur: ‘_play_handle’ was not declared in this scope
clalsadrv.cc:34: erreur: ‘snd_pcm_close’ was not declared in this scope
clalsadrv.cc:35: erreur: ‘_capt_handle’ was not declared in this scope
clalsadrv.cc:35: erreur: ‘snd_pcm_close’ was not declared in this scope
clalsadrv.cc:36: erreur: ‘_ctrl_handle’ was not declared in this scope
clalsadrv.cc:36: erreur: ‘snd_ctl_close’ was not declared in this scope
clalsadrv.cc: At global scope:
clalsadrv.cc:42: erreur: ‘snd_pcm_uframes_t’ has not been declared
clalsadrv.cc: In constructor ‘Alsa_driver::Alsa_driver(const char*, unsigned int, int, unsigned int, bool, bool, bool)’:
clalsadrv.cc:48: erreur: class ‘Alsa_driver’ does not have any field named ‘_frsize’
clalsadrv.cc:50: erreur: class ‘Alsa_driver’ does not have any field named ‘_play_handle’
clalsadrv.cc:51: erreur: class ‘Alsa_driver’ does not have any field named ‘_capt_handle’
clalsadrv.cc:52: erreur: class ‘Alsa_driver’ does not have any field named ‘_ctrl_handle’
clalsadrv.cc:53: erreur: class ‘Alsa_driver’ does not have any field named ‘_play_hwpar’
clalsadrv.cc:54: erreur: class ‘Alsa_driver’ does not have any field named ‘_play_swpar’
clalsadrv.cc:55: erreur: class ‘Alsa_driver’ does not have any field named ‘_capt_hwpar’
clalsadrv.cc:56: erreur: class ‘Alsa_driver’ does not have any field named ‘_capt_swpar’
clalsadrv.cc:65: erreur: ‘snd_ctl_card_info_t’ was not declared in this scope
clalsadrv.cc:65: erreur: ‘card’ was not declared in this scope
clalsadrv.cc:69: erreur: ‘_play_handle’ was not declared in this scope
clalsadrv.cc:69: erreur: ‘SND_PCM_STREAM_PLAYBACK’ was not declared in this scope
clalsadrv.cc:69: erreur: ‘snd_pcm_open’ was not declared in this scope
clalsadrv.cc:72: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:72: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:78: erreur: ‘_capt_handle’ was not declared in this scope
clalsadrv.cc:78: erreur: ‘SND_PCM_STREAM_CAPTURE’ was not declared in this scope
clalsadrv.cc:78: erreur: ‘snd_pcm_open’ was not declared in this scope
clalsadrv.cc:81: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:81: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:85: erreur: ‘_play_handle’ was not declared in this scope
clalsadrv.cc:85: erreur: ‘_capt_handle’ was not declared in this scope
clalsadrv.cc:89: erreur: ‘snd_ctl_card_info_alloca’ was not declared in this scope
clalsadrv.cc:91: erreur: ‘_ctrl_handle’ was not declared in this scope
clalsadrv.cc:91: erreur: ‘snd_ctl_open’ was not declared in this scope
clalsadrv.cc:93: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:93: erreur: ‘snd_strerror’ was not declared in this scope
clalsadrv.cc:93: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:97: erreur: ‘_ctrl_handle’ was not declared in this scope
clalsadrv.cc:97: erreur: ‘snd_ctl_card_info’ was not declared in this scope
clalsadrv.cc:99: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:99: erreur: ‘snd_strerror’ was not declared in this scope
clalsadrv.cc:99: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:106: erreur: ‘_play_handle’ was not declared in this scope
clalsadrv.cc:108: erreur: ‘_play_hwpar’ was not declared in this scope
clalsadrv.cc:108: erreur: ‘snd_pcm_hw_params_malloc’ was not declared in this scope
clalsadrv.cc:110: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:110: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:114: erreur: ‘_play_swpar’ was not declared in this scope
clalsadrv.cc:114: erreur: ‘snd_pcm_sw_params_malloc’ was not declared in this scope
clalsadrv.cc:116: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:116: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:120: erreur: ‘_play_hwpar’ was not declared in this scope
clalsadrv.cc:124: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:124: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:128: erreur: ‘_play_swpar’ was not declared in this scope
clalsadrv.cc:131: erreur: ‘_capt_handle’ was not declared in this scope
clalsadrv.cc:133: erreur: ‘_capt_hwpar’ was not declared in this scope
clalsadrv.cc:133: erreur: ‘snd_pcm_hw_params_malloc’ was not declared in this scope
clalsadrv.cc:135: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:135: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:139: erreur: ‘_capt_swpar’ was not declared in this scope
clalsadrv.cc:139: erreur: ‘snd_pcm_sw_params_malloc’ was not declared in this scope
clalsadrv.cc:141: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:141: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:145: erreur: ‘_capt_hwpar’ was not declared in this scope
clalsadrv.cc:149: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:149: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:153: erreur: ‘_capt_swpar’ was not declared in this scope
clalsadrv.cc:156: erreur: ‘_play_handle’ was not declared in this scope
clalsadrv.cc:158: erreur: ‘_play_hwpar’ was not declared in this scope
clalsadrv.cc:158: erreur: ‘snd_pcm_hw_params_get_rate’ was not declared in this scope
clalsadrv.cc:160: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:160: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:164: erreur: ‘_play_hwpar’ was not declared in this scope
clalsadrv.cc:164: erreur: ‘snd_pcm_hw_params_get_period_size’ was not declared in this scope
clalsadrv.cc:164: erreur: ‘_frsize’ was not declared in this scope
clalsadrv.cc:166: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:166: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:170: erreur: ‘_play_hwpar’ was not declared in this scope
clalsadrv.cc:170: erreur: ‘snd_pcm_hw_params_get_periods’ was not declared in this scope
clalsadrv.cc:172: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:172: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:176: erreur: ‘_play_hwpar’ was not declared in this scope
clalsadrv.cc:176: erreur: ‘_play_format’ was not declared in this scope
clalsadrv.cc:176: erreur: ‘snd_pcm_hw_params_get_format’ was not declared in this scope
clalsadrv.cc:177: erreur: ‘_play_access’ was not declared in this scope
clalsadrv.cc:177: erreur: ‘snd_pcm_hw_params_get_access’ was not declared in this scope
clalsadrv.cc:181: erreur: ‘SND_PCM_FORMAT_S32_LE’ was not declared in this scope
clalsadrv.cc:186: erreur: ‘SND_PCM_FORMAT_S24_3LE’ was not declared in this scope
clalsadrv.cc:191: erreur: ‘SND_PCM_FORMAT_S16_LE’ was not declared in this scope
clalsadrv.cc:197: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:197: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:201: erreur: ‘snd_pcm_poll_descriptors_count’ was not declared in this scope
clalsadrv.cc:204: erreur: ‘_capt_handle’ was not declared in this scope
clalsadrv.cc:206: erreur: ‘_capt_hwpar’ was not declared in this scope
clalsadrv.cc:206: erreur: ‘snd_pcm_hw_params_get_rate’ was not declared in this scope
clalsadrv.cc:208: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:208: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:212: erreur: ‘_capt_hwpar’ was not declared in this scope
clalsadrv.cc:212: erreur: ‘snd_pcm_hw_params_get_period_size’ was not declared in this scope
clalsadrv.cc:212: erreur: ‘_frsize’ was not declared in this scope
clalsadrv.cc:214: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:214: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:218: erreur: ‘_capt_hwpar’ was not declared in this scope
clalsadrv.cc:218: erreur: ‘snd_pcm_hw_params_get_periods’ was not declared in this scope
clalsadrv.cc:220: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:220: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:224: erreur: ‘_play_handle’ was not declared in this scope
clalsadrv.cc:224: erreur: ‘snd_pcm_link’ was not declared in this scope
clalsadrv.cc:226: erreur: ‘_capt_hwpar’ was not declared in this scope
clalsadrv.cc:226: erreur: ‘_capt_format’ was not declared in this scope
clalsadrv.cc:226: erreur: ‘snd_pcm_hw_params_get_format’ was not declared in this scope
clalsadrv.cc:227: erreur: ‘_capt_access’ was not declared in this scope
clalsadrv.cc:227: erreur: ‘snd_pcm_hw_params_get_access’ was not declared in this scope
clalsadrv.cc:231: erreur: ‘SND_PCM_FORMAT_S32_LE’ was not declared in this scope
clalsadrv.cc:235: erreur: ‘SND_PCM_FORMAT_S24_3LE’ was not declared in this scope
clalsadrv.cc:239: erreur: ‘SND_PCM_FORMAT_S16_LE’ was not declared in this scope
clalsadrv.cc:244: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:244: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:248: erreur: ‘snd_pcm_poll_descriptors_count’ was not declared in this scope
clalsadrv.cc:253: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:253: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc: In member function ‘int Alsa_driver::pcm_start()’:
clalsadrv.cc:266: erreur: ‘_play_handle’ was not declared in this scope
clalsadrv.cc:268: erreur: ‘snd_pcm_avail_update’ was not declared in this scope
clalsadrv.cc:269: erreur: ‘_frsize’ was not declared in this scope
clalsadrv.cc:271: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:271: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:277: erreur: ‘_frsize’ was not declared in this scope
clalsadrv.cc:282: erreur: ‘snd_pcm_start’ was not declared in this scope
clalsadrv.cc:284: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:284: erreur: ‘snd_strerror’ was not declared in this scope
clalsadrv.cc:284: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:289: erreur: ‘_capt_handle’ was not declared in this scope
clalsadrv.cc:289: erreur: ‘snd_pcm_start’ was not declared in this scope
clalsadrv.cc:291: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:291: erreur: ‘snd_strerror’ was not declared in this scope
clalsadrv.cc:291: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc: In member function ‘int Alsa_driver::pcm_stop()’:
clalsadrv.cc:303: erreur: ‘_play_handle’ was not declared in this scope
clalsadrv.cc:303: erreur: ‘snd_pcm_drop’ was not declared in this scope
clalsadrv.cc:305: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:305: erreur: ‘snd_strerror’ was not declared in this scope
clalsadrv.cc:305: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:309: erreur: ‘_capt_handle’ was not declared in this scope
clalsadrv.cc:309: erreur: ‘snd_pcm_drop’ was not declared in this scope
clalsadrv.cc:311: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:311: erreur: ‘snd_strerror’ was not declared in this scope
clalsadrv.cc:311: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc: At global scope:
clalsadrv.cc:319: erreur: ‘snd_pcm_sframes_t’ does not name a type
clalsadrv.cc:414: erreur: ‘int Alsa_driver::pcm_idle’ is not a static member of ‘class Alsa_driver’
clalsadrv.cc:414: erreur: ‘snd_pcm_uframes_t’ was not declared in this scope
clalsadrv.cc:415: erreur: expected ‘,’ or ‘;’ before ‘{’ token
clalsadrv.cc:446: erreur: ‘int Alsa_driver::play_init’ is not a static member of ‘class Alsa_driver’
clalsadrv.cc:446: erreur: ‘snd_pcm_uframes_t’ was not declared in this scope
clalsadrv.cc:447: erreur: expected ‘,’ or ‘;’ before ‘{’ token
clalsadrv.cc:468: erreur: ‘int Alsa_driver::capt_init’ is not a static member of ‘class Alsa_driver’
clalsadrv.cc:468: erreur: ‘snd_pcm_uframes_t’ was not declared in this scope
clalsadrv.cc:469: erreur: expected ‘,’ or ‘;’ before ‘{’ token
clalsadrv.cc: In member function ‘void Alsa_driver::printinfo()’:
clalsadrv.cc:492: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:492: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:493: erreur: ‘_play_handle’ was not declared in this scope
clalsadrv.cc:497: erreur: ‘_frsize’ was not declared in this scope
clalsadrv.cc:499: erreur: ‘_play_format’ was not declared in this scope
clalsadrv.cc:499: erreur: ‘snd_pcm_format_name’ was not declared in this scope
clalsadrv.cc:503: erreur: ‘_capt_handle’ was not declared in this scope
clalsadrv.cc:507: erreur: ‘_frsize’ was not declared in this scope
clalsadrv.cc:509: erreur: ‘_capt_format’ was not declared in this scope
clalsadrv.cc:509: erreur: ‘snd_pcm_format_name’ was not declared in this scope
clalsadrv.cc:510: erreur: ‘_play_handle’ was not declared in this scope
clalsadrv.cc: At global scope:
clalsadrv.cc:519: erreur: ‘int Alsa_driver::set_hwpar’ is not a static member of ‘class Alsa_driver’
clalsadrv.cc:519: erreur: ‘snd_pcm_t’ was not declared in this scope
clalsadrv.cc:519: erreur: ‘handle’ was not declared in this scope
clalsadrv.cc:519: erreur: ‘snd_pcm_hw_params_t’ was not declared in this scope
clalsadrv.cc:519: erreur: ‘hwpar’ was not declared in this scope
clalsadrv.cc:519: erreur: expected primary-expression before ‘const’
clalsadrv.cc:519: erreur: expected primary-expression before ‘unsigned’
clalsadrv.cc:519: erreur: initializer liste d'expressions traitée comme une expression composée
clalsadrv.cc:520: erreur: expected ‘,’ or ‘;’ before ‘{’ token
clalsadrv.cc:606: erreur: ‘int Alsa_driver::set_swpar’ is not a static member of ‘class Alsa_driver’
clalsadrv.cc:606: erreur: ‘snd_pcm_t’ was not declared in this scope
clalsadrv.cc:606: erreur: ‘handle’ was not declared in this scope
clalsadrv.cc:606: erreur: ‘snd_pcm_sw_params_t’ was not declared in this scope
clalsadrv.cc:606: erreur: ‘swpar’ was not declared in this scope
clalsadrv.cc:606: erreur: expected primary-expression before ‘const’
clalsadrv.cc:606: erreur: initializer liste d'expressions traitée comme une expression composée
clalsadrv.cc:607: erreur: expected ‘,’ or ‘;’ before ‘{’ token
clalsadrv.cc: In member function ‘int Alsa_driver::recover()’:
clalsadrv.cc:637: erreur: ‘snd_pcm_status_t’ was not declared in this scope
clalsadrv.cc:639: erreur: ISO C++ forbids taking the address of an unqualified or parenthesized non-static member function to form a pointer to member function. Say ‘&Alsa_driver::stat’
clalsadrv.cc:639: erreur: ‘snd_pcm_status_alloca’ was not declared in this scope
clalsadrv.cc:641: erreur: ‘_play_handle’ was not declared in this scope
clalsadrv.cc:641: erreur: ‘_capt_handle’ was not declared in this scope
clalsadrv.cc:641: erreur: ‘snd_pcm_status’ was not declared in this scope
clalsadrv.cc:643: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:643: erreur: ‘snd_strerror’ was not declared in this scope
clalsadrv.cc:643: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:645: erreur: ‘snd_pcm_status_get_state’ was not declared in this scope
clalsadrv.cc:645: erreur: ‘SND_PCM_STATE_XRUN’ was not declared in this scope
clalsadrv.cc:650: erreur: ‘snd_pcm_status_get_trigger_tstamp’ was not declared in this scope
clalsadrv.cc:651: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:652: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:657: erreur: ‘_play_handle’ was not declared in this scope
clalsadrv.cc:657: erreur: ‘snd_pcm_prepare’ was not declared in this scope
clalsadrv.cc:659: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:659: erreur: ‘snd_strerror’ was not declared in this scope
clalsadrv.cc:659: erreur: ‘fprintf’ was not declared in this scope
clalsadrv.cc:663: erreur: ‘_capt_handle’ was not declared in this scope
clalsadrv.cc:663: erreur: ‘snd_pcm_prepare’ was not declared in this scope
clalsadrv.cc:665: erreur: ‘stderr’ was not declared in this scope
clalsadrv.cc:665: erreur: ‘snd_strerror’ was not declared in this scope
clalsadrv.cc:665: erreur: ‘fprintf’ was not declared in this scope
make: *** clalsadrv.o Erreur 1

et voila je suis perdu je ne suis que peu de chose que dois je faire
merci tout conseil sera le bienvenu
Articles: 960 France
clalsadrv.h:28:28: erreur: alsa/asoundlib.h : Aucun fichier ou répertoire de ce type


Il faut installer les paquets *-dev d'ALSA. Il doit y'en avoir un qui s'appèle libasound2-dev, cherche bien.
Articles: 4

apres installation de ce paquet j'ai pu installer clalsadrv
mais voila ce qui se passe maintenant!!
merci




root@vaio:/home/phoque/analyse/jaaa# make install
g++ -O3 -Wall -DVERSION=\"0.4.2\" -DPREFIX=\"/usr\" -I/usr/include/freetype2 -c -o jaaa.o jaaa.cc
Dans le fichier inclus à partir de jaaa.cc:26:
spectwin.h:26:19: erreur: fftw3.h : Aucun fichier ou répertoire de ce type
Dans le fichier inclus à partir de jaaa.cc:27:
audio.h:25:23: erreur: jack/jack.h : Aucun fichier ou répertoire de ce type
spectwin.h:153: erreur: ‘fftwf_complex’ has not been declared
spectwin.h:154: erreur: ‘fftwf_complex’ has not been declared
spectwin.h:185: erreur: ISO C++ forbids declaration of ‘fftwf_complex’ with no type
spectwin.h:185: erreur: expected ‘;’ before ‘*’ token
spectwin.h:186: erreur: ‘fftwf_plan’ does not name a type
audio.h:50: erreur: ‘jack_nframes_t’ has not been declared
audio.h:59: erreur: ISO C++ forbids declaration of ‘jack_client_t’ with no type
audio.h:59: erreur: expected ‘;’ before ‘*’ token
audio.h:60: erreur: ISO C++ forbids declaration of ‘jack_port_t’ with no type
audio.h:60: erreur: expected ‘;’ before ‘*’ token
audio.h:61: erreur: ISO C++ forbids declaration of ‘jack_port_t’ with no type
audio.h:61: erreur: expected ‘;’ before ‘*’ token
audio.h:84: erreur: ‘jack_nframes_t’ has not been declared
make: *** jaaa.o Erreur 1
root@vaio:/home/phoque/analyse/jaaa# cd ..
root@vaio:/home/phoque/analyse# cd japa
root@vaio:/home/phoque/analyse/japa# make
g++ -O3 -Wall -MMD -MP -DVERSION=\"0.2.1\" -DPREFIX=\"/usr\" -I/usr/include/freetype2 -c -o analyser.o analyser.cc
Dans le fichier inclus à partir de analyser.cc:24:
analyser.h:24:19: attention : fftw3.h : Aucun fichier ou répertoire de ce type
analyser.h:60: erreur: ‘fftwf_complex’ has not been declared
analyser.h:61: erreur: ‘fftwf_complex’ has not been declared
analyser.h:67: erreur: ‘fftwf_plan’ does not name a type
analyser.h:70: erreur: ISO C++ forbids declaration of ‘fftwf_complex’ with no type
analyser.h:70: erreur: expected ‘;’ before ‘*’ token
analyser.cc: In constructor ‘Analyser::Analyser(int, int, float)’:
analyser.cc:45: erreur: class ‘Analyser’ does not have any field named ‘_fftplan’
analyser.cc:51: erreur: ‘fftwf_malloc’ was not declared in this scope
analyser.cc:52: erreur: ‘_trdata’ was not declared in this scope
analyser.cc:52: erreur: ‘fftwf_complex’ was not declared in this scope
analyser.cc:52: erreur: expected primary-expression before ‘)’ token
analyser.cc:52: erreur: expected `;' before ‘fftwf_malloc’
analyser.cc: In destructor ‘Analyser::~Analyser()’:
analyser.cc:60: erreur: ‘_fftplan’ was not declared in this scope
analyser.cc:60: erreur: ‘fftwf_destroy_plan’ was not declared in this scope
analyser.cc:63: erreur: ‘_trdata’ was not declared in this scope
analyser.cc:63: erreur: ‘fftwf_free’ was not declared in this scope
analyser.cc: In member function ‘void Analyser::set_fftlen(int)’:
analyser.cc:74: erreur: ‘_fftplan’ was not declared in this scope
analyser.cc:74: erreur: ‘fftwf_destroy_plan’ was not declared in this scope
analyser.cc:76: erreur: ‘_fftplan’ was not declared in this scope
analyser.cc:76: erreur: ‘_trdata’ was not declared in this scope
analyser.cc:76: erreur: ‘FFTW_ESTIMATE’ was not declared in this scope
analyser.cc:76: erreur: ‘fftwf_plan_dft_r2c_1d’ was not declared in this scope
analyser.cc: At global scope:
analyser.cc:109: erreur: ‘float Analyser::conv0’ is not a static member of ‘class Analyser’
analyser.cc:109: erreur: ‘fftwf_complex’ was not declared in this scope
analyser.cc:109: erreur: ‘v’ was not declared in this scope
analyser.cc:110: erreur: expected ‘,’ or ‘;’ before ‘{’ token
analyser.cc:119: erreur: ‘float Analyser::conv1’ is not a static member of ‘class Analyser’
analyser.cc:119: erreur: ‘fftwf_complex’ was not declared in this scope
analyser.cc:119: erreur: ‘v’ was not declared in this scope
analyser.cc:120: erreur: expected ‘,’ or ‘;’ before ‘{’ token
analyser.cc: In member function ‘void Analyser::process(int, bool)’:
analyser.cc:185: erreur: ‘_fftplan’ was not declared in this scope
analyser.cc:185: erreur: ‘fftwf_execute’ was not declared in this scope
analyser.cc:188: erreur: ‘_trdata’ was not declared in this scope
analyser.cc:201: erreur: ‘_trdata’ was not declared in this scope
analyser.cc:212: erreur: ‘_trdata’ was not declared in this scope
make: *** analyser.o Erreur 1
root@vaio:/home/phoque/analyse/japa#

Articles: 371
Dans le fichier inclus à partir de jaaa.cc:26:
spectwin.h:26:19: erreur: fftw3.h : Aucun fichier ou répertoire de ce type
Dans le fichier inclus à partir de jaaa.cc:27:
audio.h:25:23: erreur: jack/jack.h : Aucun fichier ou répertoire de ce type


Pareil que pour la première erreur sauf que les paquets manquants ne sont pas les même. Cette fois il manque fftw3-dev et jack-dev.
Articles: 4
super c'est ce qu'il manquait ça marche merci
mais comment sait on que ce qu'il manque est un"qqchose-dev"
merci encore
Articles: 371
D'abord on le sait parce que c'est déja arrivé avant, maintenant tu le sauras!

Puis en examinant les messages d'erreur:

clalsadrv.h:28:28: erreur: alsa/asoundlib.h : Aucun fichier ou répertoire de ce type
spectwin.h:26:19: erreur: fftw3.h : Aucun fichier ou répertoire de ce type
audio.h:25:23: erreur: jack/jack.h : Aucun fichier ou répertoire de ce type

Les 3 erreurs sont causées par des fichiers manquants dont le nom se termine par .h or ces fichiers sont installés par les paquets -dev.
Le nom du fichier donne une indication sur le nom du "qqchose-dev" manquant. Parfois il faut interpreter voir deviner le nom exact. Par exemple alsa/asoundlib.h est installé par le paquet libasound2-dev. Avec un peu d'habitude google s'avère d'une grande aide à la divination!
Synaptic aussi, une recherche avec alsa devrait suffire a te mettre sur la bonne voie.

Articles: 4
merci encore d'avoir eclairé ma lanterne
c'est toujours un grand plaisir d'apprendre
merci