[Xorg] Build Error with Composite

Anthony Romano dominatus at gmail.com
Mon Aug 2 18:00:57 PDT 2004


I have the most recent cvs and added in my host.def

#define BuildComposite  YES

I also have BuildDamage and BuildXFixes set to YES as well, I wasn't
sure if they were built by default. When I try to build it I get the
following error:

 cpp -undef -traditional 
-D__apploaddir__=/usr/X11R6/lib/X11/app-defaults -D__appmansuffix__=1x
-D__filemansuffix__=5x -D__libmansuffix__=3x -D__miscmansuffix__=7
-D__drivermansuffix__=4 -D__adminmansuffix__=8
-D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf
-D__xconfigdir__=/usr/X11R6/lib/X11 -D__xlogfile__=Xorg
-D__xservername__=Xorg -D__xorgversion__='"" ""'
-D__vendorversion__="`echo 6 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\
/'` X.Org"  \
     < Xdmx.man | sed -e '/^#  *[0-9][0-9]*  *.*$/d'                  
 -e '/^#line  *[0-9][0-9]*  *.*$/d'                      -e '/^[ 
]*XCOMM$/s/XCOMM/#/'                    -e '/^[        
]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/'                        -e '/^[
]*XHASH/s/XHASH/#/'                      -e '/\@\@$/s/\@\@$/\\/'
>Xdmx._man; \
fi
rm -f Xdmx.1x.html Xdmx.1x-html
../../../../config/util/rman -f HTML < Xdmx._man \
  > Xdmx.1x-html && mv -f Xdmx.1x-html Xdmx.1x.html
