<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-03-08 17:44 GMT+01:00 Emil Velikov <span dir="ltr"><<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 5 March 2017 at 21:23, Mauro Rossi <<a href="mailto:issor.oruam@gmail.com">issor.oruam@gmail.com</a>> wrote:<br>
> Adding libmesa_amd_common dependency and exporting its headers,<br>
> avoids the following building error:<br>
><br>
> external/mesa/src/gallium/<wbr>drivers/r600/evergreen_<wbr>compute.c:29:10: fatal error: 'ac_binary.h' file not found<br>
>          ^<br>
> 1 error generated.<br>
><br>
> Fixes: 3bbbb63 "automake: r600: radeonsi: correctly manage <a href="http://libamd_common.la" rel="noreferrer" target="_blank">libamd_common.la</a> linking"<br>
> Fixes: 503fb13 "radeon/ac: switch to ac_shader_binary_config_start(<wbr>)"<br>
<br>
</span>Thank you Mauro.<br>
I've applied a bit of polish and pushed to master.<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
-Emil<br></font></span></blockquote><div><br></div><div>Hi Emil,</div><div><br></div><div>With your v2 change I'm getting this building error, while it was building ok with the header export inlibmesa_amd_common module.<br></div><div><br></div><div>[ 10% 389/3870] target  C: libmesa_pipe_r600_32 <= external/mesa/src/gallium/drivers/r600/evergreen_compute.c<br></div><div>...</div><div><div>external/mesa/src/gallium/drivers/r600/evergreen_compute.c:29:10: fatal error: 'ac_binary.h' file not found</div><div>#include "ac_binary.h"</div><div>         ^</div><div>1 error generated.</div><div>[  7% 232/3232] target  C: libmesa_pipe_r600_32 <= external/mesa/src/gallium/drivers/r600/r600_asm.c</div><div>ninja: build stopped: subcommand failed.</div><div>build/core/<a href="http://ninja.mk:148">ninja.mk:148</a>: recipe for target 'ninja_wrapper' failed</div><div>make: *** [ninja_wrapper] Error 1</div><div><br></div><div>#### make failed to build some targets (07:03 (mm:ss)) ####</div></div></div><br></div></div>