[pulseaudio-discuss] Build system: Makefile.am patches

Colin Guthrie gmane at colin.guthr.ie
Mon Jan 31 16:47:54 PST 2011


'Twas brillig, and Colin Guthrie at 31/01/11 17:40 did gyre and gimble:
> make[1]: Entering directory
> `/home/colin/Development/Personal/Mandriva/pulse/pulseaudio/SOURCES/pulseaudio/dc/pulseaudio-1.0-dev-66-g1df413/_build'
> make  all-recursive
> make[2]: Entering directory
> `/home/colin/Development/Personal/Mandriva/pulse/pulseaudio/SOURCES/pulseaudio/dc/pulseaudio-1.0-dev-66-g1df413/_build'
> Making all in src
> make[3]: Entering directory
> `/home/colin/Development/Personal/Mandriva/pulse/pulseaudio/SOURCES/pulseaudio/dc/pulseaudio-1.0-dev-66-g1df413/_build/src'
>   ORCC   modules/echo-cancel/adrian-aec-orc-gen.c
> Could not read input file:
> ../../src/../../src/modules/echo-cancel/adrian-aec.orc
> make[3]: *** [modules/echo-cancel/adrian-aec-orc-gen.c] Error 1
> make[3]: Leaving directory
> `/home/colin/Development/Personal/Mandriva/pulse/pulseaudio/SOURCES/pulseaudio/dc/pulseaudio-1.0-dev-66-g1df413/_build/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/colin/Development/Personal/Mandriva/pulse/pulseaudio/SOURCES/pulseaudio/dc/pulseaudio-1.0-dev-66-g1df413/_build'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/colin/Development/Personal/Mandriva/pulse/pulseaudio/SOURCES/pulseaudio/dc/pulseaudio-1.0-dev-66-g1df413/_build'
> make: *** [distcheck] Error 1
> 
> 
> Looks like a double _top_builddir in there or similar. Not had a chance
> to fix this yet. so not pushed, but if you happen to suss it out, just
> ping me, otherwise I'll try and take a look this evening!

I'm struggling to fix this :(

I can make orc.mak work fine for some builds but not others.

With the one you provide, I can run an in-tree build but it breaks with
any kind of out-of-tree build.

If I change $srcdir to $top_srcdir in orc.mak then it works for
out-of-tree but breaks with in-tree...

I think the problem is that the orc.mak is static and we may need it to
be part of the autotools magic? Do you have more foo than me in this
regard? Would this actually solve the problem?

Col


-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

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/]




More information about the pulseaudio-discuss mailing list