alsa-utils 1.2.7 fails to build if rawmidi support is disabled in alsa-lib

GitHub issues - opened github at alsa-project.org
Sun Jun 19 15:56:53 CEST 2022


alsa-project/alsa-utils issue #154 was opened from Saur2000:

If alsa-lib is configured using `--disable-rawmidi`, then alsa-utils fails to build:

```
  alsactl/info.c:83:44: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'?
     83 | static const char *snd_rawmidi_stream_name(snd_rawmidi_stream_t stream)
        |                                            ^~~~~~~~~~~~~~~~~~~~
        |                                            snd_pcm_stream_t
  alsactl/info.c:92:48: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'?
     92 | static int rawmidi_device_list(snd_ctl_t *ctl, snd_rawmidi_stream_t stream, bool *first)
        |                                                ^~~~~~~~~~~~~~~~~~~~
        |                                                snd_pcm_stream_t
```

Issue URL     : https://github.com/alsa-project/alsa-utils/issues/154
Repository URL: https://github.com/alsa-project/alsa-utils


More information about the Alsa-devel mailing list