Re: Rawmidi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2015-12-27 9:18 GMT+01:00, Clemens Ladisch <clemens@xxxxxxxxxx>:
> Daniel Viksporre wrote:
>>test.c:(.text+0x507): undefined reference to `snd_rawmidi_open'
>
> This message comes from the linker.
>
> If the compiler itself does not complain, then you have no
> problem with rawmidi.h.
>
> The linker error is probably caused by not linking with the
> ALSA library; add -lasound to the compiler command.
>
>
> Regards,
> Clemens
>
>

I compiled with...
gcc  -lasound test.c

I have tried with many different code examples that I have found on
the internet, and error messages stays about the same.

// Daniel
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux