tuning_fork_drafter

Build log

nerves_system_rpi4

tuning_fork_drafter 0.1.15 · fail · run tuning_fork_drafter-0.1.15-1795070237603
641 of 641 lines
1Resolving Hex dependencies...2Resolution completed in 0.031s3* Getting tuning_fork_drafter (Hex package)4* Getting nerves (Hex package)5* Getting logger_backends (Hex package)6* Getting ring_logger (Hex package)7* Getting toolshed (Hex package)8* Getting nerves_runtime (Hex package)9* Getting nerves_system_bbb (Hex package)10* Getting nerves_system_mangopi_mq_pro (Hex package)11* Getting nerves_system_qemu_aarch64 (Hex package)12* Getting nerves_system_rpi0 (Hex package)13* Getting nerves_system_rpi0_2 (Hex package)14* Getting nerves_system_rpi4 (Hex package)15* Getting nerves_system_rpi5 (Hex package)16* Getting nerves_system_trellis (Hex package)17* Getting nerves_system_x86_64 (Hex package)18* Getting nerves_system_br (Hex package)19* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)20* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)21* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)22* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)23* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)24* Getting nerves_logging (Hex package)25* Getting nerves_uevent (Hex package)26* Getting uboot_env (Hex package)27* Getting elixir_make (Hex package)28* Getting property_table (Hex package)29* Getting circular_buffer (Hex package)30* Getting interactive_cmd (Hex package)31* Getting nerves_discovery (Hex package)32* Getting tablet (Hex package)33* Getting drafter (Hex package)34* Getting french_curve (Hex package)35* Getting tuning_fork (Hex package)36* Getting tuning_fork_composer (Hex package)37* Getting tuning_fork_midi (Hex package)38* Getting phoenix_pubsub (Hex package)39==> tablet40Compiling 2 files (.ex)41Generated tablet app42==> nerves_discovery43Compiling 5 files (.ex)44Generated nerves_discovery app45==> interactive_cmd46Compiling 1 file (.ex)47Generated interactive_cmd app48==> nerves49Compiling 65 files (.ex)50Generated nerves app51==> nerves_system_br52Generated nerves_system_br app53==> circular_buffer54Compiling 1 file (.ex)55Generated circular_buffer app56==> logger_backends57Compiling 7 files (.ex)58Generated logger_backends app59==> elixir_make60Compiling 8 files (.ex)61Generated elixir_make app62==> nerves_logging63 CC kmsg_tailer.o64 LD kmsg_tailer65Compiling 5 files (.ex)66Generated nerves_logging app67==> ring_logger68Compiling 7 files (.ex)69Generated ring_logger app70==> nerves_toolchain_aarch64_nerves_linux_gnu71Compiling 1 file (.ex)72Generated nerves_toolchain_aarch64_nerves_linux_gnu app73==> nerves_system_rpi474Generated nerves_system_rpi4 app75==> phoenix_pubsub76Compiling 13 files (.ex)77Generated phoenix_pubsub app78==> tuning_fork79Compiling 77 files (.ex)80Generated tuning_fork app81==> tuning_fork_composer82Compiling 16 files (.ex)83Generated tuning_fork_composer app84==> tuning_fork_midi85mkdir -p priv86/work/nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a72 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging -I/work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging/usr/lib/erlang/erts-17.1.1/include -Ic_src -o priv/tuning_fork_midi_nif.so c_src/tuning_fork_midi_nif.c --sysroot=/work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging -shared -lpthread -lasound87In file included from c_src/tuning_fork_midi_nif.c:22:88c_src/minimidio.h:483:5: error: unknown type name 'snd_seq_t'; did you mean 'snd_sctl_t'?89  483 |     snd_seq_t* seq;90      |     ^~~~~~~~~91      |     snd_sctl_t92c_src/minimidio.h:497:5: error: unknown type name 'snd_midi_event_t'; did you mean 'snd_mixer_event_t'?93  497 |     snd_midi_event_t* midi_ev;     /* raw path: byte<->event coder (NULL otherwise) */94      |     ^~~~~~~~~~~~~~~~95      |     snd_mixer_event_t96c_src/minimidio.h: In function 'mm_context_init':97c_src/minimidio.h:1493:9: error: implicit declaration of function 'snd_seq_open'; did you mean 'snd_ctl_open'? [-Wimplicit-function-declaration]98 1493 |     if (snd_seq_open(&ctx->al.seq, "default", SND_SEQ_OPEN_DUPLEX, 0) < 0)99      |         ^~~~~~~~~~~~100      |         snd_ctl_open101c_src/minimidio.h:1493:47: error: 'SND_SEQ_OPEN_DUPLEX' undeclared (first use in this function)102 1493 |     if (snd_seq_open(&ctx->al.seq, "default", SND_SEQ_OPEN_DUPLEX, 0) < 0)103      |                                               ^~~~~~~~~~~~~~~~~~~104c_src/minimidio.h:1493:47: note: each undeclared identifier is reported only once for each function it appears in105c_src/minimidio.h:1495:5: error: implicit declaration of function 'snd_seq_set_client_name' [-Wimplicit-function-declaration]106 1495 |     snd_seq_set_client_name(ctx->al.seq, ctx->name);107      |     ^~~~~~~~~~~~~~~~~~~~~~~108c_src/minimidio.h:1496:25: error: implicit declaration of function 'snd_seq_client_id' [-Wimplicit-function-declaration]109 1496 |     ctx->al.client_id = snd_seq_client_id(ctx->al.seq);110      |                         ^~~~~~~~~~~~~~~~~111c_src/minimidio.h: In function 'mm_context_uninit':112c_src/minimidio.h:1502:5: error: implicit declaration of function 'snd_seq_close'; did you mean 'snd_ctl_close'? [-Wimplicit-function-declaration]113 1502 |     snd_seq_close(ctx->al.seq);114      |     ^~~~~~~~~~~~~115      |     snd_ctl_close116c_src/minimidio.h: In function 'mm__alsa_enum':117c_src/minimidio.h:1529:5: error: unknown type name 'snd_seq_client_info_t'; did you mean 'snd_ctl_elem_info_t'?118 1529 |     snd_seq_client_info_t* ci;119      |     ^~~~~~~~~~~~~~~~~~~~~120      |     snd_ctl_elem_info_t121c_src/minimidio.h:1530:5: error: unknown type name 'snd_seq_port_info_t'; did you mean 'snd_ctl_card_info_t'?122 1530 |     snd_seq_port_info_t*   pi;123      |     ^~~~~~~~~~~~~~~~~~~124      |     snd_ctl_card_info_t125c_src/minimidio.h:1531:5: error: implicit declaration of function 'snd_seq_client_info_alloca'; did you mean 'snd_ctl_elem_info_alloca'? [-Wimplicit-function-declaration]126 1531 |     snd_seq_client_info_alloca(&ci);127      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~128      |     snd_ctl_elem_info_alloca129c_src/minimidio.h:1532:5: error: implicit declaration of function 'snd_seq_port_info_alloca'; did you mean 'snd_ctl_card_info_alloca'? [-Wimplicit-function-declaration]130 1532 |     snd_seq_port_info_alloca(&pi);131      |     ^~~~~~~~~~~~~~~~~~~~~~~~132      |     snd_ctl_card_info_alloca133c_src/minimidio.h:1534:5: error: implicit declaration of function 'snd_seq_client_info_set_client' [-Wimplicit-function-declaration]134 1534 |     snd_seq_client_info_set_client(ci, -1);135      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~136c_src/minimidio.h:1535:12: error: implicit declaration of function 'snd_seq_query_next_client' [-Wimplicit-function-declaration]137 1535 |     while (snd_seq_query_next_client(al->seq, ci) >= 0) {138      |            ^~~~~~~~~~~~~~~~~~~~~~~~~139c_src/minimidio.h:1536:19: error: implicit declaration of function 'snd_seq_client_info_get_client'; did you mean 'snd_ctl_elem_info_get_count'? [-Wimplicit-function-declaration]140 1536 |         int cid = snd_seq_client_info_get_client(ci);141      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~142      |                   snd_ctl_elem_info_get_count143c_src/minimidio.h:1538:9: error: implicit declaration of function 'snd_seq_port_info_set_client' [-Wimplicit-function-declaration]144 1538 |         snd_seq_port_info_set_client(pi, cid);145      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~146c_src/minimidio.h:1539:9: error: implicit declaration of function 'snd_seq_port_info_set_port' [-Wimplicit-function-declaration]147 1539 |         snd_seq_port_info_set_port(pi, -1);148      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~149c_src/minimidio.h:1540:16: error: implicit declaration of function 'snd_seq_query_next_port' [-Wimplicit-function-declaration]150 1540 |         while (snd_seq_query_next_port(al->seq, pi) >= 0) {151      |                ^~~~~~~~~~~~~~~~~~~~~~~152c_src/minimidio.h:1541:32: error: implicit declaration of function 'snd_seq_port_info_get_capability' [-Wimplicit-function-declaration]153 1541 |             unsigned int cap = snd_seq_port_info_get_capability(pi);154      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~155c_src/minimidio.h:1546:25: error: implicit declaration of function 'snd_seq_port_info_get_port' [-Wimplicit-function-declaration]156 1546 |             p->port   = snd_seq_port_info_get_port(pi);157      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~158c_src/minimidio.h:1548:22: error: implicit declaration of function 'snd_seq_client_info_get_name'; did you mean 'snd_ctl_elem_info_get_name'? [-Wimplicit-function-declaration]159 1548 |                      snd_seq_client_info_get_name(ci),160      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~161      |                      snd_ctl_elem_info_get_name162c_src/minimidio.h:1549:22: error: implicit declaration of function 'snd_seq_port_info_get_name'; did you mean 'snd_ctl_card_info_get_name'? [-Wimplicit-function-declaration]163 1549 |                      snd_seq_port_info_get_name(pi), cid, p->port);164      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~165      |                      snd_ctl_card_info_get_name166c_src/minimidio.h: In function 'mm_in_count':167c_src/minimidio.h:1559:9: error: 'SND_SEQ_PORT_CAP_READ' undeclared (first use in this function)168 1559 |         SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ,169      |         ^~~~~~~~~~~~~~~~~~~~~170c_src/minimidio.h:1559:31: error: 'SND_SEQ_PORT_CAP_SUBS_READ' undeclared (first use in this function)171 1559 |         SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ,172      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~173c_src/minimidio.h: In function 'mm_out_count':174c_src/minimidio.h:1567:9: error: 'SND_SEQ_PORT_CAP_WRITE' undeclared (first use in this function)175 1567 |         SND_SEQ_PORT_CAP_WRITE|SND_SEQ_PORT_CAP_SUBS_WRITE, 0);176      |         ^~~~~~~~~~~~~~~~~~~~~~177c_src/minimidio.h:1567:32: error: 'SND_SEQ_PORT_CAP_SUBS_WRITE' undeclared (first use in this function)178 1567 |         SND_SEQ_PORT_CAP_WRITE|SND_SEQ_PORT_CAP_SUBS_WRITE, 0);179      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~180c_src/minimidio.h: In function 'mm_in_name':181c_src/minimidio.h:1574:9: error: 'SND_SEQ_PORT_CAP_READ' undeclared (first use in this function)182 1574 |         SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ,183      |         ^~~~~~~~~~~~~~~~~~~~~184c_src/minimidio.h:1574:31: error: 'SND_SEQ_PORT_CAP_SUBS_READ' undeclared (first use in this function)185 1574 |         SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ,186      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~187c_src/minimidio.h: In function 'mm_out_name':188c_src/minimidio.h:1583:9: error: 'SND_SEQ_PORT_CAP_WRITE' undeclared (first use in this function)189 1583 |         SND_SEQ_PORT_CAP_WRITE|SND_SEQ_PORT_CAP_SUBS_WRITE, 0);190      |         ^~~~~~~~~~~~~~~~~~~~~~191c_src/minimidio.h:1583:32: error: 'SND_SEQ_PORT_CAP_SUBS_WRITE' undeclared (first use in this function)192 1583 |         SND_SEQ_PORT_CAP_WRITE|SND_SEQ_PORT_CAP_SUBS_WRITE, 0);193      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~194c_src/minimidio.h: In function 'mm__alsa_recv_thread':195c_src/minimidio.h:1597:17: error: implicit declaration of function 'snd_seq_poll_descriptors_count'; did you mean 'snd_ctl_poll_descriptors_count'? [-Wimplicit-function-declaration]196 1597 |     int nalsa = snd_seq_poll_descriptors_count(al->seq, POLLIN);197      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~198      |                 snd_ctl_poll_descriptors_count199c_src/minimidio.h:1603:5: error: implicit declaration of function 'snd_seq_poll_descriptors'; did you mean 'snd_ctl_poll_descriptors'? [-Wimplicit-function-declaration]200 1603 |     snd_seq_poll_descriptors(al->seq, pfds, (unsigned)nalsa, POLLIN);201      |     ^~~~~~~~~~~~~~~~~~~~~~~~202      |     snd_ctl_poll_descriptors203c_src/minimidio.h:1619:16: error: implicit declaration of function 'snd_seq_event_input_pending' [-Wimplicit-function-declaration]204 1619 |         while (snd_seq_event_input_pending(al->seq, 1) > 0) {205      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~206c_src/minimidio.h:1654:17: error: unknown type name 'snd_seq_event_t'; did you mean 'snd_ctl_event_t'?207 1654 |                 snd_seq_event_t* ev = NULL;208      |                 ^~~~~~~~~~~~~~~209      |                 snd_ctl_event_t210c_src/minimidio.h:1655:26: error: implicit declaration of function 'snd_seq_event_input' [-Wimplicit-function-declaration]211 1655 |                 int rc = snd_seq_event_input(al->seq, &ev);212      |                          ^~~~~~~~~~~~~~~~~~~213c_src/minimidio.h:1662:23: error: request for member 'type' in something not a structure or union214 1662 |                 if (ev->type == SND_SEQ_EVENT_SYSEX) {215      |                       ^~216c_src/minimidio.h:1662:33: error: 'SND_SEQ_EVENT_SYSEX' undeclared (first use in this function)217 1662 |                 if (ev->type == SND_SEQ_EVENT_SYSEX) {218      |                                 ^~~~~~~~~~~~~~~~~~~219c_src/minimidio.h:1663:46: error: request for member 'data' in something not a structure or union220 1663 |                     uint8_t* d = (uint8_t*)ev->data.ext.ptr;221      |                                              ^~222c_src/minimidio.h:1664:36: error: request for member 'data' in something not a structure or union223 1664 |                     size_t   n = ev->data.ext.len;224      |                                    ^~225c_src/minimidio.h:1678:30: error: implicit declaration of function 'snd_midi_event_decode' [-Wimplicit-function-declaration]226 1678 |                     long n = snd_midi_event_decode(da->midi_ev, buf,227      |                              ^~~~~~~~~~~~~~~~~~~~~228c_src/minimidio.h:1687:13: error: unknown type name 'snd_seq_event_t'; did you mean 'snd_ctl_event_t'?229 1687 |             snd_seq_event_t* ev = NULL;230      |             ^~~~~~~~~~~~~~~231      |             snd_ctl_event_t232c_src/minimidio.h:1696:23: error: request for member 'type' in something not a structure or union233 1696 |             switch (ev->type) {234      |                       ^~235c_src/minimidio.h:1698:22: error: 'SND_SEQ_EVENT_NOTEON' undeclared (first use in this function)236 1698 |                 case SND_SEQ_EVENT_NOTEON:237      |                      ^~~~~~~~~~~~~~~~~~~~238c_src/minimidio.h:1699:38: error: request for member 'data' in something not a structure or union239 1699 |                     msg.type    = (ev->data.note.velocity > 0) ? MM_NOTE_ON : MM_NOTE_OFF;240      |                                      ^~241c_src/minimidio.h:1700:37: error: request for member 'data' in something not a structure or union242 1700 |                     msg.channel = ev->data.note.channel;243      |                                     ^~244c_src/minimidio.h:1701:37: error: request for member 'data' in something not a structure or union245 1701 |                     msg.data[0] = ev->data.note.note;246      |                                     ^~247c_src/minimidio.h:1702:37: error: request for member 'data' in something not a structure or union248 1702 |                     msg.data[1] = ev->data.note.velocity;249      |                                     ^~250c_src/minimidio.h:1705:22: error: 'SND_SEQ_EVENT_NOTEOFF' undeclared (first use in this function)251 1705 |                 case SND_SEQ_EVENT_NOTEOFF:252      |                      ^~~~~~~~~~~~~~~~~~~~~253c_src/minimidio.h:1706:57: error: request for member 'data' in something not a structure or union254 1706 |                     msg.type=MM_NOTE_OFF; msg.channel=ev->data.note.channel;255      |                                                         ^~256c_src/minimidio.h:1707:35: error: request for member 'data' in something not a structure or union257 1707 |                     msg.data[0]=ev->data.note.note; msg.data[1]=ev->data.note.velocity;258      |                                   ^~259c_src/minimidio.h:1707:67: error: request for member 'data' in something not a structure or union260 1707 |                     msg.data[0]=ev->data.note.note; msg.data[1]=ev->data.note.velocity;261      |                                                                   ^~262c_src/minimidio.h:1710:22: error: 'SND_SEQ_EVENT_KEYPRESS' undeclared (first use in this function)263 1710 |                 case SND_SEQ_EVENT_KEYPRESS:264      |                      ^~~~~~~~~~~~~~~~~~~~~~265c_src/minimidio.h:1711:62: error: request for member 'data' in something not a structure or union266 1711 |                     msg.type=MM_POLY_PRESSURE; msg.channel=ev->data.note.channel;267      |                                                              ^~268c_src/minimidio.h:1712:35: error: request for member 'data' in something not a structure or union269 1712 |                     msg.data[0]=ev->data.note.note; msg.data[1]=ev->data.note.velocity;270      |                                   ^~271c_src/minimidio.h:1712:67: error: request for member 'data' in something not a structure or union272 1712 |                     msg.data[0]=ev->data.note.note; msg.data[1]=ev->data.note.velocity;273      |                                                                   ^~274c_src/minimidio.h:1715:22: error: 'SND_SEQ_EVENT_CONTROLLER' undeclared (first use in this function)275 1715 |                 case SND_SEQ_EVENT_CONTROLLER:276      |                      ^~~~~~~~~~~~~~~~~~~~~~~~277c_src/minimidio.h:1716:63: error: request for member 'data' in something not a structure or union278 1716 |                     msg.type=MM_CONTROL_CHANGE; msg.channel=ev->data.control.channel;279      |                                                               ^~280c_src/minimidio.h:1717:44: error: request for member 'data' in something not a structure or union281 1717 |                     msg.data[0]=(uint8_t)ev->data.control.param;282      |                                            ^~283c_src/minimidio.h:1718:44: error: request for member 'data' in something not a structure or union284 1718 |                     msg.data[1]=(uint8_t)ev->data.control.value;285      |                                            ^~286c_src/minimidio.h:1721:22: error: 'SND_SEQ_EVENT_PGMCHANGE' undeclared (first use in this function)287 1721 |                 case SND_SEQ_EVENT_PGMCHANGE:288      |                      ^~~~~~~~~~~~~~~~~~~~~~~289c_src/minimidio.h:1722:63: error: request for member 'data' in something not a structure or union290 1722 |                     msg.type=MM_PROGRAM_CHANGE; msg.channel=ev->data.control.channel;291      |                                                               ^~292c_src/minimidio.h:1723:44: error: request for member 'data' in something not a structure or union293 1723 |                     msg.data[0]=(uint8_t)ev->data.control.value;294      |                                            ^~295c_src/minimidio.h:1726:22: error: 'SND_SEQ_EVENT_CHANPRESS' undeclared (first use in this function)296 1726 |                 case SND_SEQ_EVENT_CHANPRESS:297      |                      ^~~~~~~~~~~~~~~~~~~~~~~298c_src/minimidio.h:1727:65: error: request for member 'data' in something not a structure or union299 1727 |                     msg.type=MM_CHANNEL_PRESSURE; msg.channel=ev->data.control.channel;300      |                                                                 ^~301c_src/minimidio.h:1728:44: error: request for member 'data' in something not a structure or union302 1728 |                     msg.data[0]=(uint8_t)ev->data.control.value;303      |                                            ^~304c_src/minimidio.h:1731:22: error: 'SND_SEQ_EVENT_PITCHBEND' undeclared (first use in this function)305 1731 |                 case SND_SEQ_EVENT_PITCHBEND: {306      |                      ^~~~~~~~~~~~~~~~~~~~~~~307c_src/minimidio.h:1732:30: error: request for member 'data' in something not a structure or union308 1732 |                     int pb=ev->data.control.value+8192;309      |                              ^~310c_src/minimidio.h:1733:59: error: request for member 'data' in something not a structure or union311 1733 |                     msg.type=MM_PITCH_BEND; msg.channel=ev->data.control.channel;312      |                                                           ^~313c_src/minimidio.h:1739:22: error: 'SND_SEQ_EVENT_CLOCK' undeclared (first use in this function)314 1739 |                 case SND_SEQ_EVENT_CLOCK:315      |                      ^~~~~~~~~~~~~~~~~~~316c_src/minimidio.h:1741:22: error: 'SND_SEQ_EVENT_START' undeclared (first use in this function); did you mean 'SND_TIMER_EVENT_START'?317 1741 |                 case SND_SEQ_EVENT_START:318      |                      ^~~~~~~~~~~~~~~~~~~319      |                      SND_TIMER_EVENT_START320c_src/minimidio.h:1743:22: error: 'SND_SEQ_EVENT_CONTINUE' undeclared (first use in this function); did you mean 'SND_TIMER_EVENT_CONTINUE'?321 1743 |                 case SND_SEQ_EVENT_CONTINUE:322      |                      ^~~~~~~~~~~~~~~~~~~~~~323      |                      SND_TIMER_EVENT_CONTINUE324c_src/minimidio.h:1745:22: error: 'SND_SEQ_EVENT_STOP' undeclared (first use in this function); did you mean 'SND_TIMER_EVENT_STOP'?325 1745 |                 case SND_SEQ_EVENT_STOP:326      |                      ^~~~~~~~~~~~~~~~~~327      |                      SND_TIMER_EVENT_STOP328c_src/minimidio.h:1749:22: error: 'SND_SEQ_EVENT_SONGPOS' undeclared (first use in this function)329 1749 |                 case SND_SEQ_EVENT_SONGPOS: {330      |                      ^~~~~~~~~~~~~~~~~~~~~331c_src/minimidio.h:1750:46: error: request for member 'data' in something not a structure or union332 1750 |                     uint16_t pos=(uint16_t)ev->data.control.value;333      |                                              ^~334c_src/minimidio.h:1758:22: error: 'SND_SEQ_EVENT_QFRAME' undeclared (first use in this function)335 1758 |                 case SND_SEQ_EVENT_QFRAME:336      |                      ^~~~~~~~~~~~~~~~~~~~337c_src/minimidio.h:1760:44: error: request for member 'data' in something not a structure or union338 1760 |                     msg.data[0]=(uint8_t)ev->data.control.value;339      |                                            ^~340c_src/minimidio.h:1764:22: error: 'SND_SEQ_EVENT_SONGSEL' undeclared (first use in this function)341 1764 |                 case SND_SEQ_EVENT_SONGSEL:342      |                      ^~~~~~~~~~~~~~~~~~~~~343c_src/minimidio.h:1766:44: error: request for member 'data' in something not a structure or union344 1766 |                     msg.data[0]=(uint8_t)ev->data.control.value;345      |                                            ^~346c_src/minimidio.h:1770:22: error: 'SND_SEQ_EVENT_SENSING' undeclared (first use in this function)347 1770 |                 case SND_SEQ_EVENT_SENSING:348      |                      ^~~~~~~~~~~~~~~~~~~~~349c_src/minimidio.h:1775:22: error: 'SND_SEQ_EVENT_TUNE_REQUEST' undeclared (first use in this function)350 1775 |                 case SND_SEQ_EVENT_TUNE_REQUEST:351      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~352c_src/minimidio.h:1780:22: error: 'SND_SEQ_EVENT_RESET' undeclared (first use in this function); did you mean 'SND_CTL_EVENT_LAST'?353 1780 |                 case SND_SEQ_EVENT_RESET:354      |                      ^~~~~~~~~~~~~~~~~~~355      |                      SND_CTL_EVENT_LAST356c_src/minimidio.h:1786:44: error: request for member 'data' in something not a structure or union357 1786 |                     uint8_t* d=(uint8_t*)ev->data.ext.ptr;358      |                                            ^~359c_src/minimidio.h:1787:34: error: request for member 'data' in something not a structure or union360 1787 |                     size_t   n=ev->data.ext.len;361      |                                  ^~362c_src/minimidio.h: In function 'mm_in_open':363c_src/minimidio.h:1819:9: error: 'SND_SEQ_PORT_CAP_READ' undeclared (first use in this function)364 1819 |         SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ,365      |         ^~~~~~~~~~~~~~~~~~~~~366c_src/minimidio.h:1819:31: error: 'SND_SEQ_PORT_CAP_SUBS_READ' undeclared (first use in this function)367 1819 |         SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ,368      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~369c_src/minimidio.h:1831:23: error: implicit declaration of function 'snd_seq_create_simple_port' [-Wimplicit-function-declaration]370 1831 |     dev->al.port_id = snd_seq_create_simple_port(ctx->al.seq, portname,371      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~372c_src/minimidio.h:1832:9: error: 'SND_SEQ_PORT_CAP_WRITE' undeclared (first use in this function)373 1832 |         SND_SEQ_PORT_CAP_WRITE|SND_SEQ_PORT_CAP_SUBS_WRITE,374      |         ^~~~~~~~~~~~~~~~~~~~~~375c_src/minimidio.h:1832:32: error: 'SND_SEQ_PORT_CAP_SUBS_WRITE' undeclared (first use in this function)376 1832 |         SND_SEQ_PORT_CAP_WRITE|SND_SEQ_PORT_CAP_SUBS_WRITE,377      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~378c_src/minimidio.h:1833:9: error: 'SND_SEQ_PORT_TYPE_APPLICATION' undeclared (first use in this function)379 1833 |         SND_SEQ_PORT_TYPE_APPLICATION);380      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~381c_src/minimidio.h: In function 'mm_in_open_raw':382c_src/minimidio.h:1887:9: error: 'SND_SEQ_PORT_CAP_READ' undeclared (first use in this function)383 1887 |         SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ,384      |         ^~~~~~~~~~~~~~~~~~~~~385c_src/minimidio.h:1887:31: error: 'SND_SEQ_PORT_CAP_SUBS_READ' undeclared (first use in this function)386 1887 |         SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ,387      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~388c_src/minimidio.h:1896:9: error: implicit declaration of function 'snd_midi_event_new'; did you mean 'snd_mixer_elem_new'? [-Wimplicit-function-declaration]389 1896 |     if (snd_midi_event_new(MM_SYSEX_BUF_SIZE, &dev->al.midi_ev) < 0)390      |         ^~~~~~~~~~~~~~~~~~391      |         snd_mixer_elem_new392c_src/minimidio.h:1898:5: error: implicit declaration of function 'snd_midi_event_no_status' [-Wimplicit-function-declaration]393 1898 |     snd_midi_event_no_status(dev->al.midi_ev, 1);394      |     ^~~~~~~~~~~~~~~~~~~~~~~~395c_src/minimidio.h:1901:9: error: implicit declaration of function 'snd_midi_event_free'; did you mean 'snd_ctl_event_free'? [-Wimplicit-function-declaration]396 1901 |         snd_midi_event_free(dev->al.midi_ev); dev->al.midi_ev=NULL; return MM_ERROR;397      |         ^~~~~~~~~~~~~~~~~~~398      |         snd_ctl_event_free399c_src/minimidio.h:1906:9: error: 'SND_SEQ_PORT_CAP_WRITE' undeclared (first use in this function)400 1906 |         SND_SEQ_PORT_CAP_WRITE|SND_SEQ_PORT_CAP_SUBS_WRITE,401      |         ^~~~~~~~~~~~~~~~~~~~~~402c_src/minimidio.h:1906:32: error: 'SND_SEQ_PORT_CAP_SUBS_WRITE' undeclared (first use in this function)403 1906 |         SND_SEQ_PORT_CAP_WRITE|SND_SEQ_PORT_CAP_SUBS_WRITE,404      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~405c_src/minimidio.h:1907:9: error: 'SND_SEQ_PORT_TYPE_APPLICATION' undeclared (first use in this function)406 1907 |         SND_SEQ_PORT_TYPE_APPLICATION);407      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~408c_src/minimidio.h: In function 'mm_in_open_virtual_raw':409c_src/minimidio.h:1932:9: error: 'SND_SEQ_PORT_CAP_WRITE' undeclared (first use in this function)410 1932 |         SND_SEQ_PORT_CAP_WRITE | SND_SEQ_PORT_CAP_SUBS_WRITE,411      |         ^~~~~~~~~~~~~~~~~~~~~~412c_src/minimidio.h:1932:34: error: 'SND_SEQ_PORT_CAP_SUBS_WRITE' undeclared (first use in this function)413 1932 |         SND_SEQ_PORT_CAP_WRITE | SND_SEQ_PORT_CAP_SUBS_WRITE,414      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~415c_src/minimidio.h:1933:9: error: 'SND_SEQ_PORT_TYPE_APPLICATION' undeclared (first use in this function)416 1933 |         SND_SEQ_PORT_TYPE_APPLICATION | SND_SEQ_PORT_TYPE_MIDI_GENERIC);417      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~418c_src/minimidio.h:1933:41: error: 'SND_SEQ_PORT_TYPE_MIDI_GENERIC' undeclared (first use in this function)419 1933 |         SND_SEQ_PORT_TYPE_APPLICATION | SND_SEQ_PORT_TYPE_MIDI_GENERIC);420      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~421c_src/minimidio.h: In function 'mm_in_start':422c_src/minimidio.h:1946:9: error: implicit declaration of function 'snd_seq_connect_from'; did you mean 'snd_ctl_convert_from_dB'? [-Wimplicit-function-declaration]423 1946 |         snd_seq_connect_from(al->seq, dev->al.port_id,424      |         ^~~~~~~~~~~~~~~~~~~~425      |         snd_ctl_convert_from_dB426c_src/minimidio.h:1954:13: error: implicit declaration of function 'snd_seq_disconnect_from' [-Wimplicit-function-declaration]427 1954 |             snd_seq_disconnect_from(al->seq, dev->al.port_id,428      |             ^~~~~~~~~~~~~~~~~~~~~~~429c_src/minimidio.h: In function 'mm_in_close':430c_src/minimidio.h:1982:5: error: implicit declaration of function 'snd_seq_delete_port' [-Wimplicit-function-declaration]431 1982 |     snd_seq_delete_port(dev->ctx->al.seq, dev->al.port_id);432      |     ^~~~~~~~~~~~~~~~~~~433c_src/minimidio.h: In function 'mm_out_open':434c_src/minimidio.h:1991:9: error: 'SND_SEQ_PORT_CAP_WRITE' undeclared (first use in this function)435 1991 |         SND_SEQ_PORT_CAP_WRITE|SND_SEQ_PORT_CAP_SUBS_WRITE, 0);436      |         ^~~~~~~~~~~~~~~~~~~~~~437c_src/minimidio.h:1991:32: error: 'SND_SEQ_PORT_CAP_SUBS_WRITE' undeclared (first use in this function)438 1991 |         SND_SEQ_PORT_CAP_WRITE|SND_SEQ_PORT_CAP_SUBS_WRITE, 0);439      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~440c_src/minimidio.h:1998:9: error: 'SND_SEQ_PORT_CAP_READ' undeclared (first use in this function)441 1998 |         SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ,442      |         ^~~~~~~~~~~~~~~~~~~~~443c_src/minimidio.h:1998:31: error: 'SND_SEQ_PORT_CAP_SUBS_READ' undeclared (first use in this function)444 1998 |         SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ,445      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~446c_src/minimidio.h:1999:9: error: 'SND_SEQ_PORT_TYPE_APPLICATION' undeclared (first use in this function)447 1999 |         SND_SEQ_PORT_TYPE_APPLICATION);448      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~449c_src/minimidio.h:2001:5: error: implicit declaration of function 'snd_seq_connect_to' [-Wimplicit-function-declaration]450 2001 |     snd_seq_connect_to(ctx->al.seq, dev->al.port_id,451      |     ^~~~~~~~~~~~~~~~~~452c_src/minimidio.h: At top level:453c_src/minimidio.h:2008:46: error: unknown type name 'snd_seq_event_t'; did you mean 'snd_ctl_event_t'?454 2008 | static void mm__alsa_send_ev(mm_device* dev, snd_seq_event_t* ev) {455      |                                              ^~~~~~~~~~~~~~~456      |                                              snd_ctl_event_t457c_src/minimidio.h: In function 'mm_out_send_raw':458c_src/minimidio.h:2028:5: error: implicit declaration of function 'snd_midi_event_reset_encode' [-Wimplicit-function-declaration]459 2028 |     snd_midi_event_reset_encode(dev->al.midi_ev);460      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~461c_src/minimidio.h:2031:9: error: unknown type name 'snd_seq_event_t'; did you mean 'snd_ctl_event_t'?462 2031 |         snd_seq_event_t ev; memset(&ev,0,sizeof(ev));463      |         ^~~~~~~~~~~~~~~464      |         snd_ctl_event_t465c_src/minimidio.h:2032:21: error: implicit declaration of function 'snd_midi_event_encode' [-Wimplicit-function-declaration]466 2032 |         long used = snd_midi_event_encode(dev->al.midi_ev, data+off,467      |                     ^~~~~~~~~~~~~~~~~~~~~468c_src/minimidio.h:2036:15: error: request for member 'type' in something not a structure or union469 2036 |         if (ev.type != SND_SEQ_EVENT_NONE)470      |               ^471c_src/minimidio.h:2036:24: error: 'SND_SEQ_EVENT_NONE' undeclared (first use in this function)472 2036 |         if (ev.type != SND_SEQ_EVENT_NONE)473      |                        ^~~~~~~~~~~~~~~~~~474c_src/minimidio.h:2037:13: error: implicit declaration of function 'mm__alsa_send_ev'; did you mean 'mm__alsa_enum'? [-Wimplicit-function-declaration]475 2037 |             mm__alsa_send_ev(dev, &ev);476      |             ^~~~~~~~~~~~~~~~477      |             mm__alsa_enum478c_src/minimidio.h: In function 'mm_out_send':479c_src/minimidio.h:2045:5: error: unknown type name 'snd_seq_event_t'; did you mean 'snd_ctl_event_t'?480 2045 |     snd_seq_event_t ev; memset(&ev,0,sizeof(ev));481      |     ^~~~~~~~~~~~~~~482      |     snd_ctl_event_t483c_src/minimidio.h:2048:13: error: implicit declaration of function 'snd_seq_ev_set_noteon' [-Wimplicit-function-declaration]484 2048 |             snd_seq_ev_set_noteon(&ev,msg->channel,msg->data[0],msg->data[1]); break;485      |             ^~~~~~~~~~~~~~~~~~~~~486c_src/minimidio.h:2050:13: error: implicit declaration of function 'snd_seq_ev_set_noteoff' [-Wimplicit-function-declaration]487 2050 |             snd_seq_ev_set_noteoff(&ev,msg->channel,msg->data[0],msg->data[1]); break;488      |             ^~~~~~~~~~~~~~~~~~~~~~489c_src/minimidio.h:2052:13: error: implicit declaration of function 'snd_seq_ev_set_controller' [-Wimplicit-function-declaration]490 2052 |             snd_seq_ev_set_controller(&ev,msg->channel,msg->data[0],msg->data[1]); break;491      |             ^~~~~~~~~~~~~~~~~~~~~~~~~492c_src/minimidio.h:2054:13: error: implicit declaration of function 'snd_seq_ev_set_keypress' [-Wimplicit-function-declaration]493 2054 |             snd_seq_ev_set_keypress(&ev,msg->channel,msg->data[0],msg->data[1]); break;494      |             ^~~~~~~~~~~~~~~~~~~~~~~495c_src/minimidio.h:2056:13: error: implicit declaration of function 'snd_seq_ev_set_chanpress' [-Wimplicit-function-declaration]496 2056 |             snd_seq_ev_set_chanpress(&ev,msg->channel,msg->data[0]); break;497      |             ^~~~~~~~~~~~~~~~~~~~~~~~498c_src/minimidio.h:2059:13: error: implicit declaration of function 'snd_seq_ev_set_pitchbend' [-Wimplicit-function-declaration]499 2059 |             snd_seq_ev_set_pitchbend(&ev,msg->channel,pb-8192); break;500      |             ^~~~~~~~~~~~~~~~~~~~~~~~501c_src/minimidio.h:2062:13: error: implicit declaration of function 'snd_seq_ev_set_pgmchange' [-Wimplicit-function-declaration]502 2062 |             snd_seq_ev_set_pgmchange(&ev,msg->channel,msg->data[0]); break;503      |             ^~~~~~~~~~~~~~~~~~~~~~~~504c_src/minimidio.h:2063:29: error: request for member 'type' in something not a structure or union505 2063 |         case MM_CLOCK:    ev.type=SND_SEQ_EVENT_CLOCK;    break;506      |                             ^507c_src/minimidio.h:2063:35: error: 'SND_SEQ_EVENT_CLOCK' undeclared (first use in this function)508 2063 |         case MM_CLOCK:    ev.type=SND_SEQ_EVENT_CLOCK;    break;509      |                                   ^~~~~~~~~~~~~~~~~~~510c_src/minimidio.h:2064:29: error: request for member 'type' in something not a structure or union511 2064 |         case MM_START:    ev.type=SND_SEQ_EVENT_START;    break;512      |                             ^513c_src/minimidio.h:2064:35: error: 'SND_SEQ_EVENT_START' undeclared (first use in this function); did you mean 'SND_TIMER_EVENT_START'?514 2064 |         case MM_START:    ev.type=SND_SEQ_EVENT_START;    break;515      |                                   ^~~~~~~~~~~~~~~~~~~516      |                                   SND_TIMER_EVENT_START517c_src/minimidio.h:2065:29: error: request for member 'type' in something not a structure or union518 2065 |         case MM_CONTINUE: ev.type=SND_SEQ_EVENT_CONTINUE; break;519      |                             ^520c_src/minimidio.h:2065:35: error: 'SND_SEQ_EVENT_CONTINUE' undeclared (first use in this function); did you mean 'SND_TIMER_EVENT_CONTINUE'?521 2065 |         case MM_CONTINUE: ev.type=SND_SEQ_EVENT_CONTINUE; break;522      |                                   ^~~~~~~~~~~~~~~~~~~~~~523      |                                   SND_TIMER_EVENT_CONTINUE524c_src/minimidio.h:2066:29: error: request for member 'type' in something not a structure or union525 2066 |         case MM_STOP:     ev.type=SND_SEQ_EVENT_STOP;     break;526      |                             ^527c_src/minimidio.h:2066:35: error: 'SND_SEQ_EVENT_STOP' undeclared (first use in this function); did you mean 'SND_TIMER_EVENT_STOP'?528 2066 |         case MM_STOP:     ev.type=SND_SEQ_EVENT_STOP;     break;529      |                                   ^~~~~~~~~~~~~~~~~~530      |                                   SND_TIMER_EVENT_STOP531c_src/minimidio.h:2068:15: error: request for member 'type' in something not a structure or union532 2068 |             ev.type=SND_SEQ_EVENT_SONGPOS;533      |               ^534c_src/minimidio.h:2068:21: error: 'SND_SEQ_EVENT_SONGPOS' undeclared (first use in this function)535 2068 |             ev.type=SND_SEQ_EVENT_SONGPOS;536      |                     ^~~~~~~~~~~~~~~~~~~~~537c_src/minimidio.h:2069:15: error: request for member 'data' in something not a structure or union538 2069 |             ev.data.control.value=msg->song_position; break;539      |               ^540c_src/minimidio.h:2071:15: error: request for member 'type' in something not a structure or union541 2071 |             ev.type=SND_SEQ_EVENT_QFRAME;542      |               ^543c_src/minimidio.h:2071:21: error: 'SND_SEQ_EVENT_QFRAME' undeclared (first use in this function)544 2071 |             ev.type=SND_SEQ_EVENT_QFRAME;545      |                     ^~~~~~~~~~~~~~~~~~~~546c_src/minimidio.h:2072:15: error: request for member 'data' in something not a structure or union547 2072 |             ev.data.control.value=msg->data[0]; break;548      |               ^549c_src/minimidio.h:2074:15: error: request for member 'type' in something not a structure or union550 2074 |             ev.type=SND_SEQ_EVENT_SONGSEL;551      |               ^552c_src/minimidio.h:2074:21: error: 'SND_SEQ_EVENT_SONGSEL' undeclared (first use in this function)553 2074 |             ev.type=SND_SEQ_EVENT_SONGSEL;554      |                     ^~~~~~~~~~~~~~~~~~~~~555c_src/minimidio.h:2075:15: error: request for member 'data' in something not a structure or union556 2075 |             ev.data.control.value=msg->data[0]; break;557      |               ^558c_src/minimidio.h:2076:34: error: request for member 'type' in something not a structure or union559 2076 |         case MM_TUNE_REQUEST:  ev.type=SND_SEQ_EVENT_TUNE_REQUEST; break;560      |                                  ^561c_src/minimidio.h:2076:40: error: 'SND_SEQ_EVENT_TUNE_REQUEST' undeclared (first use in this function)562 2076 |         case MM_TUNE_REQUEST:  ev.type=SND_SEQ_EVENT_TUNE_REQUEST; break;563      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~564c_src/minimidio.h:2077:34: error: request for member 'type' in something not a structure or union565 2077 |         case MM_ACTIVE_SENSE:  ev.type=SND_SEQ_EVENT_SENSING;      break;566      |                                  ^567c_src/minimidio.h:2077:40: error: 'SND_SEQ_EVENT_SENSING' undeclared (first use in this function)568 2077 |         case MM_ACTIVE_SENSE:  ev.type=SND_SEQ_EVENT_SENSING;      break;569      |                                        ^~~~~~~~~~~~~~~~~~~~~570c_src/minimidio.h:2078:34: error: request for member 'type' in something not a structure or union571 2078 |         case MM_RESET:         ev.type=SND_SEQ_EVENT_RESET;        break;572      |                                  ^573c_src/minimidio.h:2078:40: error: 'SND_SEQ_EVENT_RESET' undeclared (first use in this function); did you mean 'SND_CTL_EVENT_LAST'?574 2078 |         case MM_RESET:         ev.type=SND_SEQ_EVENT_RESET;        break;575      |                                        ^~~~~~~~~~~~~~~~~~~576      |                                        SND_CTL_EVENT_LAST577c_src/minimidio.h: In function 'mm_out_send_sysex':578c_src/minimidio.h:2115:5: error: unknown type name 'snd_seq_event_t'; did you mean 'snd_ctl_event_t'?579 2115 |     snd_seq_event_t ev; memset(&ev,0,sizeof(ev));580      |     ^~~~~~~~~~~~~~~581      |     snd_ctl_event_t582c_src/minimidio.h:2116:7: error: request for member 'type' in something not a structure or union583 2116 |     ev.type=SND_SEQ_EVENT_SYSEX;584      |       ^585c_src/minimidio.h:2116:13: error: 'SND_SEQ_EVENT_SYSEX' undeclared (first use in this function)586 2116 |     ev.type=SND_SEQ_EVENT_SYSEX;587      |             ^~~~~~~~~~~~~~~~~~~588c_src/minimidio.h:2117:7: error: request for member 'data' in something not a structure or union589 2117 |     ev.data.ext.len=(unsigned int)size;590      |       ^591c_src/minimidio.h:2118:7: error: request for member 'data' in something not a structure or union592 2118 |     ev.data.ext.ptr=dev->al.sysex_buf;593      |       ^594c_src/minimidio.h:2119:7: error: request for member 'flags' in something not a structure or union595 2119 |     ev.flags=SND_SEQ_EVENT_LENGTH_VARIABLE;596      |       ^597c_src/minimidio.h:2119:14: error: 'SND_SEQ_EVENT_LENGTH_VARIABLE' undeclared (first use in this function)598 2119 |     ev.flags=SND_SEQ_EVENT_LENGTH_VARIABLE;599      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~600c_src/minimidio.h: In function 'mm_out_close':601c_src/minimidio.h:2127:9: error: implicit declaration of function 'snd_seq_disconnect_to' [-Wimplicit-function-declaration]602 2127 |         snd_seq_disconnect_to(al->seq,dev->al.port_id,603      |         ^~~~~~~~~~~~~~~~~~~~~604c_src/minimidio.h: In function 'mm_in_open_virtual':605c_src/minimidio.h:2160:9: error: 'SND_SEQ_PORT_CAP_WRITE' undeclared (first use in this function)606 2160 |         SND_SEQ_PORT_CAP_WRITE | SND_SEQ_PORT_CAP_SUBS_WRITE,607      |         ^~~~~~~~~~~~~~~~~~~~~~608c_src/minimidio.h:2160:34: error: 'SND_SEQ_PORT_CAP_SUBS_WRITE' undeclared (first use in this function)609 2160 |         SND_SEQ_PORT_CAP_WRITE | SND_SEQ_PORT_CAP_SUBS_WRITE,610      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~611c_src/minimidio.h:2161:9: error: 'SND_SEQ_PORT_TYPE_APPLICATION' undeclared (first use in this function)612 2161 |         SND_SEQ_PORT_TYPE_APPLICATION | SND_SEQ_PORT_TYPE_MIDI_GENERIC);613      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~614c_src/minimidio.h:2161:41: error: 'SND_SEQ_PORT_TYPE_MIDI_GENERIC' undeclared (first use in this function)615 2161 |         SND_SEQ_PORT_TYPE_APPLICATION | SND_SEQ_PORT_TYPE_MIDI_GENERIC);616      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~617c_src/minimidio.h: In function 'mm_out_open_virtual':618c_src/minimidio.h:2180:9: error: 'SND_SEQ_PORT_CAP_READ' undeclared (first use in this function)619 2180 |         SND_SEQ_PORT_CAP_READ | SND_SEQ_PORT_CAP_SUBS_READ,620      |         ^~~~~~~~~~~~~~~~~~~~~621c_src/minimidio.h:2180:33: error: 'SND_SEQ_PORT_CAP_SUBS_READ' undeclared (first use in this function)622 2180 |         SND_SEQ_PORT_CAP_READ | SND_SEQ_PORT_CAP_SUBS_READ,623      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~624c_src/minimidio.h:2181:9: error: 'SND_SEQ_PORT_TYPE_APPLICATION' undeclared (first use in this function)625 2181 |         SND_SEQ_PORT_TYPE_APPLICATION | SND_SEQ_PORT_TYPE_MIDI_GENERIC);626      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~627c_src/minimidio.h:2181:41: error: 'SND_SEQ_PORT_TYPE_MIDI_GENERIC' undeclared (first use in this function)628 2181 |         SND_SEQ_PORT_TYPE_APPLICATION | SND_SEQ_PORT_TYPE_MIDI_GENERIC);629      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~630make: *** [Makefile:24: priv/tuning_fork_midi_nif.so] Error 1631could not compile dependency :tuning_fork_midi, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile tuning_fork_midi --force", update it with "mix deps.update tuning_fork_midi" or clean it with "mix deps.clean tuning_fork_midi"632==> nerves_compatibility_test633** (Mix) Could not compile with "make" (exit status: 2).634tuning_fork_midi's MIDI ports did not build.635636This package is only the ports. tuning_fork itself is pure Elixir and needs none of it:637drop this dependency and everything but playing to and reading from a MIDI device still638works, including writing a .mid file with TuningFork.Midi.write!/3.639640Building it needs a C compiler, and on Linux the ALSA headers (libasound2-dev).641