make[5]: Leaving directory `/home/tony/xcbuild/programs/Xserver/hw/dmx'
gcc -m32 -o Xorg -O2 -fno-strength-reduce -fno-strict-aliasing -ansi
-pedantic -Wall -Wpointer-arith -Wundef     -L../../exports/lib  
xkb/xf86KillSrv.o xkb/xf86VT.o xkb/xf86Private.o            
../../programs/Xserver/hw/xfree86/common/xf86Init.o
../../programs/Xserver/hw/xfree86/common/xf86IniExt.o
../../programs/Xserver/hw/xfree86/common/libxf86.a     
../../programs/Xserver/hw/xfree86/parser/libxf86config.a
../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a
../../programs/Xserver/hw/xfree86/loader/libloader.a               
../../programs/Xserver/hw/xfree86/common/libxf86.a dix/libdix.a
os/libos.a            ../../lib/font/fontbase.o                  
../../lib/font/libfontbase.a Xext/libexts.a xkb/libxkb.a
Xi/libxinput.a                   lbx/liblbx.a                  
../../lib/lbxutil/liblbxutil.a 
../../programs/Xserver/hw/xfree86/common/libxf86.a          
Xext/libexts.a xkb/libxkb.a Xi/libxinput.a                  
lbx/liblbx.a                   ../../lib/lbxutil/liblbxutil.a 
randr/librandr.a render/librender.a              xfixes/libxfixes.a
damageext/libdamage.a miext/damage/libdamage.a
composite/libcomposite.a dix/libxpstubs.a mi/libmi.a Xext/libexts.a
xkb/libxkb.a Xi/libxinput.a                   lbx/liblbx.a            
      ../../lib/lbxutil/liblbxutil.a  randr/librandr.a
render/librender.a            xfixes/libxfixes.a damageext/libdamage.a
miext/damage/libdamage.a composite/libcomposite.a 
../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a     -lz -lm 
                -lXau -lXdmcp  -rdynamic -ldl 
-Wl,-rpath-link,../../exports/lib
gcc -m32 -o Xprt -O2 -fno-strength-reduce -fno-strict-aliasing -ansi
-pedantic -Wall -Wpointer-arith -Wundef     -L../../exports/lib  
Xprint/ddxInit.o Xprint/miinitext.o Xprint/dpmsstubs.o   
os/libcwrapper.o dix/libdix.a os/libos.a  Xprint/libprinter.a   
Xprint/raster/libraster.a Xprint/pcl/libpcl.a Xprint/pcl-mono/libpcl.a
Xprint/ps/libps.a mfb/libmfb.a cfb/libcfb.a  cfb32/libcfb32.a
mfb/libmfb.a dix/libxpstubs.a mi/libmi.a Xext/libexts.a xkb/libxkb.a
Xi/libxinput.a                   lbx/liblbx.a                  
../../lib/lbxutil/liblbxutil.a  randr/librandr.a render/librender.a   
             xfixes/libxfixes.a damageext/libdamage.a
miext/damage/libdamage.a composite/libcomposite.a Xext/libext.a
dbe/libdbe.a record/librecord.a GL/glx/libglx.a               
GL/mesa/GLcore/libGLcore.a XTrap/libxtrap.a    
../../lib/font/libXfont.a -lfreetype dix/libxpstubs.a  -lz -lm        
            -lXau -lXdmcp  -Wl,-rpath-link,../../exports/lib
Xprint/ps/libps.a(psout_ftpstype1.o)(.text+0x6f): In function
`PsOut_DownloadFreeType1':
: the use of `tempnam' is dangerous, better use `mkstemp'
composite/libcomposite.a(compext.o)(.text+0x3b6): In function
`ProcCompositeCreateRegionFromBorderClip':
: undefined reference to `XFixesRegionCopy'
composite/libcomposite.a(compext.o)(.text+0x3e6): In function
`ProcCompositeCreateRegionFromBorderClip':
: undefined reference to `RegionResType'
composite/libcomposite.a(compwindow.o)(.text+0xa55): In function
`compCopyWindow':
: undefined reference to `DamageDamageRegion'
composite/libcomposite.a(compwindow.o)(.text+0xea2): In function
`compSetRedirectBorderClip':
: undefined reference to `DamageDamageRegion'
composite/libcomposite.a(compwindow.o)(.text+0x1015): In function
`compWindowUpdateAutomatic':
: undefined reference to `DamageRegion'
composite/libcomposite.a(compwindow.o)(.text+0x117f): In function
`compWindowUpdateAutomatic':
: undefined reference to `DamageEmpty'
composite/libcomposite.a(compalloc.o)(.text+0x180): In function
`compRedirectWindow':
: undefined reference to `DamageUnregister'
composite/libcomposite.a(compalloc.o)(.text+0x1d1): In function
`compRedirectWindow':
: undefined reference to `DamageCreate'
composite/libcomposite.a(compalloc.o)(.text+0x35c): In function
`compFreeClientWindow':
: undefined reference to `DamageRegister'
composite/libcomposite.a(compalloc.o)(.text+0x372): In function
`compFreeClientWindow':
: undefined reference to `DamageDamageRegion'
composite/libcomposite.a(compalloc.o)(.text+0x3cd): In function
`compFreeClientWindow':
: undefined reference to `DamageDestroy'
composite/libcomposite.a(compalloc.o)(.text+0x57d): In function
`compRedirectSubwindows':
: undefined reference to `DamageExtSetCritical'
composite/libcomposite.a(compalloc.o)(.text+0x737): In function
`compFreeClientSubwindows':
: undefined reference to `DamageExtSetCritical'
composite/libcomposite.a(compalloc.o)(.text+0x984): In function
`compAllocPixmap':
: undefined reference to `DamageRegister'
composite/libcomposite.a(compalloc.o)(.text+0xa21): In function
`compFreePixmap':
: undefined reference to `DamageUnregister'
collect2: ld returned 1 exit status
make[4]: *** [Xprt] Error 1
make[4]: Leaving directory `/home/tony/xcbuild/programs/Xserver'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/tony/xcbuild/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/tony/xcbuild'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/tony/xcbuild'
make: *** [World] Error 2


If I leave out BuildComposite it builds fine. Is the composite manager
just not read to be built yet, or am I missing a step. (I couldn't
find anywhere online on steps to build x.org with the new composite
manager.



More information about the xorg mailing list