Hi there
Takashi Sakamoto wrote:
I think cause is the position of linker option. Let's try:
$ gcc test.c -lasound
On my box the snd_rawmidi_ stuff is in /usr/include/alsa/rawmidi.h
/usr/include/alsa/asoundlib.h includes alsa/rawmidi.h, so a #include
<alsa/asoundlib.h> in the c file should do.
I compile with cc -Wall -lasound -o foo foo.c
Hope this helps.
Regards,
Rob
--
ISDS is evil. Abolish ISDS.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel