All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Cross compiling alsa-driver
Date: Wed, 05 Apr 2006 13:27:42 +0200	[thread overview]
Message-ID: <s5hwte4ntxt.wl%tiwai@suse.de> (raw)
In-Reply-To: <1144187819.9472.25.camel@localhost.localdomain>

At Tue, 04 Apr 2006 22:56:59 +0100,
Adrian McMenamin wrote:
> 
> Cannot get this to work.
> 
> Doing it from cvs and from the package gives the same result...
> 
> ./configure
> --with-cross=~/buildroot/build_sh4/staging_dir/bin/sh4-linux-
> --with-build=/home/adrian/linux-2.6.15.2
> 
> gives...
> 
> make[3]: Entering directory
> `/home/adrian/alsa-driver-1.0.11rc4/pci/vx222'
> make[3]: Leaving directory
> `/home/adrian/alsa-driver-1.0.11rc4/pci/vx222'
> make[3]: Entering directory
> `/home/adrian/alsa-driver-1.0.11rc4/pci/ymfpci'
> make[3]: Leaving directory
> `/home/adrian/alsa-driver-1.0.11rc4/pci/ymfpci'
> 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'
> make: *** [compile] Error 2
> 
> ie it is still looking for headers on the building machine.
> 
> Building from cvs gives a similar result.
> 
> The configure script appears to be broken...as this segment of output
> suggests - as even though I specify a kernel directory it is still
> looking elsewhere
> 
> checking for current directory... /home/adrian/alsa-driver-1.0.11rc4
> checking cross
> compile... /home/adrian/buildroot/build_sh4/staging_dir/bin/sh4-linux-
> checking for directory with kernel
> source... /lib/modules/2.6.12-10-686/build
> checking for directory with kernel build... /home/adrian/linux-2.6.15.2

You didn't pass a proper --with-kernel option.
See alsa-driver/INSTALL.


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

  reply	other threads:[~2006-04-05 11:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-04 21:56 Cross compiling alsa-driver Adrian McMenamin
2006-04-05 11:27 ` Takashi Iwai [this message]
2006-04-06 22:16   ` Adrian McMenamin
2006-04-06 22:23     ` Adrian McMenamin
2006-04-06 22:27       ` Adrian McMenamin
2006-04-06 22:25     ` Lee Revell
2006-04-06 22:29       ` Adrian McMenamin
2006-04-06 22:52         ` Lee Revell
2006-04-06 22:57         ` Lee Revell
2006-04-06 23:10           ` Adrian McMenamin
2006-04-06 23:15             ` Lee Revell
2006-04-06 23:25               ` Adrian McMenamin
2006-04-06 23:55                 ` Lee Revell
2006-04-07  5:55         ` Manuel Jander
2006-04-06 22:46       ` Adrian McMenamin
2006-04-06 22:54         ` Lee Revell
2006-04-07  9:12     ` 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=s5hwte4ntxt.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.