At Mon, 14 Mar 2011 11:25:02 +0000, Colin Guthrie wrote:
'Twas brillig, and Jaroslav Kysela at 14/03/11 09:54 did gyre and gimble:
On Sat, 12 Mar 2011, Colin Guthrie wrote:
Hi,
After doing a "simple": git clone alsa-driver git clone alsa-kernel cd alsa-driver ./gitcompile --with-debug=full --with-isapnp=yes --with-sequencer=yes --with-moddir=updates/alsa:
The build bombed out pretty quickly with the following error.
The attached patch fixes it.
Hacking autoconf.h... make[1]: Entering directory `/home/colin/Development/Personal/ALSA/alsa-driver/include' make -C sound prepare make[2]: Entering directory `/home/colin/Development/Personal/ALSA/alsa-driver/include/sound' make prepare2 make[3]: Entering directory `/home/colin/Development/Personal/ALSA/alsa-driver/include/sound' cp ../../alsa-kernel/include/ac97_codec.h . patch -p0 -i ac97_codec.patch ac97_codec.h patching file ac97_codec.h Hunk #1 succeeded at 650 (offset 5 lines). cp ../../alsa-kernel/include/core.h . patch -p0 -i core.patch core.h patching file core.h cp ../../alsa-kernel/include/info.h . cp: `../../alsa-kernel/include/info.h' and `./info.h' are the same file
I don't see this error using 'alsa-compile.sh --git' on Fedora 14... Make sure that the alsa-driver tree is clean before build.
Both trees are clean.
They are clones from
git://git.alsa-project.org/alsa-driver.git and git://git.alsa-project.org/alsa-kernel.git
I'm trying Takashi's other repos, now but the sound-2.6 clone is taking about 2h and counting....
If you have another kernel git tree, you can clone more quickly via --reference option.
% git clone --reference /somewhere/linus-2.6.git ..../sound-2.6.git
Takashi