Hi! I have patched the latest CVS-sources of wine with the TransGaming patch. Now it doesn't compile anymore. Seems to be a problem with MESA. I have attached an error log. I have installed NVIDIA_GLX 0.96 and the mesadev 3.2. Manfred === begin of error log == In file included from d3ddevice/mesa.c:29: mesa_private.h:219: parse error before `PFNGLSECONDARYCOLOR3UBEXTPROC' mesa_private.h:219: warning: no semicolon at end of struct or union mesa_private.h:220: warning: type defaults to `int' in declaration of `glSecondaryColorPointerEXT' mesa_private.h:220: warning: data definition has no type or storage class mesa_private.h:225: parse error before `}' mesa_private.h:225: warning: type defaults to `int' in declaration of `mesa_d3dd_private' mesa_private.h:225: warning: data definition has no type or storage class d3ddevice/mesa.c: In function `set_context': d3ddevice/mesa.c:99: `odev' undeclared (first use in this function) d3ddevice/mesa.c:99: (Each undeclared identifier is reported only once d3ddevice/mesa.c:99: for each function it appears in.) d3ddevice/mesa.c:99: parse error before `)' d3ddevice/mesa.c:100: parse error before `int' d3ddevice/mesa.c:111: `ret' undeclared (first use in this function) d3ddevice/mesa.c: In function `lock_device': d3ddevice/mesa.c:137: `odev' undeclared (first use in this function) d3ddevice/mesa.c:137: parse error before `)' d3ddevice/mesa.c: In function `unlock_device': d3ddevice/mesa.c:163: `odev' undeclared (first use in this function) d3ddevice/mesa.c:163: parse error before `)' d3ddevice/mesa.c: In function `GLX_Flip': d3ddevice/mesa.c:190: `odev' undeclared (first use in this function) d3ddevice/mesa.c:190: parse error before `)' d3ddevice/mesa.c: At top level: d3ddevice/mesa.c:323: parse error before `*' d3ddevice/mesa.c: In function `MESA_InitExtensionFunctions': d3ddevice/mesa.c:337: parse error before `)' d3ddevice/mesa.c:337: initializer element is not constant d3ddevice/mesa.c:337: (near initialization for `extension_funcs[0].pfn_offset') d3ddevice/mesa.c:338: parse error before `)' d3ddevice/mesa.c:338: initializer element is not constant d3ddevice/mesa.c:338: (near initialization for `extension_funcs[1].pfn_offset') d3ddevice/mesa.c:339: parse error before `)' d3ddevice/mesa.c:339: initializer element is not constant d3ddevice/mesa.c:339: (near initialization for `extension_funcs[2].pfn_offset') d3ddevice/mesa.c:340: parse error before `)' d3ddevice/mesa.c:340: initializer element is not constant d3ddevice/mesa.c:340: (near initialization for `extension_funcs[3].pfn_offset') d3ddevice/mesa.c:341: parse error before `)' d3ddevice/mesa.c:341: initializer element is not constant d3ddevice/mesa.c:341: (near initialization for `extension_funcs[4].pfn_offset') d3ddevice/mesa.c:358: `priv' undeclared (first use in this function) d3ddevice/mesa.c: At top level: d3ddevice/mesa.c:406: parse error before `*' d3ddevice/mesa.c: In function `MESA_InitExtensions': d3ddevice/mesa.c:413: `priv' undeclared (first use in this function) d3ddevice/mesa.c: At top level: d3ddevice/mesa.c:428: parse error before `*' d3ddevice/mesa.c: In function `MESA_UseExtension': d3ddevice/mesa.c:430: `priv' undeclared (first use in this function) d3ddevice/mesa.c:430: `extension' undeclared (first use in this function) d3ddevice/mesa.c:431: warning: control reaches end of non-void function d3ddevice/mesa.c: In function `GLX_Destroy': d3ddevice/mesa.c:498: `odev' undeclared (first use in this function) d3ddevice/mesa.c:498: parse error before `)' d3ddevice/mesa.c: At top level: d3ddevice/mesa.c:571: parse error before `*' d3ddevice/mesa.c:574: parse error before `*' d3ddevice/mesa.c: In function `common_inst_OpenGL': d3ddevice/mesa.c:582: `odev' undeclared (first use in this function) d3ddevice/mesa.c:582: parse error before `)' d3ddevice/mesa.c:583: parse error before `*' d3ddevice/mesa.c:587: `psurf' undeclared (first use in this function) d3ddevice/mesa.c:651: `direct' undeclared (first use in this function) d3ddevice/mesa.c:752: `i' undeclared (first use in this function) d3ddevice/mesa.c:890: `GL_COMBINE_EXT' undeclared (first use in this function) d3ddevice/mesa.c:893: `GL_COMBINE_ALPHA_EXT' undeclared (first use in this function) d3ddevice/mesa.c: In function `MESA_IDirect3DDeviceImpl_Release': d3ddevice/mesa.c:1114: `odev' undeclared (first use in this function) d3ddevice/mesa.c:1114: parse error before `)' d3ddevice/mesa.c: In function `MESA_IDirect3DDevice2Impl_SetRenderState': d3ddevice/mesa.c:1245: `odev' undeclared (first use in this function) d3ddevice/mesa.c:1245: parse error before `)' d3ddevice/mesa.c: In function `MESA_IDirect3DDevice2Impl_SetTransform': d3ddevice/mesa.c:1307: `odev' undeclared (first use in this function) d3ddevice/mesa.c:1307: parse error before `)' d3ddevice/mesa.c: In function `MESA_IDirect3DDevice7Impl_GetTransform': d3ddevice/mesa.c:1385: `odev' undeclared (first use in this function) d3ddevice/mesa.c:1385: parse error before `)' d3ddevice/mesa.c: In function `MESA_IDirect3DDevice2Impl_DrawPrimitive': d3ddevice/mesa.c:1581: `odev' undeclared (first use in this function) d3ddevice/mesa.c:1581: parse error before `)' d3ddevice/mesa.c:1582: parse error before `int' d3ddevice/mesa.c:1587: `vx_index' undeclared (first use in this function) d3ddevice/mesa.c: In function `MESA_IDirect3DDevice2Impl_DrawIndexedPrimitive': d3ddevice/mesa.c:1599: `odev' undeclared (first use in this function) d3ddevice/mesa.c:1599: parse error before `)' d3ddevice/mesa.c:1600: parse error before `int' d3ddevice/mesa.c:1605: `vx_index' undeclared (first use in this function) d3ddevice/mesa.c: In function `MESA_IDirect3DDevice7Impl_Release': d3ddevice/mesa.c:1684: `odev' undeclared (first use in this function) d3ddevice/mesa.c:1684: parse error before `)' d3ddevice/mesa.c: At top level: d3ddevice/mesa.c:1712: parse error before `*' d3ddevice/mesa.c: In function `GL_UpdateLightPosition_NoMatrix': d3ddevice/mesa.c:1715: `odev' undeclared (first use in this function) d3ddevice/mesa.c:1715: `i' undeclared (first use in this function) d3ddevice/mesa.c: At top level: d3ddevice/mesa.c:1731: parse error before `*' d3ddevice/mesa.c: In function `GL_UpdateLightPosition': d3ddevice/mesa.c:1735: `odev' undeclared (first use in this function) d3ddevice/mesa.c:1736: `i' undeclared (first use in this function) d3ddevice/mesa.c: At top level: d3ddevice/mesa.c:1740: parse error before `*' d3ddevice/mesa.c: In function `GL_LightNeedsUpdate': d3ddevice/mesa.c:1742: `odev' undeclared (first use in this function) d3ddevice/mesa.c:1742: `i' undeclared (first use in this function) d3ddevice/mesa.c:1744: warning: control reaches end of non-void function d3ddevice/mesa.c: In function `MESA_DoUpdateLights': d3ddevice/mesa.c:1749: `odev' undeclared (first use in this function) d3ddevice/mesa.c:1749: parse error before `)' d3ddevice/mesa.c:1750: parse error before `int' d3ddevice/mesa.c:1758: `i' undeclared (first use in this function) d3ddevice/mesa.c: In function `MESA_UpdateLights': d3ddevice/mesa.c:1772: `odev' undeclared (first use in this function) d3ddevice/mesa.c:1772: parse error before `)' d3ddevice/mesa.c: In function `GL_SetupViewport': d3ddevice/mesa.c:1781: `odev' undeclared (first use in this function) d3ddevice/mesa.c:1781: parse error before `)' d3ddevice/mesa.c:1782: parse error before `gl_y' d3ddevice/mesa.c:1787: `gl_y' undeclared (first use in this function) d3ddevice/mesa.c:1791: warning: left-hand operand of comma expression has no effect d3ddevice/mesa.c: In function `MESA_IDirect3DDevice7Impl_SetMaterial': d3ddevice/mesa.c:1895: `odev' undeclared (first use in this function) d3ddevice/mesa.c:1895: parse error before `)' d3ddevice/mesa.c: In function `MESA_IDirect3DDevice7Impl_GetMaterial': d3ddevice/mesa.c:1935: `odev' undeclared (first use in this function) d3ddevice/mesa.c:1935: parse error before `)' d3ddevice/mesa.c: In function `MESA_IDirect3DDevice7Impl_SetLight': d3ddevice/mesa.c:1947: `odev' undeclared (first use in this function) d3ddevice/mesa.c:1947: parse error before `)' d3ddevice/mesa.c:1948: parse error before `struct' d3ddevice/mesa.c:1955: `light' undeclared (first use in this function) d3ddevice/mesa.c:1982: `gl' undeclared (first use in this function) d3ddevice/mesa.c: In function `MESA_IDirect3DDevice7Impl_GetLight': d3ddevice/mesa.c:2006: `odev' undeclared (first use in this function) d3ddevice/mesa.c:2006: parse error before `)' d3ddevice/mesa.c: In function `MESA_UpdateFogEnable': d3ddevice/mesa.c:2019: `odev' undeclared (first use in this function) d3ddevice/mesa.c:2019: parse error before `)' d3ddevice/mesa.c: In function `MESA_UpdateFogMode': d3ddevice/mesa.c:2038: `odev' undeclared (first use in this function) d3ddevice/mesa.c:2038: parse error before `)' d3ddevice/mesa.c:2039: parse error before `fog_mode' d3ddevice/mesa.c:2043: `fog_mode' undeclared (first use in this function) d3ddevice/mesa.c: In function `MESA_IDirect3DDevice7Impl_SetRenderState': d3ddevice/mesa.c:2151: `odev' undeclared (first use in this function) d3ddevice/mesa.c:2151: parse error before `)' d3ddevice/mesa.c:2152: parse error before `float' d3ddevice/mesa.c:2211: `cRenderState' undeclared (first use in this function) d3ddevice/mesa.c:2245: `fRenderState' undeclared (first use in this function) d3ddevice/mesa.c: In function `MESA_IDirect3DDevice7Impl_GetRenderState': d3ddevice/mesa.c:2402: `odev' undeclared (first use in this function) d3ddevice/mesa.c:2402: parse error before `)' d3ddevice/mesa.c:2403: parse error before `tmp' d3ddevice/mesa.c:2421: `tmp' undeclared (first use in this function) d3ddevice/mesa.c: In function `GL_SetupTNL': d3ddevice/mesa.c:2653: `odev' undeclared (first use in this function) d3ddevice/mesa.c:2653: parse error before `)' d3ddevice/mesa.c: At top level: d3ddevice/mesa.c:2711: parse error before `*' d3ddevice/mesa.c: In function `GL_BuildColorArrays': d3ddevice/mesa.c:2718: `vt' undeclared (first use in this function) d3ddevice/mesa.c:2719: `odev' undeclared (first use in this function) d3ddevice/mesa.c:2729: `sd' undeclared (first use in this function) d3ddevice/mesa.c:2736: `num_vertices' undeclared (first use in this function) d3ddevice/mesa.c:2788: warning: control reaches end of non-void function d3ddevice/mesa.c: At top level: d3ddevice/mesa.c:2790: parse error before `*' d3ddevice/mesa.c: In function `GL_SetupColorArrays': d3ddevice/mesa.c:2797: `vt' undeclared (first use in this function) d3ddevice/mesa.c:2799: `odev' undeclared (first use in this function) d3ddevice/mesa.c:2799: `num_vertices' undeclared (first use in this function) d3ddevice/mesa.c:2799: `sd' undeclared (first use in this function) d3ddevice/mesa.c:2822: `GL_SECONDARY_COLOR_ARRAY_EXT' undeclared (first use in this function) d3ddevice/mesa.c: In function `GL_SetupArrays': d3ddevice/mesa.c:2835: `odev' undeclared (first use in this function) d3ddevice/mesa.c:2835: parse error before `)' d3ddevice/mesa.c:2836: parse error before `i' d3ddevice/mesa.c:2842: `GL_SECONDARY_COLOR_ARRAY_EXT' undeclared (first use in this function) d3ddevice/mesa.c:2844: `i' undeclared (first use in this function) d3ddevice/mesa.c:2871: `fast' undeclared (first use in this function) d3ddevice/mesa.c:2895: warning: control reaches end of non-void function d3ddevice/mesa.c: In function `MESA_DrawUnlitVertices': d3ddevice/mesa.c:2951: `odev' undeclared (first use in this function) d3ddevice/mesa.c:2951: parse error before `)' d3ddevice/mesa.c: In function `MESA_UpdateMinFilter': d3ddevice/mesa.c:3418: `odev' undeclared (first use in this function) d3ddevice/mesa.c:3418: parse error before `)' d3ddevice/mesa.c:3422: parse error before `static' d3ddevice/mesa.c:3432: `filters' undeclared (first use in this function) d3ddevice/mesa.c:3432: `mipfilter' undeclared (first use in this function) d3ddevice/mesa.c: In function `MESA_UpdateMagFilter': d3ddevice/mesa.c:3437: `odev' undeclared (first use in this function) d3ddevice/mesa.c:3437: parse error before `)' d3ddevice/mesa.c:3438: parse error before `filter' d3ddevice/mesa.c:3441: `filter' undeclared (first use in this function) d3ddevice/mesa.c: In function `MESA_UpdateTextureAddress': d3ddevice/mesa.c:3451: `odev' undeclared (first use in this function) d3ddevice/mesa.c:3451: parse error before `)' d3ddevice/mesa.c:3453: parse error before `static' d3ddevice/mesa.c:3457: `addresses' undeclared (first use in this function) d3ddevice/mesa.c: In function `MESA_UpdateTextureUnit': d3ddevice/mesa.c:3469: `odev' undeclared (first use in this function) d3ddevice/mesa.c:3469: parse error before `)' d3ddevice/mesa.c: In function `MESA_IDirect3DDevice7Impl_SetTexture': d3ddevice/mesa.c:3485: `odev' undeclared (first use in this function) d3ddevice/mesa.c:3485: parse error before `)' d3ddevice/mesa.c:3486: parse error before `*' d3ddevice/mesa.c:3511: `text' undeclared (first use in this function) d3ddevice/mesa.c: In function `MESA_IDirect3DDevice7Impl_GetTexture': d3ddevice/mesa.c:3544: `odev' undeclared (first use in this function) d3ddevice/mesa.c:3544: parse error before `)' d3ddevice/mesa.c: At top level: d3ddevice/mesa.c:3556: parse error before `*' d3ddevice/mesa.c: In function `MESA_standard_texture_combiner': d3ddevice/mesa.c:3559: `odev' undeclared (first use in this function) d3ddevice/mesa.c:3559: `dwStage' undeclared (first use in this function) d3ddevice/mesa.c:3563: `type' undeclared (first use in this function) d3ddevice/mesa.c:3566: `dwState' undeclared (first use in this function) d3ddevice/mesa.c:3573: warning: unreachable code at beginning of switch statement d3ddevice/mesa.c:3569: warning: unreachable code at beginning of switch statement d3ddevice/mesa.c: In function `MESA_TextureSource': d3ddevice/mesa.c:3633: `GL_PRIMARY_COLOR_EXT' undeclared (first use in this function) d3ddevice/mesa.c:3633: initializer element is not constant d3ddevice/mesa.c:3633: (near initialization for `sources[0]') d3ddevice/mesa.c:3634: `GL_PREVIOUS_EXT' undeclared (first use in this function) d3ddevice/mesa.c:3634: initializer element is not constant d3ddevice/mesa.c:3634: (near initialization for `sources[1]') d3ddevice/mesa.c:3634: `GL_CONSTANT_EXT' undeclared (first use in this function) d3ddevice/mesa.c:3634: initializer element is not constant d3ddevice/mesa.c:3634: (near initialization for `sources[3]') d3ddevice/mesa.c:3636: initializer element is not constant d3ddevice/mesa.c:3636: (near initialization for `sources[4]') d3ddevice/mesa.c: At top level: d3ddevice/mesa.c:3648: parse error before `*' d3ddevice/mesa.c: In function `MESA_env_combine_texture_combiner': d3ddevice/mesa.c:3651: `dwStage' undeclared (first use in this function) d3ddevice/mesa.c:3651: `odev' undeclared (first use in this function) d3ddevice/mesa.c:3655: `type' undeclared (first use in this function) d3ddevice/mesa.c:3658: `dwState' undeclared (first use in this function) d3ddevice/mesa.c:3678: `GL_COMBINE_RGB_EXT' undeclared (first use in this function) d3ddevice/mesa.c:3679: `GL_RGB_SCALE_EXT' undeclared (first use in this function) d3ddevice/mesa.c:3681: `GL_SOURCE0_RGB_EXT' undeclared (first use in this function) d3ddevice/mesa.c:3702: `GL_SOURCE1_RGB_EXT' undeclared (first use in this function) d3ddevice/mesa.c:3741: `GL_ADD_SIGNED_EXT' undeclared (first use in this function) d3ddevice/mesa.c:3773: `GL_INTERPOLATE_EXT' undeclared (first use in this function) d3ddevice/mesa.c:3780: `GL_SOURCE2_RGB_EXT' undeclared (first use in this function) d3ddevice/mesa.c:3781: `GL_PRIMARY_COLOR_EXT' undeclared (first use in this function) d3ddevice/mesa.c:3805: `GL_CONSTANT_EXT' undeclared (first use in this function) d3ddevice/mesa.c:3822: `GL_PREVIOUS_EXT' undeclared (first use in this function) d3ddevice/mesa.c:3669: warning: unreachable code at beginning of switch statement d3ddevice/mesa.c:3906: `GL_COMBINE_ALPHA_EXT' undeclared (first use in this function) d3ddevice/mesa.c:3909: `GL_SOURCE0_ALPHA_EXT' undeclared (first use in this function) d3ddevice/mesa.c:3929: `GL_SOURCE1_ALPHA_EXT' undeclared (first use in this function) d3ddevice/mesa.c:4009: `GL_SOURCE2_ALPHA_EXT' undeclared (first use in this function) d3ddevice/mesa.c:3902: warning: unreachable code at beginning of switch statement d3ddevice/mesa.c:3661: warning: unreachable code at beginning of switch statement d3ddevice/mesa.c: In function `MESA_IDirect3DDevice7Impl_SetTextureStageState': d3ddevice/mesa.c:4115: `odev' undeclared (first use in this function) d3ddevice/mesa.c:4115: parse error before `)' d3ddevice/mesa.c:4116: parse error before `struct' d3ddevice/mesa.c:4125: `real_stage' undeclared (first use in this function) d3ddevice/mesa.c:4137: `hr' undeclared (first use in this function) d3ddevice/mesa.c:4192: `GL_TEXTURE_FILTER_CONTROL_EXT' undeclared (first use in this function) d3ddevice/mesa.c:4192: `GL_TEXTURE_LOD_BIAS_EXT' undeclared (first use in this function) d3ddevice/mesa.c:4206: warning: control reaches end of non-void function d3ddevice/mesa.c: In function `MESA_IDirect3DDevice7Impl_GetTextureStageState': d3ddevice/mesa.c:4212: `odev' undeclared (first use in this function) d3ddevice/mesa.c:4212: parse error before `)' d3ddevice/mesa.c:4214: parse error before `const' d3ddevice/mesa.c: In function `MESA_IDirect3DDevice7Impl_LightEnable': d3ddevice/mesa.c:4286: `odev' undeclared (first use in this function) d3ddevice/mesa.c:4286: parse error before `)' d3ddevice/mesa.c: In function `MESA_IDirect3DDevice7Impl_MultiplyTransform': d3ddevice/mesa.c:4359: `odev' undeclared (first use in this function) d3ddevice/mesa.c:4359: parse error before `)' d3ddevice/mesa.c:4361: parse error before `pLeftMatrix' d3ddevice/mesa.c:4371: `pLeftMatrix' undeclared (first use in this function) d3ddevice/mesa.c: At top level: d3ddevice/mesa.c:4525: warning: initialization makes pointer from integer without a cast d3ddevice/mesa.c:4526: warning: initialization makes pointer from integer without a cast d3ddevice/mesa.c:4536: warning: initialization makes pointer from integer without a cast d3ddevice/mesa.c:4548: warning: initialization makes pointer from integer without a cast d3ddevice/mesa.c:4549: warning: initialization makes pointer from integer without a cast d3ddevice/mesa.c:4550: warning: initialization makes pointer from integer without a cast make[2]: *** [d3ddevice/mesa.o] Error 1 make[1]: *** [ddraw/libddraw.so] Error 2 make: *** [dlls] Error 2 === end of error log ==-- /"\ | PGP-Key available at Public Key Servers \ / ASCII ribbon campaign | or at "http://www.mahowi.de/" X against HTML mail | RSA: 0xC05BC0F5 * DSS: 0x4613B5CA / \ and postings | GPG: 0x88BC3576 * ICQ: 61597169
On Mon, 5 Feb 2001, Manfred H. Winter wrote:> I have patched the latest CVS-sources of wine with the TransGaming > patch. Now it doesn't compile anymore. Seems to be a problem with MESA.Well, did you also get the glext.h file that's also linked to on the transgaming code page? You don't say which distribution you use...