Stephan Raue <[email protected]> writes:
> sorry, Mesa 7.5-rc2 :-) The beer was good
>
> i have crosscompiled Mesa-5.1-rc2 ofor a uClibc based system (gcc-4.4)
> with unichrome driver.
>
> when unichrome driver loaded i see follow message in /var/log/Xorg.log
> (full version attached)
>
> (EE) AIGLX error: dlopen of /usr/lib/dri/unichrome_dri.so failed ((null))
I don't have any specific advice, but I'll offer some general guidance.
> (EE) AIGLX: reverting to software rendering
> (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed ((null))
> (EE) GLX: could not load software renderer
> (II) GLX: no usable GL providers found for screen 0
>
> Mesa is build with
>
> HOST_CC=$HOST_CC \
> OPT_FLAGS="$CFLAGS -D_GNU_SOURCE" \
> HOST_OPT_FLAGS="$HOST_CFLAGS" \
> X11_INCLUDES= \
> DRI_DRIVER_INSTALL_DIR="$XORG_PATH_DRI" \
> DRI_DRIVER_SEARCH_DIR="$XORG_PATH_DRI" \
> ./configure --host=$TARGET_NAME \
In general, autoconf variables should come after "./configure" but before any
"--options", e.g.:
./configure HOST_CC=... DRI_DRIVER_SEARCHDIR=... --host=...
[snip -- a ton of options]
> --with-driver=dri \
> --with-dri-drivers=$DRIDRIVERS \
DRIDRIVERS was not set in the above script / command line.
> --with-dri-driverdir="$XORG_PATH_DRI" \
> --with-xorg-driver-dir="$XORG_PATH_DRIVERS" \
> --with-x \
> --without-demos
>
> how i can find out what is wrong?
Try something simpler first. Configure with:
./configure --prefix=${HOME}/sw
and then grep ${HOME}/sw to see if it builds the right things (e.g.
unichrome_dri.so). Then add flags one by one until you get the build
you're looking for.
If you're really bent on getting that particular configuration to work,
start throwing echo's into configure.ac with the goal of figuring out
why the build isn't descending into `src/mesa/drivers/dri/unichrome'.
IIRC, there's a variable that gets set to the list of subdirs to
recurse into, so that's probably a good starting point.
HTH,
-tom
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev