From: Takashi Iwai Subject: Re: alsa-utils cross compilation error Date: Wed, 07 Oct 2009 12:02:11 +0200 Message-ID: References: <7df11cd50910060719t66c353b0jc865f04e09f49c12@mail.gmail.com> <7df11cd50910060809w7b015cf8p1089e3000f8384a8@mail.gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id E010F103892 for ; Wed, 7 Oct 2009 12:02:11 +0200 (CEST) In-Reply-To: <7df11cd50910060809w7b015cf8p1089e3000f8384a8@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Harish Kumar Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 6 Oct 2009 20:39:42 +0530, Harish Kumar wrote: > > Hi, > > I compiled the alsa libs using the following > > CC=arm-linux-gcc ./configure --target=arm-linux --host=i686-linux > --prefix=/root/arm-alsa/ > make > make install > > changed the directory to alsa-utils and executed the following > 1. > CC=arm-linux-gcc ./configure --target=arm-linux --host=i686-linux > --with-alsa-prefix=/root/arm-alsa > --with-alsa-inc-prefix=/root/arm-alsa Look at -I and -L options used below: > the configured failed with the same error > checking for ALSA CFLAGS... -I/root/arm-alsa > checking for ALSA LDFLAGS... -L/root/arm-alsa -lasound -lm -ldl -lpthread So you are pointing wrong directories. Pass like --with-alsa-prefix=/root/arm-alsa/usr/lib --with-alsa-inc-prefix=/root/arm-alsa/include Takashi