From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob van der Putten Subject: Re: Rawmidi Date: Tue, 29 Dec 2015 12:16:49 +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 7A56626568C for ; Tue, 29 Dec 2015 12:17:01 +0100 (CET) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aDsGy-0001OA-9E for alsa-devel@alsa-project.org; Tue, 29 Dec 2015 12:17:00 +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 ; Tue, 29 Dec 2015 12:17:00 +0100 Received: from rob by ns4.sput.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Dec 2015 12:17:00 +0100 In-Reply-To: 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 Rob van der Putten wrote: > 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 Actually cc -Wall -O2 -lasound -o foo foo.c > Hope this helps. Regards, Rob