Problem while configuring xserver.

Peter Dyballa Peter_Dyballa at Web.DE
Thu Jan 28 07:35:56 PST 2010

Am 28.01.2010 um 15:50 schrieb Amey:

> gcc -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math
> -fvisibility=hidden -fno-strict-aliasing  -fPIC  -DUSE_X86_ASM - 
> -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS  corender.o ipc.o -L../../lib - 
> lGL
> -lm -lX11 -lpthread -o corender
> /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status
> make[2]: *** [corender] Error 1
> make[2]: Leaving directory `/home/amey/project/mesa/progs/xdemos'

Can you check whether in ../../lib, i.e. in /home/amey/project/mesa/ 
lib, libX11* files exists? (If not, you could create some links...) In  
your config.log LDFLAGS is empty and therefore the files installed in  
the /opt/mpx tree are not found.

Have you thought of using the script in <X11R7.x root>/util/ 



’Twas a woman who drove me to drink, and I never had the courtesy to  
thank her for it.
				— W.C. Fields

More information about the xorg-devel mailing list