Bug 2820

Summary: glxserver.h:93: syntax error before '*' token
Product: xorg Reporter: Will L G <diskman>
Component: Server/GeneralAssignee: Keith Packard <keithp>
Status: CLOSED WORKSFORME QA Contact:
Severity: blocker    
Priority: highest    
Version: unspecified   
Hardware: Alpha   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Will L G 2005-03-25 13:44:04 UTC
Digital AlphaPC 164SX 533 MHz
Redhat 7.2 [Alpha]
GCC-3.2.3
Make-3.8
Binutils-2.15
Kernel-2.6.11.4

make[1]: Entering directory `/usr2/www/pub/alpha-RH7/x/xserver/xserver/GL/glx'
if ccache gcc-3.2.3 -DHAVE_CONFIG_H -I. -I. -I../../include -I../../GL/glx -
I../../GL/glx -I../../GL/include -I../../GL/mesa/include -I../../mi -I../../fb -
I../../Xext -I../../render -I../../../Mesa/include -Wall -Wpointer-arith -
Wstrict-prototypes        -Wmissing-prototypes -Wmissing-declarations     -
Wnested-externs -fno-strict-aliasing -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -
D_XOPEN_SOURCE -DXTHREADS -DXUSE_MTSAFE_API -
DDFLT_XKB_CONFIG_ROOT="/usr/X11R6/lib/X11/xkb" -I/usr/include/X11/fonts -
I/usr/include/X11/Xtrans   -D_BSD_SOURCE -I../../include -I../../Xext  -O3 -
DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -O3 -
mtune=ev56 -mcpu=ev56  -mieee -funroll-all-loops -mmax -ffast-math -fstrict-
aliasing -pipe  -fexpensive-optimizations -ffloat-store  -foptimize-register-
move -foptimize-sibling-calls -IGL/mesa/X -MT libglx_a-g_disptab.o -MD -MP -
MF ".deps/libglx_a-g_disptab.Tpo" -c -o libglx_a-g_disptab.o `test -
f 'g_disptab.c' || echo './'`g_disptab.c; \
then mv -f ".deps/libglx_a-g_disptab.Tpo" ".deps/libglx_a-g_disptab.Po"; else 
rm -f ".deps/libglx_a-g_disptab.Tpo"; exit 1; fi
<command line>:1:1: warning: "_XOPEN_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
In file included from glxserver.h:67,
                 from g_disptab.c:32:
glxscreens.h:43:32: GL/internal/glcore.h: No such file or directory
In file included from glxserver.h:67,
                 from g_disptab.c:32:
glxscreens.h:62: syntax error before "__GLinterface"
glxscreens.h:62: warning: no semicolon at end of struct or union
glxscreens.h:89: syntax error before '}' token
glxscreens.h:89: warning: type defaults to `int' in declaration of 
`__GLXscreenInfo'
glxscreens.h:89: warning: data definition has no type or storage class
In file included from glxserver.h:68,
                 from g_disptab.c:32:
glxdrawable.h:44: syntax error before "__GLXscreenInfo"
glxdrawable.h:44: warning: no semicolon at end of struct or union
glxdrawable.h:49: syntax error before '}' token
glxdrawable.h:49: warning: type defaults to `int' in declaration of 
`__GLXpixmap'
glxdrawable.h:49: warning: data definition has no type or storage class
glxdrawable.h:60: syntax error before "__GLXpixmap"
glxdrawable.h:60: warning: no semicolon at end of struct or union
glxdrawable.h:99: syntax error before "glPriv"
glxdrawable.h:99: warning: type defaults to `int' in declaration of `glPriv'
glxdrawable.h:99: warning: data definition has no type or storage class
glxdrawable.h:105: syntax error before '}' token
In file included from glxserver.h:69,
                 from g_disptab.c:32:
glxcontext.h:45:32: GL/internal/glcore.h: No such file or directory
In file included from glxserver.h:69,
                 from g_disptab.c:32:
glxcontext.h:65: syntax error before "__GLinterface"
glxcontext.h:65: warning: no semicolon at end of struct or union
glxcontext.h:70: warning: type defaults to `int' in declaration of `modes'
glxcontext.h:70: warning: data definition has no type or storage class
glxcontext.h:77: syntax error before '*' token
glxcontext.h:77: warning: type defaults to `int' in declaration of `pGlxScreen'
glxcontext.h:77: warning: data definition has no type or storage class
glxcontext.h:108: conflicting types for `idExists'
glxdrawable.h:46: previous declaration of `idExists'
glxcontext.h:146: syntax error before '*' token
glxcontext.h:146: warning: type defaults to `int' in declaration of `drawPixmap'
glxcontext.h:146: warning: data definition has no type or storage class
glxcontext.h:147: syntax error before '*' token
glxcontext.h:147: warning: type defaults to `int' in declaration of `readPixmap'
glxcontext.h:147: warning: data definition has no type or storage class
glxcontext.h:154: syntax error before '}' token
In file included from g_disptab.c:32:
glxserver.h:93: syntax error before '*' token
glxserver.h:93: warning: type defaults to `int' in declaration of 
`__glXActiveScreens'
glxserver.h:93: warning: data definition has no type or storage class
In file included from g_disptab.c:33:
glxext.h:68: syntax error before '*' token
glxext.h:68: warning: function declaration isn't a prototype
make[1]: *** [libglx_a-g_disptab.o] Error 1
make[1]: Leaving directory `/usr2/www/pub/alpha-RH7/x/xserver/xserver/GL/glx'
make: *** [all-recursive] Error 1
[root@jericho GL]# find ../../* -name glxscreens.h
../../xserver/GL/glx/glxscreens.h
[root@jericho GL]#
Comment 1 Erik Andren 2006-06-18 03:32:11 UTC
Is this still an issue using a more current version of xorg?
Comment 2 Will L G 2006-06-18 10:01:41 UTC
Hell, these bugs are so damn old I can't really tell ya... Nothing personal but
you lazy fucks didn't even bother to respond for OVER an year! You tell me, did
any one bother to fix it since I posted the error? 
Comment 3 Daniel Stone 2006-11-30 14:38:30 UTC
maybe it's because none of us have an alpha, and because it works for everyone
else.  otherwise no-one would be running glx, no?

things to try: less ancient system, attitude adjustment.  the gratitude for your
windowing system has been kindly received, and we thank you for your
contribution also.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.