[Bulk] Re: current xserver git repo make error
Michael Faraci
faraci1 at sbcglobal.net
Wed Jan 2 20:54:25 PST 2008
What would causes version not to be set, I can bypass the first described
error by manually satisfying the value, but then make bombs out in
xf86Init.c at line 1810-28, which i believe is caused by same problem with
version information. xorgversion.m4 is in /usr/local/share/aclocal,
xutils-dev is current. Thank you for your help!
Code Snippet
xf86PrintBanner()
{
#if PRE_RELEASE
ErrorF("\n"
"This is a pre-release version of the X server from " XVENDORNAME ".\n"
"It is not supported in any way.\n"
"Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.\n"
"Select the \"xorg\" product for bugs you find in this release.\n"
"Before reporting bugs in pre-release versions please check the\n"
"latest version in the X.Org Foundation git repository.\n"
"See http://wiki.x.org/wiki/GitPage for git access instructions.\n");
#endif
ErrorF("\nX.Org X Server %d.%d.%d",
XORG_VERSION_MAJOR,
XORG_VERSION_MINOR,
XORG_VERSION_PATCH);
#if XORG_VERSION_SNAP > 0
ErrorF(".%d", XORG_VERSION_SNAP);
#endif
Make Error
then mv -f ".deps/xf86Init.Tpo" ".deps/xf86Init.Po"; else rm -f
".deps/xf86Init.Tpo"; exit 1; fi
xf86Init.c:1810:5: error: missing expression between '(' and ')'
xf86Init.c: In function âxf86PrintBannerâ:
xf86Init.c:1821: error: expected expression before â)â token
xf86Init.c:1821: error: expected expression before â)â token
xf86Init.c:1822: error: expected expression before â)â token
xf86Init.c:1822: error: expected expression before â)â token
xf86Init.c:1823: error: expected expression before â)â token
xf86Init.c:1823: error: expected expression before â)â token
xf86Init.c:1824:5: error: missing expression between '(' and ')'
xf86Init.c:1828:5: error: missing expression between '(' and ')'
make[5]: *** [xf86Init.o] Error 1
-----Original Message-----
From: xorg-bounces at lists.freedesktop.org
[mailto:xorg-bounces at lists.freedesktop.org] On Behalf Of Michael Faraci
Sent: Monday, December 31, 2007 10:39 AM
To: 'Julien Cristau'
Cc: xorg at lists.freedesktop.org
Subject: RE: [Bulk] Re: current xserver git repo make error
Yes, this is the version below, also xorgversion.m4 is defined in
/usr/local/share/aclocal. This is the macro you are referring to right?
xutils-dev 1:7.2.ds2-1 X Window System utility programs for develop
-----Original Message-----
From: Julien Cristau [mailto:jcristau at debian.org]
Sent: Monday, December 31, 2007 1:40 AM
To: Michael Faraci
Cc: xorg at lists.freedesktop.org
Subject: [Bulk] Re: current xserver git repo make error
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
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.17.12/1203 - Release Date: 12/30/2007
11:27 AM
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.17.13/1204 - Release Date: 12/31/2007
12:20 PM
_______________________________________________
xorg mailing list
xorg at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.17.13/1204 - Release Date: 12/31/2007
12:20 PM
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.17.13/1207 - Release Date: 1/2/2008
11:29 AM
More information about the xorg
mailing list