[alsa-devel] Rawmidi

Takashi Sakamoto o-takashi at sakamocchi.jp
Sun Dec 27 08:57:33 CET 2015


Hi,

On Dec 27 2015 15:29, Daniel Viksporre wrote:
> I cant compile example programs that use rawmidi.
> 
> When I look on my harddrive, I have many rawmidi.h files, but since
> 2015 they are all 0 bytes. Can that be the reason I cant compile. But
> why is those files 0 bytes from the repository Im using?
> 
> I get the following error messages...
> 
> 
> test.c:(.text+0x507): undefined reference to `snd_rawmidi_open'
> test.c:(.text+0x5d8): undefined reference to `snd_rawmidi_open'
> test.c:(.text+0x75e): undefined reference to `snd_rawmidi_read'
> test.c:(.text+0x846): undefined reference to `snd_rawmidi_write'
> test.c:(.text+0x867): undefined reference to `snd_rawmidi_write'
> test.c:(.text+0x888): undefined reference to `snd_rawmidi_write'
> test.c:(.text+0x894): undefined reference to `snd_rawmidi_drain'
> test.c:(.text+0x8c1): undefined reference to `snd_rawmidi_write'
> test.c:(.text+0x8e2): undefined reference to `snd_rawmidi_write'
> test.c:(.text+0x903): undefined reference to `snd_rawmidi_write'
> test.c:(.text+0x90f): undefined reference to `snd_rawmidi_drain'
> test.c:(.text+0xa71): undefined reference to `snd_rawmidi_read'
> test.c:(.text+0xae0): undefined reference to `snd_rawmidi_write'
> test.c:(.text+0xaec): undefined reference to `snd_rawmidi_drain'
> test.c:(.text+0xb8f): undefined reference to `snd_rawmidi_drain'
> test.c:(.text+0xb9b): undefined reference to `snd_rawmidi_close'
> test.c:(.text+0xbaf): undefined reference to `snd_rawmidi_drain'
> test.c:(.text+0xbbb): undefined reference to `snd_rawmidi_close'

Can you show command lines to compile your 'test.c'?


Regards

Takashi Sakamoto


More information about the Alsa-devel mailing list