Compiling error

"Claudio F. Gil" <[email protected]>
Newsgroups gmane.comp.emulators.winex.devel
Message-ID <[email protected]>
I've just downloaded the CVS tree and got an error while compiling :-(
Should I have checked out a specific branch?

-------------------------------------------------------------------------------------
(...)
make[2]: Entering directory 
`/home/m4ktub/documents/install/cvssources/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 caps.c:20:
d3dgl_private.h:137: parse error before "PFNGLACTIVETEXTUREARBPROC"
d3dgl_private.h:137: warning: no semicolon at end of struct or union
d3dgl_private.h:137: warning: type defaults to `int' in declaration of 
`glClientActiveTextureARB'
d3dgl_private.h:137: `glClientActiveTextureARB' redeclared as different kind 
of symbol
/usr/include/GL/gl.h:1768: previous declaration of `glClientActiveTextureARB'
d3dgl_private.h:137: warning: data definition has no type or storage class
d3dgl_private.h:137: parse error before "glMultiTexCoord2fARB"
d3dgl_private.h:137: warning: type defaults to `int' in declaration of 
`glMultiTexCoord2fARB'
d3dgl_private.h:137: `glMultiTexCoord2fARB' redeclared as different kind of 
symbol
/usr/include/GL/gl.h:1779: previous declaration of `glMultiTexCoord2fARB'
d3dgl_private.h:137: warning: data definition has no type or storage class
d3dgl_private.h:139: parse error before '}' token
d3dgl_private.h:139: warning: type defaults to `int' in declaration of 
`DD_GL_data'
d3dgl_private.h:139: warning: data definition has no type or storage class
d3dgl_private.h:288: parse error before '*' token
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: `PFNGLACTIVETEXTUREARBPROC' undeclared (first use in this 
function)
caps.c:131: parse error before "extproc"
caps.c:131: `PFNGLCLIENTACTIVETEXTUREARBPROC' undeclared (first use in this 
function)
caps.c:131: parse error before "extproc"
caps.c:131: `PFNGLMULTITEXCOORD2FARBPROC' undeclared (first use in this 
function)
caps.c:131: parse error before "extproc"
caps.c: At top level:
caps.c:392: parse error before '*' token
caps.c: In function `fill_prim_caps':
caps.c:394: `pc' undeclared (first use in this function)
caps.c:398: `gld' undeclared (first use in this function)
caps.c: At top level:
caps.c:457: parse error before '*' token
caps.c: In function `check_exts':
caps.c:465: `gld' undeclared (first use in this function)
caps.c: At top level:
caps.c:470: parse error before '*' token
caps.c: In function `add_texture_fmts':
caps.c:477: `lpData' undeclared (first use in this function)
caps.c:559: `gld' undeclared (first use in this function)
caps.c: At top level:
caps.c:610: parse error before '*' token
caps.c: In function `add_zbuffer_fmts':
caps.c:615: `lpDD' undeclared (first use in this function)
caps.c: In function `D3DGL_GetCaps':
caps.c:640: `gld' undeclared (first use in this function)
caps.c:640: parse error before ')' token
make[2]: *** [caps.o] Error 1
(...)
---------------------------------------------------------------------------------
-- 
Cláudio F. Gil
[email protected]



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.