Hi over there,
I'm trying to compile Mesa with linux-solo-x86 configuration for a few hours now, but compilation fails with:

mklib: Making Linux shared library:  libGLU.so.1.3.070003
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
mklib: Installing libGLU.so.1.3.070003 libGLU.so.1 libGLU.so in ../../../lib
mv: cannot stat `libGLU.so.1.3.070003': No such file or directory
make[5]: *** [../../../lib/libGLU.so] Error 1
make[5]: Leaving directory `/root/Mesa-7.0.3/src/glu/sgi'
make[4]: *** [default] Error 2
make[4]: Leaving directory `/root/Mesa-7.0.3/src/glu/sgi'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/root/Mesa-7.0.3/src/glu'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/root/Mesa-7.0.3/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/root/Mesa-7.0.3'
make: *** [linux-solo-x86] Error 2


I followed this manual:
http://cgit.freedesktop.org/mesa/mesa/tree/docs/fbdev-dri.html

Kernel is compiled, dri available, libpciaccess available, mesaGLUT is extracted to the mesa directory, but compilation fails.
I've no idea what could be wrong, please help me... Maybe it's a dependency problem, but I don't know.

Compiling without the x86 option fails with the same error.

regards, Simon Prückl