[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: xorg Digest, Vol 14, Issue 98
From:       sNop <snop3 () seznam ! cz>
Date:       2006-09-30 8:18:50
Message-ID: 451E286A.9080708 () seznam ! cz
[Download RAW message or body]

xorg-request@lists.freedesktop.org napsal(a):

>Message: 7
>Date: Sat, 30 Sep 2006 09:36:09 +0800
>From: "Chong, Weiliang" <weiliang.chong@intel.com>
>Subject: problem of compiling Xgl
>To: <xorg@lists.freedesktop.org>
>Message-ID:
>	<666CC8FCE3247C4DA876BA979059781A1BC2E6@pdsmsx401.ccr.corp.intel.com>
>Content-Type: text/plain; charset="us-ascii"
>
>Hi all,
>
> 
>
>Is there any one who has compiled Xgl? I met some problems with the
>
>compiling.
>
> 
>
>My step is following,
>
> 
>
>         $ git-clone git://anongit.freedesktop.org/xorg/xserver
>
>$ cd xserver
>
>$./autogen.sh --prefix=/opt/X11R7 --enable-xgl --enable-xglx
>
>--with-mesa-source=/path/to/mesa
>
>$make
>
> 
>
>Then, I got the error,
>
>         extension.c: In function 'DeclareExtensionSecurity':
>
> 
>
>extension.c:234: error: 'UntrustedProcVector' undeclared (first use in
>
>this function)
>
>extension.c:234: error: (Each undeclared identifier is reported only
>
>once
>
>extension.c:234: error: for each function it appears in.)
>
>extension.c:235: error: 'SwappedUntrustedProcVector' undeclared (first
>
>use in this function)
>
> 
>
>I see the function is in "xcsecurity", so I add option
>--disable-xcsecurity
>
>But another error appeared,
>
>libxgl.a(xglscreen.o): In function
>`xglScreenInit':/home/veelion/xserver/hw/xgl/xglscreen.c:155: undefined
>reference to `fbSetVisualTypesAndMasks'
>
>:/home/veelion/xserver/hw/xgl/xglscreen.c:182: undefined reference to
>`fbSetVisualTypesAndMasks'
>
> 
>
>Is my options for autogen.sh right? Is there any other options to build
>Xgl?
>
> 
>
>Thanks,
>
>-Veelion
>
>
>  
>
When you download xserver you must checkout right branch, when you want 
xgl then git checkout xgl-0-0-1. My configure command is
PKG_CONFIG_PATH=/opt/Xgl/lib/pkgconfig ACLOCAL='aclocal -I 
/opt/Xgl/share/aclocal' ./autogen.sh --enable-xgl --enable-glx 
--enable-dri --enable-xglx --disable-xorg --disable-xprint --disable-dmx 
--disable-xvfb --disable-xnest --disable-kdriveserver 
--with-mesa-source=/opt/Xgl/_tmp_/Mesa-6.5.1 --with-release-snap=1 
--prefix=/opt/Xgl
I compile with Mesa 6.5.1 because with newset Mesa from git are errors.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic