[alsa-devel] [PATCH] alsa-driver git repo: Build problems when copying symlink to itself

Colin Guthrie gmane at colin.guthr.ie
Sat Mar 12 11:30:48 CET 2011


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

The build bombed out pretty quickly with the following error.

The attached patch fixes it.

Hacking autoconf.h...
make[1]: Entering directory
make -C sound prepare
make[2]: Entering directory
make prepare2
make[3]: Entering directory
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
make[3]: *** [info.h] Error 1
make[3]: Leaving directory
make[2]: *** [prepare] Error 2
make[2]: Leaving directory
make[1]: *** [prepare] Error 2
make[1]: Leaving directory
make: *** [dep] Error 1


Colin Guthrie

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-broken-build-due-to-cp-symlink-behaviour.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20110312/e1959393/attachment.patch 

More information about the Alsa-devel mailing list