https://bugs.winehq.org/show_bug.cgi?id=39816
--- Comment #19 from Sergey Isakov isakov-sl@bk.ru --- Something wrong in the patch. 1. If utils.c renamed to d3d10_utils.c then old util.s should be removed from makefile.in
2. Link errors ~~~ Undefined symbols for architecture i386: "_add_declaration", referenced from: _declare_vars in hlsl.tab.o _add_func_parameter in hlsl.tab.o "_add_function_decl", referenced from: _hlsl_parse in hlsl.tab.o "_clone_hlsl_type", referenced from: _hlsl_parse in hlsl.tab.o _add_typedef in hlsl.tab.o "_compare_hlsl_types", referenced from: _hlsl_parse in hlsl.tab.o "_compatible_data_types", referenced from: _hlsl_parse in hlsl.tab.o "_compilation_message", referenced from: _hlsl_message in hlsl.tab.o "_components_count_type", referenced from: _hlsl_parse in hlsl.tab.o _declare_vars in hlsl.tab.o "_debug_d3dcompiler_shader_variable_class", referenced from: _get_reflection_type in reflection.o "_debug_d3dcompiler_shader_variable_type", referenced from: _get_reflection_type in reflection.o "_debug_dump_ir_function_decl", referenced from: _dump_function_decl in hlsl.tab.o "_debug_hlsl_type", referenced from: _hlsl_parse in hlsl.tab.o _gen_struct_fields in hlsl.tab.o _debug_dump_decl in hlsl.tab.o "_debug_modifiers", referenced from: _hlsl_parse in hlsl.tab.o _declare_vars in hlsl.tab.o _debug_dump_decl in hlsl.tab.o "_dxbc_destroy", referenced from: _d3dcompiler_shader_reflection_init in reflection.o "_dxbc_parse", referenced from: _d3dcompiler_shader_reflection_init in reflection.o "_find_function", referenced from: _declare_vars in hlsl.tab.o _hlsl_lex in hlsl.yy.o "_free_declaration", referenced from: _declare_vars in hlsl.tab.o _add_func_parameter in hlsl.tab.o _parse_hlsl in hlsl.tab.o "_free_function_rb", referenced from: _parse_hlsl in hlsl.tab.o "_free_hlsl_type", referenced from: _parse_hlsl in hlsl.tab.o "_free_instr", referenced from: _hlsl_parse in hlsl.tab.o _declare_vars in hlsl.tab.o _create_loop in hlsl.tab.o "_free_instr_list", referenced from: _declare_vars in hlsl.tab.o _gen_struct_fields in hlsl.tab.o _create_loop in hlsl.tab.o "_get_type", referenced from: _hlsl_parse in hlsl.tab.o _add_type_to_scope in hlsl.tab.o _hlsl_lex in hlsl.yy.o "_get_variable", referenced from: _hlsl_parse in hlsl.tab.o _declare_vars in hlsl.tab.o _hlsl_lex in hlsl.yy.o "_hlsl_add", referenced from: _hlsl_parse in hlsl.tab.o "_hlsl_div", referenced from: _hlsl_parse in hlsl.tab.o "_hlsl_eq", referenced from: _hlsl_parse in hlsl.tab.o "_hlsl_ge", referenced from: _hlsl_parse in hlsl.tab.o (maybe you meant: _hlsl_get_leng, _hlsl_get_out , _hlsl_get_in , _hlsl_get_debug , _hlsl_get_text , _hlsl_get_lineno ) "_hlsl_gt", referenced from: _hlsl_parse in hlsl.tab.o "_hlsl_le", referenced from: _hlsl_parse in hlsl.tab.o (maybe you meant: _hlsl_leng, _hlsl_lex , _hlsl_lex_destroy ) "_hlsl_lt", referenced from: _hlsl_parse in hlsl.tab.o "_hlsl_mod", referenced from: _hlsl_parse in hlsl.tab.o "_hlsl_mul", referenced from: _hlsl_parse in hlsl.tab.o "_hlsl_ne", referenced from: _hlsl_parse in hlsl.tab.o (maybe you meant: _hlsl_nerrs) "_hlsl_sub", referenced from: _hlsl_parse in hlsl.tab.o "_init_functions_tree", referenced from: _parse_hlsl in hlsl.tab.o "_make_assignment", referenced from: _hlsl_parse in hlsl.tab.o _declare_vars in hlsl.tab.o "_new_array_type", referenced from: _hlsl_parse in hlsl.tab.o _declare_vars in hlsl.tab.o _add_typedef in hlsl.tab.o "_new_cast", referenced from: _hlsl_parse in hlsl.tab.o "_new_expr", referenced from: _hlsl_parse in hlsl.tab.o _create_loop in hlsl.tab.o "_new_func_decl", referenced from: _hlsl_parse in hlsl.tab.o "_new_hlsl_type", referenced from: _hlsl_parse in hlsl.tab.o _parse_hlsl in hlsl.tab.o "_new_record_deref", referenced from: _hlsl_parse in hlsl.tab.o _declare_vars in hlsl.tab.o "_new_var_deref", referenced from: _hlsl_parse in hlsl.tab.o "_pop_scope", referenced from: _hlsl_parse in hlsl.tab.o "_push_scope", referenced from: _hlsl_parse in hlsl.tab.o _parse_hlsl in hlsl.tab.o "_skip_dword_unknown", referenced from: _d3dcompiler_shader_reflection_init in reflection.o _d3dcompiler_parse_signature in reflection.o _get_reflection_type in reflection.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) winegcc: clang failed make[1]: *** [d3d10.dll.so] Error 2 ~~~