[2061/2285] Linking target src/glx/libGLX_mesa.so.0.0.0. FAILED: src/glx/libGLX_mesa.so.0.0.0 gcc -m32 -o src/glx/libGLX_mesa.so.0.0.0 -flto -Wl,--no-undefined -Wl,--as-needed -shared -fPIC -Wl,--start-group -Wl,-soname,libGLX_mesa.so.0 -Wl,--whole-archive src/glx/libglx.a -Wl,--no-whole-archive -march=native -mtune=native -O3 -pipe -fstack-protector-strong -fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now src/mapi/glapi/libglapi_static.a src/mapi/shared-glapi/libglapi.so.0.0.0 src/loader/libloader.a src/loader/libloader_dri3_helper.a src/util/libmesa_util.a src/util/libxmlconfig.a -Wl,-Bsymbolic -Wl,--gc-sections /usr/lib32/libdrm.so -ldl -lm /usr/lib32/libX11.so /usr/lib32/libxcb-glx.so /usr/lib32/libxcb.so /usr/lib32/libX11-xcb.so /usr/lib32/libxcb-dri2.so /usr/lib32/libXext.so /usr/lib32/libXfixes.so /usr/lib32/libXdamage.so /usr/lib32/libXxf86vm.so /usr/lib32/libxcb-dri3.so /usr/lib32/libxcb-present.so /usr/lib32/libxcb-sync.so /usr/lib32/libxshmfence.so /usr/lib32/libz.so /usr/lib32/libexpat.so -Wl,--end-group -pthread '-Wl,-rpath,$ORIGIN/../mapi/glapi:$ORIGIN/../mapi/shared-glapi' -Wl,-rpath-link,/home/jarmo/Ohjelmat/xf86-video-amdgpu/lib32-mesa/trunk/src/build/src/mapi/glapi:/home/jarmo/Ohjelmat/xf86-video-amdgpu/lib32-mesa/trunk/src/build/src/mapi/shared-glapi /usr/bin/ld: /tmp/ccjhLoRl.ltrans0.ltrans.o: in function `dri2Flush.constprop.11': :(.text+0xb1f9): undefined reference to `glFlush' /usr/bin/ld: /tmp/ccjhLoRl.ltrans1.ltrans.o: in function `driCopySubBuffer': :(.text+0x20aa): undefined reference to `glFlush' /usr/bin/ld: /tmp/ccjhLoRl.ltrans1.ltrans.o: in function `driSwapBuffers': :(.text+0x2102): undefined reference to `glFlush' /usr/bin/ld: /tmp/ccjhLoRl.ltrans1.ltrans.o: in function `driswSwapBuffers': :(.text+0x2152): undefined reference to `glFlush' /usr/bin/ld: /tmp/ccjhLoRl.ltrans1.ltrans.o: in function `driswCopySubBuffer': :(.text+0x21ca): undefined reference to `glFlush' /usr/bin/ld: /tmp/ccjhLoRl.ltrans1.ltrans.o: in function `DRI_glXUseXFont': :(.text+0x6c92): undefined reference to `glGetIntegerv' /usr/bin/ld: :(.text+0x6ca4): undefined reference to `glGetIntegerv' /usr/bin/ld: :(.text+0x6cb6): undefined reference to `glGetIntegerv' /usr/bin/ld: :(.text+0x6cc8): undefined reference to `glGetIntegerv' /usr/bin/ld: :(.text+0x6cda): undefined reference to `glGetIntegerv' /usr/bin/ld: /tmp/ccjhLoRl.ltrans1.ltrans.o::(.text+0x6cec): more undefined references to `glGetIntegerv' follow /usr/bin/ld: /tmp/ccjhLoRl.ltrans1.ltrans.o: in function `DRI_glXUseXFont': :(.text+0x6cfb): undefined reference to `glPixelStorei' /usr/bin/ld: :(.text+0x6d0a): undefined reference to `glPixelStorei' /usr/bin/ld: :(.text+0x6d19): undefined reference to `glPixelStorei' /usr/bin/ld: :(.text+0x6d28): undefined reference to `glPixelStorei' /usr/bin/ld: :(.text+0x6d37): undefined reference to `glPixelStorei' /usr/bin/ld: /tmp/ccjhLoRl.ltrans1.ltrans.o::(.text+0x6d46): more undefined references to `glPixelStorei' follow /usr/bin/ld: /tmp/ccjhLoRl.ltrans1.ltrans.o: in function `DRI_glXUseXFont': :(.text+0x6e59): undefined reference to `glNewList' /usr/bin/ld: :(.text+0x6e9c): undefined reference to `glBitmap' /usr/bin/ld: :(.text+0x6ea5): undefined reference to `glEndList' /usr/bin/ld: :(.text+0x70ba): undefined reference to `glBitmap' /usr/bin/ld: :(.text+0x714b): undefined reference to `glPixelStorei' /usr/bin/ld: :(.text+0x715c): undefined reference to `glPixelStorei' /usr/bin/ld: :(.text+0x716d): undefined reference to `glPixelStorei' /usr/bin/ld: :(.text+0x717e): undefined reference to `glPixelStorei' /usr/bin/ld: :(.text+0x718f): undefined reference to `glPixelStorei' /usr/bin/ld: /tmp/ccjhLoRl.ltrans1.ltrans.o::(.text+0x71a0): more undefined references to `glPixelStorei' follow /usr/bin/ld: /tmp/ccjhLoRl.ltrans3.ltrans.o: in function `MakeContextCurrent': :(.text+0xa9c2): undefined reference to `glGetString' /usr/bin/ld: :(.text+0xa9cf): undefined reference to `glGetString' collect2: virhe: ld:n paluuarvo oli 1 [2076/2285] Linking target src/amd/vulkan/libvulkan_radeon.so. ../mesa-19.0.5/src/amd/addrlib/src/chip/gfx9/gfx9_gb_reg.h:47:7: varoitus: type ”union GB_ADDR_CONFIG” violates the C++ One Definition Rule [-Wodr] union GB_ADDR_CONFIG { ^ ../mesa-19.0.5/src/amd/addrlib/src/chip/r800/si_gb_reg.h:100:3: huom: a different type is defined in another translation unit } GB_ADDR_CONFIG; ^ ../mesa-19.0.5/src/amd/addrlib/src/chip/gfx9/gfx9_gb_reg.h:82:7: huom: the first difference of corresponding definitions is field ”bitfields” } bitfields, bits; ^ ../mesa-19.0.5/src/amd/addrlib/src/chip/r800/si_gb_reg.h:98:25: huom: a field with different name is defined in another translation unit unsigned int val : 32; ^ [2077/2285] Linking target src/intel/vulkan/libvulkan_intel.so. ../mesa-19.0.5/src/intel/compiler/brw_fs_live_variables.h:38:8: varoitus: type ”struct block_data” violates the C++ One Definition Rule [-Wodr] struct block_data { ^ ../mesa-19.0.5/src/intel/compiler/brw_vec4_live_variables.h:36:8: huom: a different type is defined in another translation unit struct block_data { ^ ../mesa-19.0.5/src/intel/compiler/brw_fs_live_variables.h:62:17: huom: the first difference of corresponding definitions is field ”defin” BITSET_WORD *defin; ^ ../mesa-19.0.5/src/intel/compiler/brw_vec4_live_variables.h:56:26: huom: a field with different name is defined in another translation unit BITSET_WORD flag_def[1]; ^ ../mesa-19.0.5/src/compiler/nir/nir.h:2979:10: varoitus: ”nir_get_io_offset_src”:n tyyppi ei täsmää aiemman esittelyn kanssa [-Wlto-type-mismatch] nir_src *nir_get_io_offset_src(nir_intrinsic_instr *instr); ^ ../mesa-19.0.5/src/compiler/nir/nir_lower_io.c:1035:1: huom: ”nir_get_io_offset_src” was previously declared here nir_get_io_offset_src(nir_intrinsic_instr *instr) ^ ../mesa-19.0.5/src/compiler/nir/nir_lower_io.c:1035:1: huom: code may be misoptimized unless -fno-strict-aliasing is used ../mesa-19.0.5/src/compiler/nir/nir.h:2375:22: varoitus: ”nir_intrinsic_instr_create”:n tyyppi ei täsmää aiemman esittelyn kanssa [-Wlto-type-mismatch] nir_intrinsic_instr *nir_intrinsic_instr_create(nir_shader *shader, ^ ../mesa-19.0.5/src/compiler/nir/nir.c:497:1: huom: ”nir_intrinsic_instr_create” was previously declared here nir_intrinsic_instr_create(nir_shader *shader, nir_intrinsic_op op) ^ ../mesa-19.0.5/src/compiler/nir/nir.c:497:1: huom: code may be misoptimized unless -fno-strict-aliasing is used