Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rob van der Putten <rob@sput.nl>
To: alsa-devel@alsa-project.org
Subject: Re: Rawmidi
Date: Mon, 28 Dec 2015 15:42:16 +0100	[thread overview]
Message-ID: <n5rho8$bn$1@ger.gmane.org> (raw)
In-Reply-To: <56800895.5070008@sakamocchi.jp>

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.

  reply	other threads:[~2015-12-28 14:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-27  6:29 Rawmidi Daniel Viksporre
2015-12-27  7:57 ` Rawmidi Takashi Sakamoto
2015-12-27  8:18 ` Rawmidi Clemens Ladisch
2015-12-27 15:22   ` Rawmidi Daniel Viksporre
2015-12-27 15:49     ` Rawmidi Takashi Sakamoto
2015-12-28 14:42       ` Rob van der Putten [this message]
2015-12-29 11:16         ` Rawmidi Rob van der Putten
  -- strict thread matches above, loose matches on Subject: below --
2004-10-08 17:08 rawmidi Steve DeRosier
2004-10-09  9:41 ` rawmidi Clemens Ladisch
2004-10-08 16:12 rawmidi Steve DeRosier
2004-10-08 16:20 ` rawmidi Patrick Dumais
2004-10-08 15:26 rawmidi Patrick Dumais
2004-10-08 15:55 ` rawmidi Takashi Iwai
2004-10-08 16:18 ` rawmidi Clemens Ladisch
2004-10-08 19:13 ` rawmidi Lee Revell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='n5rho8$bn$1@ger.gmane.org' \
    --to=rob@sput.nl \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox