当我在运行 Ubuntu 16.04 的 ODROID C2 上从源纯数据扩展(最新版本 - )构建时,出现错误,可能与 alsa 有关。
为了进行构建,我只需遵循 puredata.info 上列出的说明(cd pure-data/packages/linux_make,然后 make instal)
我认为我已经正确安装了所有依赖项。
以下是构建输出的最后几行:
pd-s_audio_alsamm.o: In function `alsamm_stop':
/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:998: 对 snd_pcm_drop' 未定义引用snd_pcm_drop' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1012: undefined reference to
pd-s_audio_alsamm.o: 在函数alsamm_close_audio': /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:395: undefined reference to
snd_pcm_close' 中 /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:407: 对snd_pcm_close' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:390: undefined reference to
snd_pcm_unlink' 未定义引用 /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:395: 对snd_pcm_close' pd-s_audio_alsamm.o: In function
alsamm_stop' 未定义引用: /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:998: 未定义引用到snd_pcm_drop' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1012: undefined reference to
snd_pcm_drop' pd-s_audio_alsamm.o:在函数alsamm_send_dacs': /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1111: undefined reference to
snd_pcm_avail_update' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1133:对snd_pcm_state' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1216: undefined reference to
snd_pcm_mmap_commit' 未定义引用 /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1245:对snd_pcm_avail_update' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1256: undefined reference to
snd_pcm_state' 未定义引用 /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1321:对snd_pcm_mmap_commit' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1128: undefined reference to
snd_pcm_avail_update'未定义引用/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1133: 对snd_pcm_state' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1148: undefined reference to
snd_pcm_avail_update' 未定义引用 /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1272: 对snd_pcm_avail_update' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1253: undefined reference to
snd_pcm_avail_update' 未定义引用 pd-s_audio_alsamm.o:在函数alsamm_showstat': /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1359: undefined reference to
snd_pcm_status_sizeof' 中 /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1359: 对snd_pcm_status_sizeof' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1360: undefined reference to
snd_pcm_status'未定义引用/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsamm.c:1364:对snd_pcm_status_dump' pd-s_midi_alsa.o: In function
sys_alsa_do_open_midi' 未定义引用:/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:69:对snd_seq_open' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:83: undefined reference to
snd_seq_create_simple_port' 未定义引用/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:67:对snd_seq_open' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:94: undefined reference to
snd_seq_create_simple_port' 未定义引用/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:71:对snd_seq_open' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:101: undefined reference to
snd_seq_client_info_malloc'未定义引用/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:102:对snd_seq_get_client_info' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:103: undefined reference to
snd_seq_client_info_set_name' 未定义引用 /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:104:对snd_seq_client_info_get_client' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:105: undefined reference to
snd_seq_set_client_info' 未定义引用 /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:106:对snd_seq_client_info_free' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:109: undefined reference to
snd_midi_event_new' 未定义引用 /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:137:对snd_seq_port_subscribe_sizeof' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:137: undefined reference to
snd_seq_port_subscribe_sizeof'未定义引用/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:139: 未定义对snd_seq_client_info_sizeof' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:139: undefined reference to
snd_seq_client_info_sizeof' 的引用 /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:140: 未定义对snd_seq_port_info_sizeof' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:140: undefined reference to
snd_seq_port_info_sizeof' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:141: 对snd_seq_client_info_set_client' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:145: undefined reference to
snd_seq_client_info_get_client' 未定义引用 /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:142: 对snd_seq_query_next_client' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:149: undefined reference to
snd_seq_port_info_set_client' 未定义引用 /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:150: 对snd_seq_port_info_set_port' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:151: undefined reference to
snd_seq_query_next_port'未定义引用/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:154: 对snd_seq_port_info_get_port' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:157: undefined reference to
snd_seq_port_subscribe_set_sender' 未定义引用 /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:158: 对snd_seq_port_subscribe_set_dest' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:159: undefined reference to
snd_seq_subscribe_port' 未定义引用 /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:163: 对snd_seq_port_subscribe_set_sender' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:164: undefined reference to
snd_seq_port_subscribe_set_dest' 未定义引用 /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:165: 对snd_seq_subscribe_port' pd-s_midi_alsa.o: In function
sys_alsa_putmidimess':/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:224:未定义对snd_seq_event_output_direct' pd-s_midi_alsa.o: In function
sys_alsa_putmidibyte'的引用:/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:242:未定义对snd_seq_event_output_direct' pd-s_midi_alsa.o: In function
sys_alsa_poll_midi'的引用:/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:257:未定义对snd_midi_event_init' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:260: undefined reference to
snd_seq_event_input_pending'的引用/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:265:未定义对snd_midi_event_decode' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:262: undefined reference to
snd_seq_event_input' pd-s_midi_alsa.o: 在函数sys_alsa_close_midi': /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:278: undefined reference to
snd_seq_close' /home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:281: 对 `snd_midi_event_free' 未定义引用 collect2: 错误:ld 返回 1 退出状态 make[5]:* [pd] 错误 1 make[4]:[全递归] 错误 1 make[3]:[全递归] 错误 1 make[2]:[全部] 错误 2 make[1]:[pd] 错误 2 制作:*[安装] 错误 2
有谁设法在 ODROID C2 上安装了 pd-extended 并能建议一种解决这个问题的方法吗?
提前致谢!
答案1
我发现 pd-extended 不再受支持,建议安装 pd-vanilla 并使用 Deken 安装外部程序