[Bug 27833] New: Direct3D-9 math compilation failure, due to missing NAN and INFINITY
http://bugs.winehq.org/show_bug.cgi?id=27833 Summary: Direct3D-9 math compilation failure, due to missing NAN and INFINITY Product: Wine Version: 1.3.24 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: Nachanon_Vetjasit(a)hotmail.com Created an attachment (id=35599) --> (http://bugs.winehq.org/attachment.cgi?id=35599) Full make output I'm trying to compile wine-1.3.24 on Debian GNU/Linux 5.0 Lenny i386, after a successfull configure, with warnings that xinput2, opencl, gstreamer and oss support won't be enabled, then I left it to compile, and it finally ended up with: ... gcc -c -I. -I. -I../../../include -I../../../include -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -g -O2 -o math.o math.c math.c: In function 'test_D3DXFloat_Array': math.c:2251: error: 'INFINITY' undeclared (first use in this function) math.c:2251: error: (Each undeclared identifier is reported only once math.c:2251: error: for each function it appears in.) math.c:2253: error: 'NAN' undeclared (first use in this function) make[1]: *** [math.o] Error 1 make[1]: Leaving directory `/home/window/build/wine-1.3.24/dlls/d3dx9_36/tests' make: *** [dlls/d3dx9_36/tests] Error 2 Adding "#define _GNU_SOURCE" before the first line of math.c, making math.c looked like this: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ #define _GNU_SOURCE #include "wine/test.h" #include "d3dx9.h" #include <math.h> could make the compilation continue, but it might not be an appropriate fix. System: Debian GNU/Linux 5.0 Lenny (i386: Celeron 2GHz) uname: Linux WINDOW 2.6.26-2-686 #1 SMP Thu Sep 16 19:35:51 UTC 2010 i686 GNU/Linux GCC: Debian Package version 4.3.2-1.1 GNU libc: Debian Package version 2.7-18lenny7 Note: Both configure and make, invoked without any parameter (plain 'configure' followed by a single plain 'make') -- 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=27833 --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2011-07-22 22:57:51 CDT --- Retry with 1.3.25, this should be fixed. -- 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=27833 --- Comment #2 from Nachanon Vetjasit <Nachanon_Vetjasit(a)hotmail.com> 2011-08-07 08:17:08 CDT --- OK, both wine-1.3.25, and wine-1.3.24 with a patch http://source.winehq.org/git/wine.git/commitdiff/14e93e79d6b58a7c9e9630379a2... applied, compiled fine. So, this is likely to be a duplicate of bug #27676 now. -- 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=27833 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |dank(a)kegel.com Resolution| |DUPLICATE --- Comment #3 from Dan Kegel <dank(a)kegel.com> 2011-08-07 08:52:23 CDT --- marking dup. *** This bug has been marked as a duplicate of bug 27676 *** -- 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=27833 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2011-08-08 15:19:42 CDT --- Closing. -- 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.
participants (1)
-
wine-bugs@winehq.org