2011-09-24 11:02:21     alsa-lib, libao dependency fail because of parallel make

Document created by Aaronwu Employee on Aug 27, 2013
Version 1Show Document
  • View in full screen mode

2011-09-24 11:02:21     alsa-lib, libao dependency fail because of parallel make

Timur Aydin (TURKEY)

Message: 103523   

 

Hi,

 

I have enabled the building of libao, after adding "--enable-alsa09" to the configure script invocation. Then I have done a clean rebuild the uclinux distribution. But after the build was complete (no errors) the alsa plugin didn't exist under /usr/lib/ao/plugins2. Then I collected the entire build log and found the places where libao is built. My build machine is an 8 core machine, so there are many make jobs running concurrently. I noticed that alsa-lib build was in progress while libao started building.

 

Then I cleaned the uclinux-dist folder and did the rebuild using "make single". This time, the alsa plugin was present in /usr/lib/ao/plugins2. So the question is, how do I resolve this dependency? I tried adding the special ".NOTPARALLEL" target into the top level makefile of libao (at the beginning of the makefile), but this hasn't resolved the issue. Can somebody point me into the right direction?

QuoteReplyEditDelete

 

 

2011-09-25 17:10:55     alsa-lib, libao dependency fail because ofparallel make

Rob Maris (GERMANY)

Message: 103526    I'm encountering the same problem, and I'm quite sure that it occured

after updating to aolib 1.0.0. However, I didn't care much about it,

besides being aware of it when I do a clean build: Exactly as you manage

it, by doing a make ..._only.

QuoteReplyEditDelete

 

 

2011-09-27 09:30:49     Re: alsa-lib, libao dependency fail because ofparallel make

Timur Aydin (TURKEY)

Message: 103581   

 

I suppose I could add a dependency to the libao makefile, which in its implementation just waits for alsa-lib compilation to finish. But this sounds rather ugly ...

 

It seems the proper solution would be a new makefile directive that allows this type of external project dependency to be specified.

Attachments

    Outcomes