Compilation errors

Shachar Shemesh wine-devel at
Sat Oct 12 16:19:58 CDT 2002

Rizsanyi Zsolt wrote:

>On Saturday 12 October 2002 22:58, Shachar Shemesh wrote:
>>make[2]: Entering directory `/home/sun/sources/wine/wine/dlls/d3d8'
>>../../tools/makedep -I. -I. -I../../include -I../../include
>>-I/usr/X11R6/include -C. basetexture.c cubetexture.c d3d8_main.c
>>device.c directx.c indexbuffer.c resource.c surface.c swapchain.c
>>texture.c vertexbuffer.c volume.c volumetexture.c
>>math.h: No such file or directory
>>  math.h was first included from device.c:26
>>make[2]: *** [depend] Error 1
>>make[2]: Leaving directory `/home/sun/sources/wine/wine/dlls/d3d8'
>>make[1]: *** [d3d8/__depend__] Error 2
>>make[1]: Leaving directory `/home/sun/sources/wine/wine/dlls'
>>make: *** [dlls/__depend__] Error 2
>>The strange thing is that /usr/include/math.h exists, and seems ok. Then
>>again, it does not appear to be in the include path provided for the
>>command. Explanations?
>The problem is that the math.h is included as:
>#include "math.h"
>instead of 
>#include <math.h>
>Change that and it would be ok... (yes that is a bug)
Last time I checked, a quotes delimiter meant "search for the local 
version, followed by the system version", while a <> delimiter meant 
"search for the system version only". Since math.h is a system include, 
both should have equally worked.

I bypassed this problem by manually adding "/usr/include" to the 
"EXTRAINCL" variable. I am not at all sure, however, that this is the 
correct solution, and I'm not sure how to make "configure" generate such 
a Makefile even if it was.


More information about the wine-devel mailing list