[Mesa-dev] Error when trying to compile RADV
jakub.hlusicka at email.cz
Sat Oct 1 16:44:57 UTC 2016
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:
sudo ln -s /usr/include/llvm-3.9/llvm/ /usr/include/llvm
sudo ln -s /usr/include/llvm-c-3.9/llvm-c/ /usr/include/llvm-c
Now I seem to be getting a different error:
ac_llvm_util.c: In function ‘ac_init_llvm_target’:
ac_llvm_util.c:13:2: error: implicit declaration of function
ac_llvm_util.c:14:2: error: implicit declaration of function
ac_llvm_util.c:15:2: error: implicit declaration of function
ac_llvm_util.c:16:2: error: implicit declaration of function
cc1: some warnings being treated as errors
Full log: http://pastebin.com/QgyQdX0r
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.
Thank you for the help everyone, much appreciated!
Jakub "Limeth" Hlusička
On So, říj 1, 2016 at 5:29 , Bas Nieuwenhuizen
<bas at basnieuwenhuizen.nl> wrote:
> 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 <jakub.hlusicka at email.cz>
>> I decided to try out the work-in-progress AMD driver with Vulkan
>> But when I try to compile the source, it fails -- see the log:
>> 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
>> mesa-dev at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mesa-dev