Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#62 Compile CVS with Mesa3D-5.0

open
nobody
None
5
2003-02-17
2003-02-17
Ivan Kalvatchev
No

I am having problem compiling winex from sources, with
OpenGL support.
I cannot compile since I installed Mesa5.0

[skip]
make[2]: Entering directory `/work/src/wine/dlls/d3dgl'
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall
-mpreferred-stack-boundary=2 -fno-keep-static-consts
-D__int8=ch
ar -D__int16=short -D__int32=int "-D__int64=long long"
-fPIC -D__WINE__ -D_REENTRANT
-I/usr/X11R6/include -o caps.o caps.c
In file included from d3dgl_private.h:5,
from caps.c:18:
../../include/wine_gl.h:82: redefinition of
`PFNGLACTIVETEXTUREARBPROC'
/usr/X11R6/include/GL/glext.h:2743:
`PFNGLACTIVETEXTUREARBPROC' previously
declared here
../../include/wine_gl.h:83: redefinition of
`PFNGLCLIENTACTIVETEXTUREARBPROC'
/usr/X11R6/include/GL/glext.h:2744:
`PFNGLCLIENTACTIVETEXTUREARBPROC' previously
declared here
../../include/wine_gl.h:84: redefinition of
`PFNGLMULTITEXCOORD2FARBPROC'
/usr/X11R6/include/GL/glext.h:2755:
`PFNGLMULTITEXCOORD2FARBPROC' previously
declared here
make[2]: *** [caps.o] Error 1
make[2]: Leaving directory `/work/src/wine/dlls/d3dgl'
make[1]: *** [d3dgl/libd3dgl.so] Error 2
make[1]: Leaving directory `/work/src/wine/dlls'
make: *** [dlls] Error 2

Discussion

  • Logged In: NO

    You need to reinstall your video drivers GLX files(example:
    NVIDIA_GLX_3123) back into your /usr/X11/include/GL/
    directory the Mesa package installs some very outdated gl.h
    and glx.h files that your drivers replace. Try the comple
    then I bet it works

    Thanks,

    Chris

     
  • Logged In: YES
    user_id=724475

    You need to reinstall your video drivers GLX files(example:
    NVIDIA_GLX_3123) back into your /usr/X11/include/GL/
    directory the Mesa package installs some very outdated gl.h
    and glx.h files that your drivers replace. Try the comple
    then I bet it works

    Thanks,

    Chris

     
  • Logged In: NO

    Im having same problem.... Redhat v9.0 , Kernel 2.4.20-9 ,
    In file included from caps.c:20:
    d3dgl_private.h:119: parse error before
    "PFNGLWEIGHTPOINTERARBPROC"
    d3dgl_private.h:119: warning: no semicolon at end of struct
    or union
    d3dgl_private.h:119: warning: type defaults to `int' in
    declaration of `glVertexBlendARB'
    d3dgl_private.h:119: warning: data definition has no type or
    storage class
    d3dgl_private.h:121: parse error before '}' token
    d3dgl_private.h:121: warning: type defaults to `int' in
    declaration of `DD_GL_data'
    d3dgl_private.h:121: warning: data definition has no type or
    storage class
    caps.c:32: parse error before '*' token
    caps.c:33: parse error before '*' token
    caps.c:34: parse error before '*' token
    caps.c:35: parse error before '*' token
    caps.c: In function `D3DGL_Init':
    caps.c:100: `gld' undeclared (first use in this function)
    caps.c:100: (Each undeclared identifier is reported only once
    caps.c:100: for each function it appears in.)
    caps.c:113: parse error before ')' token
    caps.c:131: `PFNGLWEIGHTPOINTERARBPROC' undeclared (first
    use in this function)
    caps.c:131: parse error before "extproc"
    caps.c:131: `PFNGLVERTEXBLENDARBPROC' undeclared (first use
    in this function)
    caps.c:131: parse error before "extproc"
    caps.c:299: `GL_MAX_VERTEX_UNITS_ARB' undeclared (first use
    in this function)
    caps.c: At top level:
    caps.c:389: parse error before '*' token
    caps.c: In function `fill_prim_caps':
    caps.c:391: `pc' undeclared (first use in this function)
    caps.c:395: `gld' undeclared (first use in this function)
    caps.c: At top level:
    caps.c:453: parse error before '*' token
    caps.c: In function `check_exts':
    caps.c:461: `gld' undeclared (first use in this function)
    caps.c: At top level:
    caps.c:466: parse error before '*' token
    caps.c: In function `add_texture_fmts':
    caps.c:473: `lpData' undeclared (first use in this function)
    caps.c:556: `gld' undeclared (first use in this function)
    caps.c: At top level:
    caps.c:585: parse error before '*' token
    caps.c: In function `add_zbuffer_fmts':
    caps.c:590: `lpDD' undeclared (first use in this function)
    caps.c: In function `D3DGL_GetCaps':
    caps.c:615: `gld' undeclared (first use in this function)
    caps.c:615: parse error before ')' token
    make[2]: *** [caps.o] Error 1
    make[2]: Leaving directory `/usr/src/wine/dlls/d3dgl'
    make[1]: *** [d3dgl/libd3dgl.so] Error 2
    make[1]: Leaving directory `/usr/src/wine/dlls'
    make: *** [dlls] Error 2

     
  • Stephen Brown
    Stephen Brown
    2003-04-26

    Logged In: YES
    user_id=183614

    I'm having a similar problem. First the error I received,
    listed below:

    --BEGIN--

    make[2]: Entering directory
    `/home/firefishe/CVS--WINEX/wine/dlls/d3dgl'
    gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall
    -mpreferred-stack-boundary=2 -fno-keep-static-consts
    -D__int8=char -D__int16=short -D__int32=int "-D__int64=long
    long" -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o
    caps.o caps.c
    In file included from d3dgl_private.h:5,
    from caps.c:20:
    ../../include/wine_gl.h:31:20: GL/glu.h: No such file or
    directory
    make[2]: *** [caps.o] Error 1
    make[2]: Leaving directory
    `/home/firefishe/CVS--WINEX/wine/dlls/d3dgl'
    make[1]: *** [d3dgl/libd3dgl.so] Error 2
    make[1]: Leaving directory
    `/home/firefishe/CVS--WINEX/wine/dlls'
    make: *** [dlls] Error 2
    [root@localhost wine]#

    --END--

    I read the other comments to this post first, and checked my
    /usr/X11/include/GL directory. Apparently my error
    indicates that at one point in the compile process it's
    looking for a file called: glu.h .

    This file does not appear to be present anywhere on my
    system. (My system, incidentally, is a laptop with an S3
    Virge/MX+ chipset with 4MB of on-die dedicated video RAM
    (2D/3D).)

    My distro is Mandrake Linux 9.0 with the stock Mandrake
    kernel (2.4.19-16mdk) that came with it. It is not modified
    in any way. My X server is: 4.2.1-3mdk .

    Thanks in advance,
    Stephen Brown (Firefishe)