current xserver git repo make error

Julien Cristau jcristau at debian.org
Sun Dec 30 23:40:12 PST 2007


On Sun, Dec 30, 2007 at 18:55:09 -0600, Michael Faraci wrote:

> Im getting an error: expected expression before ')' token in main.c of dix,
> not sure what im missing autogen.sh runs fine no errors. I have attached a
> log of make from xserver dir. This is on Debian Etch, Sunblade 1500.
> 
>  gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -I../include -I../include -I../include -I../include -I../include -I../Xprint -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/pixman-1 -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb "-DVENDOR_NAME=\"The X.Org Foundation\"" "-DVENDOR_RELEASE=(((1) * 10000000) + (() * 100000) + (() * 1000) + 2)" -g -O2 -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c  -fPIC -DPIC -o .libs/main.o
> main.c:508: error: expected expression before ')' token
> main.c:508: error: expected expression before ')' token

It looks like the release version isn't getting set correctly, so some
parts are empty.  Is the xutils-dev package installed when you run
autoreconf/autogen, and is the XORG_RELEASE_VERSION macro available?

Cheers,
Julien



More information about the xorg mailing list