Bug 954 - Linux/AMD64 build failurein Xinerama code
Summary: Linux/AMD64 build failurein Xinerama code
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: * Other (show other bugs)
Version: git
Hardware: All Linux (All)
: high blocker
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-31 13:36 UTC by Roland Mainz
Modified: 2011-10-15 15:48 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Roland Mainz 2004-07-31 13:36:14 UTC
2004-07-31-trunk on SuSE Linux 9.1/AMD64, the build fails like this:
-- snip --
rm -f dispatch.o
gcc -c -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall
-Wpointer-arith -Wundef    -fno-merge-constants -I../include
-I../../../exports/include/X11 -I../../../include/fonts
-I../../../include/extensions              -I../../../programs/Xserver/Xext
-I../../../programs/Xserver/lbx  -I../../.. -I../../../exports/include   -Dlinux
-D__amd64__ -D_POSIX_C_SOURCE=199309L         -D_POSIX_SOURCE
-D_XOPEN_SOURCE                          -D_BSD_SOURCE
-D_SVID_SOURCE                             -D_GNU_SOURCE      -DSHAPE -DXINPUT
-DXKB -DLBX -DXAPPGROUP        -DXCSECURITY -DTOGCUP   -DXF86BIGFONT
-DDPMSExtension    -DPIXPRIV -DPANORAMIX   -DRENDER -DRANDR   -DXFIXES -DDAMAGE 
-DXEVIE -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV
-DSINGLEDEPTH                                -DXFreeXDGA
-DXvExtension                           -DXFree86LOADER 
-DXFree86Server                                -DXF86VIDMODE     
-DXvMCExtension                         
-DSMART_SCHEDULE                                -DBUILDDEBUG
-DXResExtension              
-DX_BYTE_ORDER=X_LITTLE_ENDIAN                          
-DXORG_VERSION_CURRENT="(((6) * 10000000) + ((7) * 100000) + ((0) * 1000) + 0)"
-D_XSERVER64 -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO      dispatch.c
In file included from dispatch.c:104:
../../../programs/Xserver/Xext/panoramiXsrv.h:17: error: parse error before '*'
token
../../../programs/Xserver/Xext/panoramiXsrv.h:17: warning: type defaults to
`int' in declaration of `PanoramiXFindIDByScrnum'
../../../programs/Xserver/Xext/panoramiXsrv.h:17: error: ISO C forbids data
definition with no type or storage class
../../../programs/Xserver/Xext/panoramiXsrv.h:18: error: parse error before '*'
token
../../../programs/Xserver/Xext/panoramiXsrv.h:18: warning: type defaults to
`int' in declaration of `PanoramiXFindIDOnAnyScreen'
../../../programs/Xserver/Xext/panoramiXsrv.h:18: error: ISO C forbids data
definition with no type or storage class
make[5]: *** [dispatch.o] Error 1
make[5]: Leaving directory
`/home/gisburn/projects/xorg/work001/xc/programs/Xserver/dix'
make[4]: *** [dix] Error 2
make[4]: Leaving directory
`/home/gisburn/projects/xorg/work001/xc/programs/Xserver'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/gisburn/projects/xorg/work001/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/gisburn/projects/xorg/work001/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/gisburn/projects/xorg/work001/xc'
make: *** [World] Error 2
-- snip --

Trying to build the tree with 
% make World BOOTSTRAPCFLAGS="-m32" 2>&1 | tee -a buildlog.log
fails, too...
Comment 1 Roland Mainz 2004-07-31 14:18:04 UTC
It seems the include files panoramiX.h in xc/programs/Xserver/Xext/ and
xc/include/extensions/panoramiX.h differ, causing this kind of trouble... ;-(
Comment 2 Roland Mainz 2004-07-31 16:19:21 UTC
OK, this issue wins various awards for being stupid. The problem seems to be
that pulling CVS by date doesn't seem to work, e.g.
% export CVS_RSH=ssh
% export CVSROOT=:ext:gisburn@cvs.freedesktop.org:/cvs/xorg
% cvs -z5 checkout -D "$(TZ=PDT date)" xc
pulls source which breaks, removing the '-D "$(TZ=PDT date)"' solves the
problem.

I'll mark the bug as INVALID for now and email the sitewrangers people to look
whether there is a CVS problem...


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.