From: Takashi Iwai <tiwai@suse.de>
To: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Trying again with cross compile
Date: Fri, 07 Apr 2006 14:41:06 +0200 [thread overview]
Message-ID: <s5hslopy2vx.wl%tiwai@suse.de> (raw)
In-Reply-To: <1144413234.9653.16.camel@localhost.localdomain>
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
next prev parent reply other threads:[~2006-04-07 12:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-07 12:33 Trying again with cross compile Adrian McMenamin
2006-04-07 12:41 ` Takashi Iwai [this message]
2006-04-07 14:15 ` Adrian McMenamin
2006-04-07 14:31 ` Takashi Iwai
2006-04-07 14:37 ` Adrian McMenamin
2006-04-07 14:41 ` Takashi Iwai
2006-04-07 18:07 ` Adrian McMenamin
2006-04-07 18:10 ` Takashi Iwai
2006-04-07 18:18 ` Adrian McMenamin
2006-04-07 18:22 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hslopy2vx.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=adrian@mcmen.demon.co.uk \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.