[Mesa-dev] Error when trying to compile RADV
Limeth
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
‘LLVMInitializeR600TargetInfo’
[-Werror=implicit-function-declaration]
LLVMInitializeR600TargetInfo();
^
ac_llvm_util.c:14:2: error: implicit declaration of function
‘LLVMInitializeR600Target’ [-Werror=implicit-function-declaration]
LLVMInitializeR600Target();
^
ac_llvm_util.c:15:2: error: implicit declaration of function
‘LLVMInitializeR600TargetMC’ [-Werror=implicit-function-declaration]
LLVMInitializeR600TargetMC();
^
ac_llvm_util.c:16:2: error: implicit declaration of function
‘LLVMInitializeR600AsmPrinter’
[-Werror=implicit-function-declaration]
LLVMInitializeR600AsmPrinter();
^
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:
> 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 <jakub.hlusicka at email.cz>
> wrote:
>> Hello,
>> I decided to try out the work-in-progress AMD driver with Vulkan
>> support:
>> https://github.com/airlied/mesa/tree/semi-interesting
>> But when I try to compile the source, it fails -- see the log:
>> http://pastebin.com/1nCQYCEF
>>
>> 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
>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161001/d6b80851/attachment.html>
More information about the mesa-dev
mailing list