From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Trying again with cross compile Date: Fri, 07 Apr 2006 14:41:06 +0200 Message-ID: References: <1144413234.9653.16.camel@localhost.localdomain> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <1144413234.9653.16.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: Adrian McMenamin Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Fri, 07 Apr 2006 13:33:54 +0100, Adrian McMenamin wrote: > > I've downloaded the cvs alsa-driver. > I've added an sh directory - > > adrian@bossclass:~/alsa-driver/sh$ ls -l > total 32 > -rw-r--r-- 1 adrian adrian 2156 2006-04-07 12:34 aica.h > -rw-r--r-- 1 adrian adrian 356 2006-04-07 12:34 Kconfig > -rw-r--r-- 1 adrian adrian 65 2006-04-07 12:34 Makefile > -rw-r--r-- 1 adrian adrian 18262 2006-04-07 12:34 snd_aica.c > > and then I run cvscompile (as configured below) and get this... what do > I do next? Edit configure.in to add sh arch support. Add the corresponding directory alsa-driver/Makefile (there are multiple places you need to add there). > Especially as, when I run make it bombs out: > > make[1]: Leaving directory `/home/adrian/alsa-driver' > make -C /lib/modules/2.6.12-10-686/build > SUBDIRS=/home/adrian/alsa-driver modules > /usr/src/linux-headers-2.6.12-10-686/scripts/gcc-version.sh: line 11: > gcc-3.4: command not found > /usr/src/linux-headers-2.6.12-10-686/scripts/gcc-version.sh: line 12: > gcc-3.4: command not found > make[1]: gcc-3.4: Command not found > make[1]: Entering directory `/usr/src/linux-headers-2.6.12-10-686' > CC [M] /home/adrian/alsa-driver/acore/hwdep.o > /bin/sh: gcc-3.4: command not found > make[3]: *** [/home/adrian/alsa-driver/acore/hwdep.o] Error 127 > make[2]: *** [/home/adrian/alsa-driver/acore] Error 2 > make[1]: *** [_module_/home/adrian/alsa-driver] Error 2 > make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-10-686' > make: *** [compile] Error 2 > > I don't know why it is looking for gcc-3.4, and particularly why it's > getting that from something on the build machine when this is meant to > be a cross compile Possibly configure (autoconf) detected $CC as gcc-3.4. Try to pass CC=gcc with configure. Takashi ------------------------------------------------------- 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