Compile error

Oliveiros Peixoto cvsup2003 at yahoo.com.br
Mon Jul 4 10:15:06 PDT 2005


make[5]: Leaving directory `/home/netinho/xc/lib/GL/dri/drm'

making all in lib/GL/GL...

make[5]: Entering directory `/home/netinho/xc/lib/GL/GL'

gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall -Wpointer-arith -Wundef -I../../.. -I../../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -c -o ../../../lib/GL/glx/XF86dri.o ../../../lib/GL/glx/XF86dri.c

In file included from ../../../lib/GL/glx/xf86dristr.h:41,

from ../../../lib/GL/glx/XF86dri.c:42:

../../../lib/GL/glx/xf86dri.h:43:21: xf86drm.h: No such file or directory

../../../lib/GL/glx/xf86dri.h:68:39: GL/internal/dri_interface.h: No such file or directory

In file included from ../../../lib/GL/glx/xf86dristr.h:41,

from ../../../lib/GL/glx/XF86dri.c:42:

../../../lib/GL/glx/xf86dri.h:80: error: parse error before "drm_handle_t"

../../../lib/GL/glx/xf86dri.h:83: error: parse error before "drm_magic_t"

../../../lib/GL/glx/xf86dri.h:92: error: parse error before "drm_context_t"

../../../lib/GL/glx/xf86dri.h:95: error: parse error before "drm_context_t"

../../../lib/GL/glx/xf86dri.h:97: error: parse error before "XF86DRIDestroyContext"

../../../lib/GL/glx/xf86dri.h:97: error: parse error before '*' token

../../../lib/GL/glx/xf86dri.h:98: warning: type defaults to `int' in declaration of `XF86DRIDestroyContext'

../../../lib/GL/glx/xf86dri.h:98: error: ISO C forbids data definition with no type or storage class

../../../lib/GL/glx/xf86dri.h:100: error: parse error before "XF86DRICreateDrawable"

../../../lib/GL/glx/xf86dri.h:100: error: parse error before '*' token

../../../lib/GL/glx/xf86dri.h:101: warning: type defaults to `int' in declaration of `XF86DRICreateDrawable'

../../../lib/GL/glx/xf86dri.h:101: error: ISO C forbids data definition with no type or storage class

../../../lib/GL/glx/xf86dri.h:103: error: parse error before "XF86DRIDestroyDrawable"

../../../lib/GL/glx/xf86dri.h:103: error: parse error before '*' token

../../../lib/GL/glx/xf86dri.h:104: warning: type defaults to `int' in declaration of `XF86DRIDestroyDrawable'

../../../lib/GL/glx/xf86dri.h:104: error: ISO C forbids data definition with no type or storage class

../../../lib/GL/glx/xf86dri.h:109: error: parse error before "drm_clip_rect_t"

../../../lib/GL/glx/xf86dri.h:114: error: parse error before "drm_handle_t"

../../../lib/GL/glx/XF86dri.c:44:21: extutil.h: No such file or directory

../../../lib/GL/glx/XF86dri.c:46: error: parse error before "_xf86dri_info_data"

../../../lib/GL/glx/XF86dri.c:46: warning: type defaults to `int' in declaration of `_xf86dri_info_data'

../../../lib/GL/glx/XF86dri.c:46: error: ISO C forbids data definition with no type or storage class

../../../lib/GL/glx/XF86dri.c:47: error: parse error before '*' token

../../../lib/GL/glx/XF86dri.c:47: warning: type defaults to `int' in declaration of `xf86dri_info'

../../../lib/GL/glx/XF86dri.c:47: error: ISO C forbids data definition with no type or storage class

../../../lib/GL/glx/XF86dri.c:60: error: parse error before "xf86dri_extension_hooks"

../../../lib/GL/glx/XF86dri.c:60: warning: type defaults to `int' in declaration of `xf86dri_extension_hooks'

../../../lib/GL/glx/XF86dri.c:61: warning: initialization makes integer from pointer without a cast

../../../lib/GL/glx/XF86dri.c:62: warning: excess elements in scalar initializer

../../../lib/GL/glx/XF86dri.c:62: warning: (near initialization for `xf86dri_extension_hooks')

../../../lib/GL/glx/XF86dri.c:63: warning: excess elements in scalar initializer

../../../lib/GL/glx/XF86dri.c:63: warning: (near initialization for `xf86dri_extension_hooks')

../../../lib/GL/glx/XF86dri.c:64: warning: excess elements in scalar initializer

../../../lib/GL/glx/XF86dri.c:64: warning: (near initialization for `xf86dri_extension_hooks')

../../../lib/GL/glx/XF86dri.c:65: warning: excess elements in scalar initializer

../../../lib/GL/glx/XF86dri.c:65: warning: (near initialization for `xf86dri_extension_hooks')

../../../lib/GL/glx/XF86dri.c:66: warning: excess elements in scalar initializer

../../../lib/GL/glx/XF86dri.c:66: warning: (near initialization for `xf86dri_extension_hooks')

../../../lib/GL/glx/XF86dri.c:67: warning: excess elements in scalar initializer

../../../lib/GL/glx/XF86dri.c:67: warning: (near initialization for `xf86dri_extension_hooks')

../../../lib/GL/glx/XF86dri.c:68: warning: excess elements in scalar initializer

../../../lib/GL/glx/XF86dri.c:68: warning: (near initialization for `xf86dri_extension_hooks')

../../../lib/GL/glx/XF86dri.c:69: warning: excess elements in scalar initializer

../../../lib/GL/glx/XF86dri.c:69: warning: (near initialization for `xf86dri_extension_hooks')

../../../lib/GL/glx/XF86dri.c:70: warning: excess elements in scalar initializer

../../../lib/GL/glx/XF86dri.c:70: warning: (near initialization for `xf86dri_extension_hooks')

../../../lib/GL/glx/XF86dri.c:71: warning: excess elements in scalar initializer

../../../lib/GL/glx/XF86dri.c:71: warning: (near initialization for `xf86dri_extension_hooks')

../../../lib/GL/glx/XF86dri.c:72: error: ISO C forbids data definition with no type or storage class

../../../lib/GL/glx/XF86dri.c:76: error: parse error before '&' token

../../../lib/GL/glx/XF86dri.c:99: error: parse error before '{' token

../../../lib/GL/glx/XF86dri.c:102: warning: ISO C does not allow extra `;' outside of a function

../../../lib/GL/glx/XF86dri.c:105: warning: type defaults to `int' in declaration of `error_basep'

../../../lib/GL/glx/XF86dri.c:105: error: `info' undeclared here (not in a function)

../../../lib/GL/glx/XF86dri.c:105: error: ISO C forbids data definition with no type or storage class

../../../lib/GL/glx/XF86dri.c:106: warning: ISO C does not allow extra `;' outside of a function

../../../lib/GL/glx/XF86dri.c:107: error: parse error before "return"

../../../lib/GL/glx/XF86dri.c: In function `XF86DRIQueryVersion':

../../../lib/GL/glx/XF86dri.c:120: error: `XExtDisplayInfo' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:120: error: (Each undeclared identifier is reported only once

../../../lib/GL/glx/XF86dri.c:120: error: for each function it appears in.)

../../../lib/GL/glx/XF86dri.c:120: error: `info' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:120: warning: implicit declaration of function `find_display'

../../../lib/GL/glx/XF86dri.c:121: warning: ISO C89 forbids mixed declarations and code

../../../lib/GL/glx/XF86dri.c:125: warning: implicit declaration of function `XextCheckExtension'

../../../lib/GL/glx/XF86dri.c: In function `XF86DRIQueryDirectRenderingCapable':

../../../lib/GL/glx/XF86dri.c:151: error: `XExtDisplayInfo' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:151: error: `info' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:152: warning: ISO C89 forbids mixed declarations and code

../../../lib/GL/glx/XF86dri.c: In function `XF86DRIOpenConnection':

../../../lib/GL/glx/XF86dri.c:179: error: parse error before "drm_handle_t"

../../../lib/GL/glx/XF86dri.c:182: error: `XExtDisplayInfo' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:182: error: `info' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:183: warning: ISO C89 forbids mixed declarations and code

../../../lib/GL/glx/XF86dri.c:201: error: invalid type argument of `unary *'

../../../lib/GL/glx/XF86dri.c:207: error: invalid type argument of `unary *'

../../../lib/GL/glx/XF86dri.c:214: error: invalid type argument of `unary *'

../../../lib/GL/glx/XF86dri.c:216: error: invalid type argument of `unary *'

../../../lib/GL/glx/XF86dri.c: In function `XF86DRIAuthConnection':

../../../lib/GL/glx/XF86dri.c:227: error: parse error before "drm_magic_t"

../../../lib/GL/glx/XF86dri.c:229: error: `XExtDisplayInfo' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:229: error: `info' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:230: warning: ISO C89 forbids mixed declarations and code

../../../lib/GL/glx/XF86dri.c: In function `XF86DRICloseConnection':

../../../lib/GL/glx/XF86dri.c:259: error: `XExtDisplayInfo' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:259: error: `info' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:260: warning: ISO C89 forbids mixed declarations and code

../../../lib/GL/glx/XF86dri.c: In function `XF86DRIGetClientDriverName':

../../../lib/GL/glx/XF86dri.c:286: error: `XExtDisplayInfo' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:286: error: `info' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:287: warning: ISO C89 forbids mixed declarations and code

../../../lib/GL/glx/XF86dri.c: In function `XF86DRICreateContextWithConfig':

../../../lib/GL/glx/XF86dri.c:332: error: parse error before "drm_context_t"

../../../lib/GL/glx/XF86dri.c:334: error: `XExtDisplayInfo' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:334: error: `info' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:335: warning: ISO C89 forbids mixed declarations and code

../../../lib/GL/glx/XF86dri.c:355: error: invalid type argument of `unary *'

../../../lib/GL/glx/XF86dri.c: In function `XF86DRICreateContext':

../../../lib/GL/glx/XF86dri.c:367: error: parse error before "drm_context_t"

../../../lib/GL/glx/XF86dri.c: At top level:

../../../lib/GL/glx/XF86dri.c:373: error: parse error before "XF86DRIDestroyContext"

../../../lib/GL/glx/XF86dri.c:373: error: parse error before '*' token

../../../lib/GL/glx/XF86dri.c:375: warning: return type defaults to `int'

../../../lib/GL/glx/XF86dri.c: In function `XF86DRIDestroyContext':

../../../lib/GL/glx/XF86dri.c:376: error: `ndpy' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:377: error: `XExtDisplayInfo' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:377: error: `info' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:378: warning: ISO C89 forbids mixed declarations and code

../../../lib/GL/glx/XF86dri.c:387: error: `screen' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:388: error: `context' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c: At top level:

../../../lib/GL/glx/XF86dri.c:395: error: parse error before "XF86DRICreateDrawable"

../../../lib/GL/glx/XF86dri.c:395: error: parse error before '*' token

../../../lib/GL/glx/XF86dri.c:397: warning: return type defaults to `int'

../../../lib/GL/glx/XF86dri.c: In function `XF86DRICreateDrawable':

../../../lib/GL/glx/XF86dri.c:398: error: `ndpy' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:399: error: `XExtDisplayInfo' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:399: error: `info' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:400: warning: ISO C89 forbids mixed declarations and code

../../../lib/GL/glx/XF86dri.c:410: error: `screen' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:411: error: `drawable' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:418: error: `hHWDrawable' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c: At top level:

../../../lib/GL/glx/XF86dri.c:425: error: parse error before "XF86DRIDestroyDrawable"

../../../lib/GL/glx/XF86dri.c:425: error: parse error before '*' token

../../../lib/GL/glx/XF86dri.c:427: warning: return type defaults to `int'

../../../lib/GL/glx/XF86dri.c: In function `XF86DRIDestroyDrawable':

../../../lib/GL/glx/XF86dri.c:428: error: `ndpy' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:429: error: `XExtDisplayInfo' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:429: error: `info' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:430: warning: ISO C89 forbids mixed declarations and code

../../../lib/GL/glx/XF86dri.c:439: error: `screen' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:440: error: `drawable' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c: At top level:

../../../lib/GL/glx/XF86dri.c:450: error: parse error before "drm_clip_rect_t"

../../../lib/GL/glx/XF86dri.c: In function `XF86DRIGetDrawableInfo':

../../../lib/GL/glx/XF86dri.c:454: error: `XExtDisplayInfo' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:454: error: `info' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:454: error: `dpy' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:455: warning: ISO C89 forbids mixed declarations and code

../../../lib/GL/glx/XF86dri.c:466: error: `screen' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:467: error: `drawable' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:476: error: invalid lvalue in assignment

../../../lib/GL/glx/XF86dri.c:477: error: `stamp' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:478: error: `X' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:479: error: `Y' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:480: error: `W' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:481: error: `H' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:482: error: `numClipRects' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:485: error: `backX' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:486: error: `backY' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:487: error: `numBackClipRects' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:507: error: `drm_clip_rect_t' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:509: error: `pClipRects' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:509: error: parse error before ')' token

../../../lib/GL/glx/XF86dri.c:519: error: `pBackClipRects' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:519: error: parse error before ')' token

../../../lib/GL/glx/XF86dri.c: In function `XF86DRIGetDeviceInfo':

../../../lib/GL/glx/XF86dri.c:536: error: parse error before "drm_handle_t"

../../../lib/GL/glx/XF86dri.c:543: error: `XExtDisplayInfo' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:543: error: `info' undeclared (first use in this function)

../../../lib/GL/glx/XF86dri.c:544: warning: ISO C89 forbids mixed declarations and code

../../../lib/GL/glx/XF86dri.c:562: error: invalid type argument of `unary *'

../../../lib/GL/glx/XF86dri.c:567: error: invalid type argument of `unary *'

../../../lib/GL/glx/XF86dri.c:568: error: invalid type argument of `unary *'

../../../lib/GL/glx/XF86dri.c:569: error: invalid type argument of `unary *'

../../../lib/GL/glx/XF86dri.c:570: error: invalid type argument of `unary *'

../../../lib/GL/glx/XF86dri.c:573: error: invalid type argument of `unary *'

../../../lib/GL/glx/XF86dri.c:580: error: invalid type argument of `unary *'

../../../lib/GL/glx/XF86dri.c:582: error: invalid type argument of `unary *'

../../../lib/GL/glx/XF86dri.c: At top level:

../../../lib/GL/glx/XF86dri.c:59: warning: `close_display' declared `static' but never defined

make[5]: *** [../../../lib/GL/glx/XF86dri.o] Error 1

make[5]: Leaving directory `/home/netinho/xc/lib/GL/GL'

make[4]: *** [all] Error 2

make[4]: Leaving directory `/home/netinho/xc/lib/GL'

make[3]: *** [all] Error 2

make[3]: Leaving directory `/home/netinho/xc/lib'

make[2]: *** [all] Error 2

make[2]: Leaving directory `/home/netinho/xc'

make[1]: *** [World] Error 2

make[1]: Leaving directory `/home/netinho/xc'

make: *** [World] Error 2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20050704/88549db6/attachment.html>


More information about the xorg mailing list