Building modular...

Brian Paul brian.paul at tungstengraphics.com
Mon Oct 9 07:38:55 PDT 2006


Adam K Kirchhoff wrote:
> On Saturday 07 October 2006 11:07, you wrote:
> 
>>On Saturday 07 October 2006 10:09, Adam K Kirchhoff wrote:
>>
>>>On Friday 06 October 2006 17:37, Eric Anholt wrote:
>>>
>>>>On Fri, 2006-10-06 at 14:37 -0700, Jamey Sharp wrote:
>>>>
>>>>>On Fri, Oct 06, 2006 at 04:22:10PM -0400, Adam K Kirchhoff wrote:
>>>>>
>>>>>>I'm having a problem with the modular build using jhbuild.  When
>>>>>>configuring for libX11, it complains that xcb-xlib isn't installed
>>>>>>(just as the jhBuildInstructions at
>>>>>>http://wiki.x.org/wiki/JhBuildInstructions say will happen).
>>>>>
>>>>>Those instructions say, "Until we fix xcb's repository layout..."
>>>>>XCB's repository layout has been fixed for a couple of weeks now.
>>>>>Somebody should fix the jhbuild modules and the build instructions.
>>>>>
>>>>>The components you need are git/xcb/xcb-proto and git/xcb/libxcb.
>>>>
>>>>I think jhbuild is fixed now (well, except for Mesa still being
>>>>trouble).
>>>
>>>Unfortunately, as of this morning I'm still running into problems with
>>>jhbuild...
>>>
>>>On FreeBSD, I get as far as building xcb/libxcb...  At that point it
>>>complains that 'xau' isn't installed.  As far as I can tell, from
>>>scrolling backwards, there's been no attempt to install xau.
>>>
>>>If I just grab /git/xorg/lib/libXau and build it manually, it does get
>>>further in the build process (currently on the xserver).
>>>
>>>Under Ubuntu, I get to xserver, but it dies due to lack of xres.  Again,
>>>I can just grab it and build it manually.
>>
>>And, finally, the build on both FreeBSD and Ubuntu fails with:
> 
> 
> Sorry about that.  They both fail with:
> 
> 
> gcc -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_THREAD_SAFE -I/home/adamk/xorg/include -I/usr/local/include/freetype2 -I/usr/local/include -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -o 
> Xvfb InitInput.o InitOutput.o dpmsstubs.o stubs.o miinitext.o 
> fbcmap.o  ../../dix/.libs/libdix.a ../../fb/.libs/libfb.a ../../mi/.libs/libmi.a ../../xfixes/.libs/libxfixes.a ../../Xext/.libs/libXext.a ../../dbe/.libs/libdbe.a ../../XTrap/.libs/libxtrap.a ../../record/.libs/librecord.a ../../GL/glx/.libs/libglx.a ../../GL/mesa/.libs/libGLcore.a ../../render/.libs/librender.a ../../randr/.libs/librandr.a ../../damageext/.libs/libdamageext.a ../../miext/damage/.libs/libdamage.a ../../miext/cw/.libs/libcw.a ../../miext/shadow/.libs/libshadow.a ../../Xi/.libs/libXi.a ../../xkb/.libs/libxkb.a ../../xkb/.libs/libxkbstubs.a ../../composite/.libs/libcomposite.a ../../dix/.libs/libxpstubs.a ../../os/.libs/libcwrapper.a ../../os/.libs/libos.a -L/home/adamk/xorg/lib /home/adamk/xorg/lib/libXfont.so -L/usr/local/lib /usr/local/lib/libfreetype.so /home/adamk/xorg/lib/libXau.so /home/adamk/xorg/lib/libfontenc.so -lz /home/adamk/xorg/lib/libXdmcp.so -lrpcsvc -lm -Wl,--rpath -Wl,/home/adamk/xorg/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/home
/adamk/xorg/lib -Wl,--rpath -Wl,/usr/local/lib
> ../../GL/mesa/.libs/libGLcore.a(fbobject.o)(.text+0x1ac3): In function 
> `_mesa_GenerateMipmapEXT':
> /home/adamk/git/xserver/GL/mesa/main/fbobject.c:1551: undefined reference to 
> `_mesa_generate_mipmap'
> ../../GL/mesa/.libs/libGLcore.a(texcompress_fxt1.o)(.text+0x1092): In function 
> `fxt1_encode':
> /home/adamk/git/xserver/GL/mesa/main/texcompress_fxt1.c:1378: undefined 
> reference to `_mesa_upscale_teximage2d'
> ../../GL/mesa/.libs/libGLcore.a(texstore.o)(.text+0x4079): In function 
> `_mesa_store_teximage1d':
[...]

Looks like the GL/mesa/main/mipmap.c file isn't getting compiled. 
Either it's missing or you need to update your GL/symlink-mesa.sh file.

-Brian



More information about the xorg mailing list