Steve,
Does the attached patch help for you?
Keith
On Wed, 2010-03-10 at 05:34 -0800, STEVE555 wrote:
> Hi Keith,
> I use these configure options:
> ./configure --prefix=/usr --enable-32-bit --enable-xcb
> --enable-gallium-nouveau --with-state-trackers=dri,egl,xorg,glx,vega,es
> --enable-motif --enable-gl-osmesa --disable-gallium-intel
> --disable-gallium-radeon --with-expat=/usr/lib
> --with-demos=xdemos,demos,trivial,tests --with-dri-drivers=swrast
> --enable-gallium-swrast --enable-gallium-svga --with-max-width=4096
> --with-max-height=4096 --ernable-debug
>
> I sometimes use --with-max-width= and --with-max-height= but the rest of
> them generally stay the same.
>
> Regards,
> STEVE555
>
>
> Keith Whitwell-3 wrote:
> >
> > Steve,
> >
> > What configure options are those?
> >
> > Keith
> >
> > On Wed, 2010-03-10 at 04:41 -0800, STEVE555 wrote:
> >> Dear Keith,
> >> I checked out your branch using git checkout -b.and used
> >> git
> >> pull to get the differences between your branch and master.I did a gmake
> >> -B
> >> realclean and used my ./configure options I use for master.
> >> Unfortunately,it has stopped compiling with this error:
> >>
> >> /usr/bin/install -c vmwgfx_dri.so ../../../../../../lib/gallium
> >> gmake[5]: Leaving directory `/opt/mesa/src/gallium/winsys/drm/vmware/dri'
> >> gmake[5]: Entering directory
> >> `/opt/mesa/src/gallium/winsys/drm/vmware/egl'
> >> gcc -c -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math
> >> -fvisibility=hidden -fno-strict-aliasing -m32 -g -fPIC -m32
> >> -DUSE_X86_ASM
> >> -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS
> >> -DDEBUG
> >> -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
> >> -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS
> >> -DHAVE_XEXTPROTO_71 -DMAX_WIDTH=4096 -DMAX_HEIGHT=4096 -D_GNU_SOURCE
> >> -DPTHREADS -DDEBUG -DHAVE_POSIX_MEMALIGN -DUSE_XCB
> >> -DUSE_EXTERNAL_DXTN_LIB=1
> >> -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING
> >> -DHAVE_ALIAS
> >> -DHAVE_XEXTPROTO_71 -DMAX_WIDTH=4096 -DMAX_HEIGHT=4096 dummy.c -o dummy.o
> >> gmake[5]: *** No rule to make target
> >> `../../../../../../src/gallium/winsys/xlib/libws_xlib.a', needed by
> >> `egl_x11_vmwgfx.so'. Stop.
> >> gmake[5]: Leaving directory `/opt/mesa/src/gallium/winsys/drm/vmware/egl'
> >> gmake[4]: *** [default] Error 1
> >> gmake[4]: Leaving directory `/opt/mesa/src/gallium/winsys/drm/vmware'
> >> gmake[3]: *** [default] Error 1
> >> gmake[3]: Leaving directory `/opt/mesa/src/gallium/winsys/drm'
> >> gmake[2]: *** [default] Error 1
> >> gmake[2]: Leaving directory `/opt/mesa/src/gallium/winsys'
> >> gmake[1]: *** [subdirs] Error 1
> >> gmake[1]: Leaving directory `/opt/mesa/src'
> >> gmake: *** [default] Error 1
> >>
> >> Regards,
> >> STEVE555
> >>
> >>
> >> Keith Whitwell-3 wrote:
> >> >
> >> > This has reached a point where I could think about merging it. There
> >> is
> >> > plenty more cleanup to do, but the branch makes some big strides and
> >> > introduces a couple of concepts that I've wanted for a long time.
> >> >
> >> > In particular the idea of a designated "targets" subtree which has code
> >> > for explicitly constructing driver stacks.
> >> >
> >> > Secondly the ability to inject layers into (at least) the software
> >> > stacks has been greatly improved, and I'd like to see us build on that
> >> > for hardware drivers as well.
> >> >
> >> > There is probably still some bugfix to come, but if you're interested
> >> in
> >> > the software rasterizers, please check out this branch and let me know
> >> > how much I've broken things...
> >> >
> >> > Keith
> >> >
> >> >
> >> >
> >> ------------------------------------------------------------------------------
> >> > Download Intel® Parallel Studio Eval
> >> > Try the new software tools for yourself. Speed compiling, find bugs
> >> > proactively, and fine-tune applications for parallel performance.
> >> > See why Intel Parallel Studio got high marks during beta.
> >> > http://p.sf.net/sfu/intel-sw-dev
> >> > _______________________________________________
> >> > Mesa3d-dev mailing list
> >> > Mesa3d-dev@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
> >> >
> >> >
> >>
> >
> >
> >
> > ------------------------------------------------------------------------------
> > Download Intel® Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > _______________________________________________
> > Mesa3d-dev mailing list
> > Mesa3d-dev@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
> >
> >
>
diff --git a/configure.ac b/configure.ac
index 70e158f..049c9e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -458,6 +458,7 @@ CORE_DIRS="glsl mesa"
SRC_DIRS="glew"
GLU_DIRS="sgi"
GALLIUM_DIRS="auxiliary drivers state_trackers"
+GALLIUM_TARGET_DIRS=""
GALLIUM_WINSYS_DIRS=""
GALLIUM_WINSYS_DRM_DIRS=""
GALLIUM_DRIVERS_DIRS="softpipe failover trace identity"
@@ -467,11 +468,12 @@ case "$mesa_driver" in
xlib)
DRIVER_DIRS="x11"
GALLIUM_WINSYS_DIRS="$GALLIUM_WINSYS_DIRS xlib"
+ GALLIUM_TARGET_DIRS="$GALLIUM_TARGET_DIRS libgl-xlib"
;;
dri)
SRC_DIRS="$SRC_DIRS glx"
DRIVER_DIRS="dri"
- GALLIUM_WINSYS_DIRS="$GALLIUM_WINSYS_DIRS drm"
+ GALLIUM_WINSYS_DIRS="$GALLIUM_WINSYS_DIRS xlib drm"
;;
osmesa)
DRIVER_DIRS="osmesa"
@@ -481,6 +483,7 @@ AC_SUBST([SRC_DIRS])
AC_SUBST([GLU_DIRS])
AC_SUBST([DRIVER_DIRS])
AC_SUBST([GALLIUM_DIRS])
+AC_SUBST([GALLIUM_TARGET_DIRS])
AC_SUBST([GALLIUM_WINSYS_DIRS])
AC_SUBST([GALLIUM_WINSYS_DRM_DIRS])
AC_SUBST([GALLIUM_DRIVERS_DIRS])
@@ -1415,6 +1418,7 @@ echo ""
if echo "$SRC_DIRS" | grep 'gallium' >/dev/null 2>&1; then
echo " Gallium: yes"
echo " Gallium dirs: $GALLIUM_DIRS"
+ echo " Target dirs: $GALLIUM_TARGET_DIRS"
echo " Winsys dirs: $GALLIUM_WINSYS_DIRS"
echo " Winsys drm dirs:$GALLIUM_WINSYS_DRM_DIRS"
echo " Driver dirs: $GALLIUM_DRIVERS_DIRS"
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev