garnome-2.14 wont compile



Hi all

When trying to compile I get this failure

> make[8]: Entering directory `/home/david/garnome-2.14.0/freedesktop/glitz/work/main.d/glitz-0.4.4/src/glx'
> if /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src   -I/opt/gnome-2.14/include  -I/opt/gnome-2.14/include -L/opt/gnome-2.14/lib -O2 -pipe -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT glitz_glx_drawable.lo -MD -MP -MF ".deps/glitz_glx_drawable.Tpo" -c -o glitz_glx_drawable.lo glitz_glx_drawable.c; \
> then mv -f ".deps/glitz_glx_drawable.Tpo" ".deps/glitz_glx_drawable.Plo"; else rm -f ".deps/glitz_glx_drawable.Tpo"; exit 1; fi
>  cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src -I/opt/gnome-2.14/include -I/opt/gnome-2.14/include -L/opt/gnome-2.14/lib -O2 -pipe -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT glitz_glx_drawable.lo -MD -MP -MF .deps/glitz_glx_drawable.Tpo -c glitz_glx_drawable.c  -fPIC -DPIC -o .libs/glitz_glx_drawable.o
> In file included from glitz_glx_drawable.c:30:
> glitz_glxint.h:34:19: error: GL/gl.h: No such file or directory
> glitz_glxint.h:35:20: error: GL/glx.h: No such file or directory
> In file included from glitz_glxint.h:37,
>                  from glitz_glx_drawable.c:30:
> glitz_glxext.h:110: error: syntax error before 'GLXDrawable'
> glitz_glxext.h:111: warning: function declaration isn't a prototype
> glitz_glxext.h:113: error: syntax error before 'GLXDrawable'
> glitz_glxext.h:113: warning: function declaration isn't a prototype
> glitz_glxext.h:114: error: syntax error before '*' token
> glitz_glxext.h:116: error: syntax error before 'GLXContext'
> glitz_glxext.h:116: warning: type defaults to 'int' in declaration of 'GLXContext'
> glitz_glxext.h:116: warning: function declaration isn't a prototype
> glitz_glxext.h:116: error: 'GLXContext' declared as function returning a function
> glitz_glxext.h:116: warning: function declaration isn't a prototype
> In file included from glitz_glx_drawable.c:30:
> glitz_glxint.h:59: error: syntax error before 'glitz_glx_create_new_context_t'
> glitz_glxint.h:59: warning: no semicolon at end of struct or union
> glitz_glxint.h:60: warning: type defaults to 'int' in declaration of 'glitz_glx_static_proc_address_list_t'
> glitz_glxint.h:60: warning: data definition has no type or storage class
> glitz_glxint.h:85: error: field 'context' declared as a function
> glitz_glxint.h:106: error: field 'root_context' declared as a function
> glitz_glxint.h:109: error: syntax error before 'glitz_glx_static_proc_address_list_t'
> glitz_glxint.h:109: warning: no semicolon at end of struct or union
> glitz_glxint.h:111: error: syntax error before '}' token
> glitz_glxint.h:118: error: syntax error before 'GLXDrawable'
> glitz_glxint.h:118: warning: no semicolon at end of struct or union
> glitz_glxint.h:119: warning: type defaults to 'int' in declaration of 'pbuffer'
> glitz_glxint.h:119: warning: data definition has no type or storage class
> glitz_glx_drawable.c:36: error: syntax error before 'GLXDrawable'
> glitz_glx_drawable.c:40: warning: function declaration isn't a prototype
> glitz_glx_drawable.c: In function '_glitz_glx_create_drawable':
> glitz_glx_drawable.c:43: error: 'width' undeclared (first use in this function)
> glitz_glx_drawable.c:43: error: (Each undeclared identifier is reported only once
> glitz_glx_drawable.c:43: error: for each function it appears in.)
> glitz_glx_drawable.c:43: error: 'height' undeclared (first use in this function)glitz_glx_drawable.c:46: error: invalid application of 'sizeof' to incomplete type 'glitz_glx_drawable_t'
> glitz_glx_drawable.c:50: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c:51: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c:51: error: 'screen_info' undeclared (first use in this function)
> glitz_glx_drawable.c:52: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c:52: error: 'context' undeclared (first use in this function)
> glitz_glx_drawable.c:53: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c:53: error: 'glx_drawable' undeclared (first use in this function)
> glitz_glx_drawable.c:54: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c:54: error: 'glx_pbuffer' undeclared (first use in this function)
> glitz_glx_drawable.c:55: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c:55: error: 'format' undeclared (first use in this function)glitz_glx_drawable.c:56: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c:58: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c: In function '_glitz_glx_create_pbuffer_drawable':
> glitz_glx_drawable.c:106: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c: In function 'glitz_glx_create_pbuffer':
> glitz_glx_drawable.c:117: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c: In function 'glitz_glx_create_drawable_for_window':
> glitz_glx_drawable.c:147: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c: In function 'glitz_glx_destroy':
> glitz_glx_drawable.c:174: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c:175: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c:181: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c:182: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c:186: warning: implicit declaration of function 'glXGetCurrentDrawable'
> glitz_glx_drawable.c:186: warning: nested extern declaration of 'glXGetCurrentDrawable'
> glitz_glx_drawable.c:186: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c:187: warning: implicit declaration of function 'glXMakeCurrent'
> glitz_glx_drawable.c:187: warning: nested extern declaration of 'glXMakeCurrent'glitz_glx_drawable.c:187: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c:189: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c:190: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c:190: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c: In function 'glitz_glx_swap_buffers':
> glitz_glx_drawable.c:200: warning: implicit declaration of function 'glXSwapBuffers'
> glitz_glx_drawable.c:200: warning: nested extern declaration of 'glXSwapBuffers'glitz_glx_drawable.c:200: error: dereferencing pointer to incomplete type
> glitz_glx_drawable.c:201: error: dereferencing pointer to incomplete type
> make[8]: *** [glitz_glx_drawable.lo] Error 1
> make[8]: Leaving directory `/home/david/garnome-2.14.0/freedesktop/glitz/work/main.d/glitz-0.4.4/src/glx'
> make[7]: *** [all-recursive] Error 1
> make[7]: Leaving directory `/home/david/garnome-2.14.0/freedesktop/glitz/work/main.d/glitz-0.4.4/src'
> make[6]: *** [all-recursive] Error 1
> make[6]: Leaving directory `/home/david/garnome-2.14.0/freedesktop/glitz/work/main.d/glitz-0.4.4'
> make[5]: *** [all] Error 2
> make[5]: Leaving directory `/home/david/garnome-2.14.0/freedesktop/glitz/work/main.d/glitz-0.4.4'
> make[4]: *** [build-work/main.d/glitz-0.4.4/Makefile] Error 2
> make[4]: Leaving directory `/home/david/garnome-2.14.0/freedesktop/glitz'
> make[3]: *** [../../freedesktop/glitz/cookies/main.d/install] Error 2
> make[3]: Leaving directory `/home/david/garnome-2.14.0/freedesktop/cairo'
> make[2]: *** [../../freedesktop/cairo/cookies/main.d/install] Error 2
> make[2]: Leaving directory `/home/david/garnome-2.14.0/platform/gtk+'
> make[1]: *** [../../platform/gtk+/cookies/main.d/install] Error 2
> make[1]: Leaving directory `/home/david/garnome-2.14.0/desktop/zenity'
> make: *** [install] Error 2

I am using ubuntu.  I have also tried in Debian, but got the same error.

All the best.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]