From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 98167] [vulkan, radv] missing libgcrypt and openssl devel
results in linker error in libvulkan_common
Date: Sat, 08 Oct 2016 20:11:13 +0000
Message-ID:
Bug ID
98167
Summary
[vulkan, radv] missing libgcrypt and openssl devel results in=
linker error in libvulkan_common
Product
Mesa
Version
git
Hardware
Other
OS
All
Status
NEW
Severity
normal
Priority
medium
Component
Drivers/Gallium/radeonsi
Assignee
dri-devel@lists.freedesktop.org
Reporter
vedran@miletic.net
QA Contact
dri-devel@lists.freedesktop.org
CC vk_format_table.lo
CC radv_wsi_x11.lo
CC radv_wsi_wayland.lo
GEN dev_icd.json
CC winsys/amdgpu/radv_amdgpu_bo.lo
CC winsys/amdgpu/radv_amdgpu_cs.lo
CC winsys/amdgpu/radv_amdgpu_surface.lo
CC winsys/amdgpu/radv_amdgpu_winsys.lo
CCLD libvulkan_common.la
CXXLD libvulkan_radeon.la
./.libs/libvulkan_common.a(radv_pipeline.o): In function
`radv_pipeline_compile':
/home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline.c:373: undefined
reference to `_mesa_sha1_compute'
./.libs/libvulkan_common.a(radv_pipeline.o): In function
`radv_CreateShaderModule':
/home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline.c:86: undefined
reference to `_mesa_sha1_compute'
./.libs/libvulkan_common.a(radv_descriptor_set.o): In function
`radv_CreatePipelineLayout':
/home/vedranm/workspace/mesa/src/amd/vulkan/radv_descriptor_set.c:196:
undefined reference to `_mesa_sha1_init'
/home/vedranm/workspace/mesa/src/amd/vulkan/radv_descriptor_set.c:206:
undefined reference to `_mesa_sha1_update'
/home/vedranm/workspace/mesa/src/amd/vulkan/radv_descriptor_set.c:219:
undefined reference to `_mesa_sha1_update'
/home/vedranm/workspace/mesa/src/amd/vulkan/radv_descriptor_set.c:221:
undefined reference to `_mesa_sha1_final'
./.libs/libvulkan_common.a(radv_pipeline_cache.o): In function
`radv_hash_shader':
/home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline_cache.c:92: undef=
ined
reference to `_mesa_sha1_init'
/home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline_cache.c:94: undef=
ined
reference to `_mesa_sha1_update'
/home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline_cache.c:95: undef=
ined
reference to `_mesa_sha1_update'
/home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline_cache.c:96: undef=
ined
reference to `_mesa_sha1_update'
/home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline_cache.c:98: undef=
ined
reference to `_mesa_sha1_update'
/home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline_cache.c:100:
undefined reference to `_mesa_sha1_update'
./.libs/libvulkan_common.a(radv_pipeline_cache.o):/home/vedranm/workspace/m=
esa/src/amd/vulkan/radv_pipeline_cache.c:102:
more undefined references to `_mesa_sha1_update' follow
./.libs/libvulkan_common.a(radv_pipeline_cache.o): In function
`radv_hash_shader':
/home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline_cache.c:104:
undefined reference to `_mesa_sha1_final'
collect2: error: ld returned 1 exit status
Makefile:868: recipe for target 'libvulkan_radeon.la' failed
make[4]: *** [libvulkan_radeon.la] Error 1
make[4]: Leaving directory '/home/vedranm/workspace/mesa/src/amd/vulkan'
Makefile:769: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/vedranm/workspace/mesa/src/amd/vulkan'
Makefile:865: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/vedranm/workspace/mesa/src'
Makefile:656: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/vedranm/workspace/mesa/src'
Makefile:652: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Installing openssl-devel or libgcrypt-devel fixes the problem. Configure sc=
ript
should detect this and produce a user friendly warning.