Problem while configuring xserver.

Dan Nicholson dbn.lists at gmail.com
Thu Jan 28 09:11:04 PST 2010


On Thu, Jan 28, 2010 at 7:35 AM, Peter Dyballa <Peter_Dyballa at web.de> wrote:
>
> 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 -
>> DUSE_MMX_ASM
>> -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -
>> DHAVE_POSIX_MEMALIGN
>> -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
>> -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.

The problem here is that mesa's build system has tons of broken hacks.
Revert commit d888bbc45a84946cafb4f4d2c89681a580cd89bc and it should
work.

--
Dan


More information about the xorg-devel mailing list