<div>I have found out that the llvm-3.9 installation directory in Ubuntu is not as you said and ended up creating symlinks to it:</div><div>```</div><div><div>sudo ln -s /usr/include/llvm-3.9/llvm/ /usr/include/llvm</div><div>sudo ln -s /usr/include/llvm-c-3.9/llvm-c/ /usr/include/llvm-c</div></div><div>```</div><div><br></div><div>Now I seem to be getting a different error:</div><div>```</div><div><div>ac_llvm_util.c: In function ‘ac_init_llvm_target’:</div><div>ac_llvm_util.c:13:2: error: implicit declaration of function ‘LLVMInitializeR600TargetInfo’ [-Werror=implicit-function-declaration]</div><div> LLVMInitializeR600TargetInfo();</div><div> ^</div><div>ac_llvm_util.c:14:2: error: implicit declaration of function ‘LLVMInitializeR600Target’ [-Werror=implicit-function-declaration]</div><div> LLVMInitializeR600Target();</div><div> ^</div><div>ac_llvm_util.c:15:2: error: implicit declaration of function ‘LLVMInitializeR600TargetMC’ [-Werror=implicit-function-declaration]</div><div> LLVMInitializeR600TargetMC();</div><div> ^</div><div>ac_llvm_util.c:16:2: error: implicit declaration of function ‘LLVMInitializeR600AsmPrinter’ [-Werror=implicit-function-declaration]</div><div> LLVMInitializeR600AsmPrinter();</div><div> ^</div><div>cc1: some warnings being treated as errors</div></div><div>```</div><div>Full log: <a href="http://pastebin.com/QgyQdX0r">http://pastebin.com/QgyQdX0r</a></div><div><br></div><div>After further investigation, I've found that this error resides in RADV-specific source code; now I'm on my own. I will proceed to revert to older, working commits on that branch.</div><div><br></div><div>Thank you for the help everyone, much appreciated!</div><div>Jakub "Limeth" Hlusička</div><br>
On So, říj 1, 2016 at 5:29 , Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> wrote:<br>
<blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">Hi,
Do you have LLVM development packages installed? It seems configure
can't find llvm-config and the header that can't be found is in the
standard include path, at least for archlinux (i.e.
/usr/include/llvm-c/TargetMachine.h). radv needs LLVM 3.9 development
packages or newer.
The issue Gustaw referred to is probably the cause of configure not
giving an error about it. If you want to be sure this is handled
right, also enable radeonsi to be build.
Yours sincerely,
Bas Nieuwenhuizen
On Sat, Oct 1, 2016 at 2:23 PM, Limeth <<a href="mailto:jakub.hlusicka@email.cz">jakub.hlusicka@email.cz</a>> wrote:
<blockquote> Hello,
I decided to try out the work-in-progress AMD driver with Vulkan support:
<a href="https://github.com/airlied/mesa/tree/semi-interesting">https://github.com/airlied/mesa/tree/semi-interesting</a>
But when I try to compile the source, it fails -- see the log:
<a href="http://pastebin.com/1nCQYCEF">http://pastebin.com/1nCQYCEF</a>
Is this a common problem with the official mesa3d repo aswell, or is it
RADV-specific? How can I resolve this?
Thank you,
Jakub "Limeth" Hlusička
_______________________________________________
mesa-dev mailing list
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a>
</blockquote></div></blockquote><br><br>