[Bug 28247] New: d3dx9_36/mesh.c compile broken on uclibc
http://bugs.winehq.org/show_bug.cgi?id=28247 Summary: d3dx9_36/mesh.c compile broken on uclibc Product: Wine Version: 1.3.27 Platform: x86 URL: http://git.alpinelinux.org/cgit/aports/tree/main/wine/ uclibc-fmaxf-fminf.patch?id=c9b491b6099eec02a835ffd055 39b5c783c6c43a OS/Version: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs(a)winehq.org ReportedBy: austinenglish(a)gmail.com CC: wine-bugs(a)winehq.org I found Alpine Linux, which uses busybox/uclibc by default instead of glibc. First problem, build fails on d3dx9_36/mesh.c: ../../tools/winegcc/winegcc -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared ./d3dx9_36.spec core.o d3dx9_36_main.o effect.o font.o line.o math.o mesh.o shader.o skin.o sprite.o surface.o texture.o util.o volume.o version.res -o d3dx9_36.dll.so -ld3d9 -ld3dcompiler -ldxguid -ld3dxof -lole32 -lgdi32 -luser32 ../../libs/port/libwine_port.a mesh.o: In function `parse_vertex_colors': /root/wine-git/dlls/d3dx9_36/mesh.c:2551: undefined reference to `fmaxf' /root/wine-git/dlls/d3dx9_36/mesh.c:2551: undefined reference to `fminf' /root/wine-git/dlls/d3dx9_36/mesh.c:2552: undefined reference to `fmaxf' /root/wine-git/dlls/d3dx9_36/mesh.c:2552: undefined reference to `fminf' /root/wine-git/dlls/d3dx9_36/mesh.c:2553: undefined reference to `fmaxf' /root/wine-git/dlls/d3dx9_36/mesh.c:2553: undefined reference to `fminf' /root/wine-git/dlls/d3dx9_36/mesh.c:2554: undefined reference to `fmaxf' /root/wine-git/dlls/d3dx9_36/mesh.c:2554: undefined reference to `fminf' collect2: ld returned 1 exit status winegcc: gcc failed make: *** [d3dx9_36.dll.so] Error 2 there's a patch available on the alpine package: http://git.alpinelinux.org/cgit/aports/tree/main/wine/uclibc-fmaxf-fminf.pat... though perhaps that definition should go in libs/port/wine instead? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=28247 --- Comment #1 from André H. <nerv(a)dawncrow.de> 2011-09-03 08:25:24 CDT --- Created an attachment (id=36215) --> (http://bugs.winehq.org/attachment.cgi?id=36215) adding the functiosn to libport could you please try that patch -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=28247 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2011-09-06 17:36:34 CDT --- (In reply to comment #1)
Created an attachment (id=36215) --> (http://bugs.winehq.org/attachment.cgi?id=36215) [details] adding the functiosn to libport
could you please try that patch
Works, thanks! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=28247 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=28247 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from André H. <nerv(a)dawncrow.de> 2011-09-08 15:48:06 CDT --- fixed by http://source.winehq.org/git/wine.git/commit/4cddd5ffdf0c568445365c6c62e7788... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=28247 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> 2011-09-09 12:54:52 CDT --- Closing bugs fixed in 1.3.28. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
https://bugs.winehq.org/show_bug.cgi?id=28247 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |4cddd5ffdf0c568445365c6c62e | |7788d7dbbca7d -- 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.
participants (1)
-
wine-bugs@winehq.org