http://bugs.winehq.org/show_bug.cgi?id=58881 Aleksey Komarov <q4arus(a)ya.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |q4arus(a)ya.ru --- Comment #3 from Aleksey Komarov <q4arus(a)ya.ru> --- Created attachment 79766 --> http://bugs.winehq.org/attachment.cgi?id=79766 test program v2 Hi. Sorry for delay. I tested your example a week ago and it worked, but I didn't have time to check the details. Now you can check my modifications of your example and it gives me same error: ``` $ make g++ -o vkd3d-static vkd3d-static.cpp -static -g -O2 -Wall -Wextra `pkg-config --cflags libvkd3d-utils` `pkg-config --cflags libvkd3d-shader` `pkg-config --libs libvkd3d-shader` `pkg-config --libs libvkd3d-utils` -lpthread /usr/bin/ld: /tmp/ccO8jJla.ltrans0.ltrans.o: in function `D3DStripShader': /home/q/git/dxvk-test-clean/build/vkd3d-static/test-v2/../../vkd3d-src/libs/vkd3d-utils/vkd3d_utils_main.c:922:(.text+0xbf6): undefined reference to `vkd3d_shader_parse_dxbc' /usr/bin/ld: /home/q/git/dxvk-test-clean/build/vkd3d-static/test-v2/../../vkd3d-src/libs/vkd3d-utils/vkd3d_utils_main.c:946:(.text+0xe6d): undefined reference to `vkd3d_shader_serialize_dxbc' /usr/bin/ld: /home/q/git/dxvk-test-clean/build/vkd3d-static/test-v2/../../vkd3d-src/libs/vkd3d-utils/vkd3d_utils_main.c:957:(.text+0xeb4): undefined reference to `vkd3d_shader_free_shader_code' /usr/bin/ld: /home/q/git/dxvk-test-clean/build/vkd3d-static/test-v2/../../vkd3d-src/libs/vkd3d-utils/vkd3d_utils_main.c:961:(.text+0xec6): undefined reference to `vkd3d_shader_free_dxbc' /usr/bin/ld: /home/q/git/dxvk-test-clean/build/vkd3d-static/test-v2/../../vkd3d-src/libs/vkd3d-utils/vkd3d_utils_main.c:931:(.text+0x1250): undefined reference to `vkd3d_shader_free_dxbc' collect2: error: ld returned 1 exit status make: *** [Makefile:10: vkd3d-static] Error 1 ``` on vkd3d 1.17 (git 06a5039, full hash 06a503975f7808bcefff8bf2ca4e9605926e1ed9). As you can see, I made 2 small changes: 1. Commented out call vkd3d_shader_get_version 2. Swapped link libs: it was: $(LIBVKD3D_UTILS_LIBS) $(LIBVKD3D_SHADER_LIBS) and now: $(LIBVKD3D_SHADER_LIBS) $(LIBVKD3D_UTILS_LIBS) I'm not sure if it's bug or feature, but now I can just change link order: https://github.com/q4a/vkd3d-test/commit/3dcf9f81f29e86d9fe0e7f07e74595a3829... And build+run my test without error: ``` Debug test result: Size of blob from D3DCreateBlob(5760, &codeBufferBlob)==5760 As expected: failed to call D3DStripShader ``` https://github.com/q4a/vkd3d-test/actions/runs/19591876011/job/56111160602 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.