error during building xserver with dri enabled

Serengeti serengetti at enter.net.pl
Wed May 5 12:07:23 PDT 2004


Hello,
when I try to build xserver with --enable-dri, I get this error:

Making all in dri
make[1]: Entering directory `/root/freedesktop/xserver/dri'
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../mi -I../drm  -Wall 
-Wpointer-arith -Wstrict-prototypes         -Wmissing-prototypes 
-Wmissing-declarations    -Wnested-externs -fno-strict-aliasing 
-I/opt/fdo/include -I/opt/fdo/include/X11/fonts 
-I/opt/fdo/include/X11/Xtrans   -I../include -I../Xext    -g -O2 -MT 
dri.o -MD -MP -MF ".deps/dri.Tpo" -c -o dri.o dri.c; \
then mv -f ".deps/dri.Tpo" ".deps/dri.Po"; else rm -f ".deps/dri.Tpo"; 
exit 1; fi
In file included from xf86dristr.h:41,
                  from dri.c:56:
xf86dri.h:79: error: syntax error before '*' token
xf86dri.h:82: warning: function declaration isn't a prototype
xf86dri.h:85: error: syntax error before '*' token
xf86dri.h:89: warning: function declaration isn't a prototype
xf86dri.h:92: error: syntax error before '*' token
xf86dri.h:95: warning: function declaration isn't a prototype
xf86dri.h:98: error: syntax error before '*' token
xf86dri.h:102: warning: function declaration isn't a prototype
xf86dri.h:105: error: syntax error before '*' token
xf86dri.h:108: warning: function declaration isn't a prototype
xf86dri.h:111: error: syntax error before '*' token
xf86dri.h:113: warning: function declaration isn't a prototype
xf86dri.h:116: error: syntax error before '*' token
xf86dri.h:122: warning: function declaration isn't a prototype
xf86dri.h:125: error: syntax error before '*' token
xf86dri.h:130: warning: function declaration isn't a prototype
xf86dri.h:133: error: syntax error before '*' token
xf86dri.h:136: warning: function declaration isn't a prototype
xf86dri.h:139: error: syntax error before '*' token
xf86dri.h:143: warning: function declaration isn't a prototype
xf86dri.h:146: error: syntax error before '*' token
xf86dri.h:149: warning: function declaration isn't a prototype
xf86dri.h:152: error: syntax error before '*' token
xf86dri.h:167: warning: function declaration isn't a prototype
xf86dri.h:170: error: syntax error before '*' token
xf86dri.h:178: warning: function declaration isn't a prototype
xf86dri.h:181: error: syntax error before '*' token
xf86dri.h:184: warning: function declaration isn't a prototype
xf86dri.h:187: error: syntax error before '*' token
xf86dri.h:190: warning: function declaration isn't a prototype
make[1]: *** [dri.o] Error 1
make[1]: Leaving directory `/root/freedesktop/xserver/dri'
make: *** [all-recursive] Error 1


I tried the previous version of xf86dri.h and the error is the same.

Any clues?

Thanks,
Sławek

-------------------------------------------------
List sprawdzony przez Panda Software www.pspolska.pl - 100% Virus Free



More information about the xserver mailing list