Skip to contentSkip to conversation

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

DISCUSSION GitHub issues - opened 1 participant 1 message Jun 19, 2022 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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