From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob van der Putten Subject: Re: Rawmidi Date: Mon, 28 Dec 2015 15:42:16 +0100 Message-ID: References: <9511ACE5-064B-40C7-8286-9401991156CD@ladisch.de> <56800895.5070008@sakamocchi.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by alsa0.perex.cz (Postfix) with ESMTP id AF1932652EE for ; Mon, 28 Dec 2015 15:50:07 +0100 (CET) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aDZ7d-0002uS-UJ for alsa-devel@alsa-project.org; Mon, 28 Dec 2015 15:50:06 +0100 Received: from ns4.sput.nl ([80.101.95.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Dec 2015 15:50:05 +0100 Received: from rob by ns4.sput.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Dec 2015 15:50:05 +0100 In-Reply-To: <56800895.5070008@sakamocchi.jp> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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 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.