From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manuel Jander Subject: Re: Cross compiling alsa-driver Date: Fri, 07 Apr 2006 07:55:30 +0200 Message-ID: <1144389330.17858.4.camel@localhost.localdomain> References: <1144187819.9472.25.camel@localhost.localdomain> <1144361810.9219.6.camel@localhost.localdomain> <1144362329.12038.22.camel@mindpipe> <1144362544.9219.14.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1144362544.9219.14.camel@localhost.localdomain> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Alsa-devel list List-Id: alsa-devel@alsa-project.org Hi, On Thu, 2006-04-06 at 23:29 +0100, Adrian McMenamin wrote: > I know that aica isn't in there - but the general build should still > work and it doesn't... > > make[2]: Leaving directory `/home/adrian/alsa-driver-1.0.11rc4/pci' > make[1]: Leaving directory `/home/adrian/alsa-driver-1.0.11rc4' > make -C /lib/modules/2.6.12-10-686/build > SUBDIRS=/home/adrian/alsa-driver-1.0.11rc4 O=/home/adrian/linux-2.6.15.2 > modules > make[1]: Entering directory `/usr/src/linux-headers-2.6.12-10-686' > /usr/src/linux-headers-2.6.12-10-686/Makefile:530: /usr/src/linux-headers-2.6.12-10-686/arch//Makefile: No such file or directory > /bin/sh: /home/adrian/buildroot/build_sh4/staging_dir/bin/sh4-linux-gcc-3.4: No such file or directory > make[2]: *** No rule to make target > `/usr/src/linux-headers-2.6.12-10-686/arch//Makefile'. Stop. > make[1]: *** [modules] Error 2 > make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-10-686' > I had this same problem while crosscompiling, and the only way to get around I found was specifying an appropriate ARCH environment variable (ARCH=arm). The path: /usr/src/linux-headers-2.6.12-10-686/arch//Makefile would become: /usr/src/linux-headers-2.6.12-10-686/arch/arm/Makefile or /usr/src/linux-headers-2.6.12-10-686/arch/sh4/Makefile Best Regards, Manuel ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642