[xorg-bugzilla-noise] [Bug 573] New: Build failure in xc/programs/Xserver/GL/dri when |#define XorgServer NO| and |#define XF86Server NO|

bugzilla-daemon at pdx.freedesktop.org bugzilla-daemon at pdx.freedesktop.org
Thu Apr 29 01:46:06 EST 2004


http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=573

           Summary: Build failure in xc/programs/Xserver/GL/dri when
                    |#define XorgServer NO| and |#define XF86Server NO|
           Product: xorg
           Version: CVS_head
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: cvs
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: roland.mainz at nrubsig.org
                CC: alanh at fairlite.demon.co.uk


2004-04-28-trunk fails to build on SuSE Linux 8.2/x86 when |#define XorgServer
NO| and |#define XF86Server NO| are set.

The build failure looks like this:
-- snip --
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall
-Wpointer-arith -Wundef     -I../../../../programs/Xserver/include
-I../../../../exports/include -I../../../../exports/include/X11         
-I../../../../include/extensions          
-I../../../../programs/Xserver/hw/xfree86/os-support
-I../../../../programs/Xserver/hw/xfree86/common            -I../include
-I../glx -I../../../../lib/GL/include          -I../../../../programs/Xserver/mi
-I../../../../include/fonts  -I../../../.. -I../../../../exports/include  
-Dlinux -D__i386__ -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 -DGCCUSESGAS
-DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH                            
-DXFreeXDGA                             
-DXFree86Server                           
-DXF86VIDMODE                          
-DXvMCExtension                                
-DSMART_SCHEDULE                            -DBUILDDEBUG
-DXResExtension                           
-DX_BYTE_ORDER=X_LITTLE_ENDIAN             -DXORG_VERSION_CURRENT="(((6) *
10000000) + ((7) * 100000) + ((0) * 1000) + 0)" -DNDEBUG   -DFUNCPROTO=15
-DNARROWPROTO  -DXFree86Module -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING
-DGLX_USE_DLOPEN -DGLX_USE_MESA  -DXVENDORNAME='"The X.Org Foundation"'
-DXVENDORNAMESHORT='"X.Org"'  xf86dri.c
In file included from ../../../../programs/Xserver/hw/xfree86/common/xf86.h:40,
                 from xf86dri.c:60:
../../../../programs/Xserver/hw/xfree86/common/xf86str.h:45:21: xf86Pci.h: No
such file or directory
In file included from ../../../../programs/Xserver/hw/xfree86/common/xf86.h:40,
                 from xf86dri.c:60:
../../../../programs/Xserver/hw/xfree86/common/xf86str.h:865: error: parse error
before "IOADDRESS"
../../../../programs/Xserver/hw/xfree86/common/xf86str.h:865: warning: no
semicolon at end of struct or union
../../../../programs/Xserver/hw/xfree86/common/xf86str.h:932: error: parse error
before '}' token
../../../../programs/Xserver/hw/xfree86/common/xf86str.h:932: warning: type
defaults to `int' in declaration of `ScrnInfoRec'
../../../../programs/Xserver/hw/xfree86/common/xf86str.h:932: error: ISO C
forbids data definition with no type or storage class
In file included from xf86dri.c:60:
../../../../programs/Xserver/hw/xfree86/common/xf86.h:106: error: parse error
before '*' token
../../../../programs/Xserver/hw/xfree86/common/xf86.h:106: warning: type
defaults to `int' in declaration of `xf86GetPciConfigInfo'
../../../../programs/Xserver/hw/xfree86/common/xf86.h:106: error: ISO C forbids
data definition with no type or storage class
../../../../programs/Xserver/hw/xfree86/common/xf86.h:277: error: parse error
before "IOADDRESS"
xf86dri.c: In function `ProcXF86DRIQueryDirectRenderingCapable':
xf86dri.c:158: warning: comparison between signed and unsigned
xf86dri.c: In function `ProcXF86DRIOpenConnection':
xf86dri.c:192: warning: comparison between signed and unsigned
xf86dri.c: In function `ProcXF86DRIAuthConnection':
xf86dri.c:233: warning: comparison between signed and unsigned
xf86dri.c: In function `ProcXF86DRICloseConnection':
xf86dri.c:258: warning: comparison between signed and unsigned
xf86dri.c: In function `ProcXF86DRIGetClientDriverName':
xf86dri.c:278: warning: comparison between signed and unsigned
xf86dri.c: In function `ProcXF86DRICreateContext':
xf86dri.c:319: warning: comparison between signed and unsigned
xf86dri.c: In function `ProcXF86DRIDestroyContext':
xf86dri.c:358: warning: comparison between signed and unsigned
xf86dri.c: In function `ProcXF86DRICreateDrawable':
xf86dri.c:381: warning: comparison between signed and unsigned
xf86dri.c: In function `ProcXF86DRIDestroyDrawable':
xf86dri.c:416: warning: comparison between signed and unsigned
xf86dri.c: In function `ProcXF86DRIGetDrawableInfo':
xf86dri.c:451: warning: comparison between signed and unsigned
xf86dri.c: In function `ProcXF86DRIGetDeviceInfo':
xf86dri.c:530: warning: comparison between signed and unsigned
xf86dri.c: In function `ProcXF86DRIOpenFullScreen':
xf86dri.c:580: warning: comparison between signed and unsigned
xf86dri.c: In function `ProcXF86DRICloseFullScreen':
xf86dri.c:611: warning: comparison between signed and unsigned
make[6]: *** [xf86dri.o] Error 1
make[6]: Leaving directory
`/home/gismobile/projects/xorg/verification/xc/programs/Xserver/GL/dri'
make[5]: *** [dri] Error 2
make[5]: Leaving directory
`/home/gismobile/projects/xorg/verification/xc/programs/Xserver/GL'
make[4]: *** [GL] Error 2
make[4]: Leaving directory
`/home/gismobile/projects/xorg/verification/xc/programs/Xserver'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/gismobile/projects/xorg/verification/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/gismobile/projects/xorg/verification/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/gismobile/projects/xorg/verification/xc'
make: *** [World] Error 2
-- snip --

Steps to reproduce:
1. Pull source
2. Apply this patch:
-- snip --
Index: xc/config/cf/site.def
===================================================================
RCS file: /cvs/xorg/xc/config/cf/site.def,v
retrieving revision 1.3
diff -u -r1.3 site.def
--- a/xc/config/cf/site.def     25 Apr 2004 22:34:12 -0000      1.3
+++ b/xc/config/cf/site.def     28 Apr 2004 15:42:09 -0000
@@ -43,6 +43,12 @@
 
 #define HasFreetype2                   NO
 
+#define XorgServer                     NO
+#define XF86Server                     NO
+#define XnestServer                    NO
+#define XVirtualFramebufferServer      NO
+#define BuildXvExt                     NO
+
 #include <host.def>
 
 #include <xorgsite.def>
-- snip --
3. Do a % make World # ...

Result:
Build failure like described above

Expected result:
Build completes succesfully.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the xorg-bugzilla-noise mailing list