An other error building modular on FreeBSD

Brian Paul brian.paul at tungstengraphics.com
Mon Oct 16 07:03:31 PDT 2006


Angka H. K. wrote:
> An other error when compile XORG from git and Mesa from latest CVS.
> 
> Making all in xnest
> make  all-am
> /usr/local/bin/bash ../../libtool --tag=CC --mode=link gcc 
> -DHAVE_XNEST_CONFIG_H  -DNO_HW_ONLY_EXTS  -DHAVE_DIX_CONFIG_H  
> -D_THREAD_SAFE -I/usr/X11/include -I/usr/local/include/freetype2 
> -I/usr/local/include -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/usr/X11/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 Xnest  Args.o Color.o Cursor.o  Display.o 
> Events.o Font.o GC.o  GCOps.o Handlers.o Init.o  Keyboard.o Pixmap.o 
> Pointer.o  Screen.o Visual.o Window.o  dpmsstubs.o stubs.o miinitext.o  
> fbcmap.o ../../dix/libdix.la  ../../fb/libfb.la ../../mi/libmi.la 
> ../../xfixes/libxfixes.la ../../Xext/libXext.la ../../dbe/libdbe.la 
> ../../XTrap/libxtrap.la ../../record/librecord.la ../../GL/glx/libglx.la 
> ../../GL/mesa/libGLcore.la ../../render/librender.la 
> ../../randr/librandr.la ../../damageext/libdamageext.la 
> ../../miext/damage/libdamage.la ../../miext/cw/libcw.la 
> ../../miext/shadow/libshadow.la ../../Xi/libXi.la ../../xkb/libxkb.la 
> ../../xkb/libxkbstubs.la ../../composite/libcomposite.la 
> ../../dix/libxpstubs.la ../../os/libcwrapper.la ../../os/libos.la  
> -L/usr/X11/lib -lXfont -lXext -lX11 -lXau -lXdmcp -lrpcsvc -lm
> gcc -DHAVE_XNEST_CONFIG_H -DNO_HW_ONLY_EXTS -DHAVE_DIX_CONFIG_H 
> -D_THREAD_SAFE -I/usr/X11/include -I/usr/local/include/freetype2 
> -I/usr/local/include -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/usr/X11/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 Xnest Args.o Color.o Cursor.o Display.o Events.o 
> Font.o GC.o GCOps.o Handlers.o Init.o Keyboard.o Pixmap.o Pointer.o 
> Screen.o Visual.o Window.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/usr/X11/lib 
> /usr/X11/lib/libXfont.so -L/usr/local/lib /usr/local/lib/libfreetype.so 
> /usr/X11/lib/libfontenc.so -lz /usr/X11/lib/libXext.so 
> /usr/X11/lib/libX11.so /usr/X11/lib/libxcb- xlib.so 
> /usr/X11/lib/libxcb.so /usr/X11/lib/libXau.so /usr/X11/lib/libXdmcp.so 
> -lrpcsvc -lm -Wl,--rpath -Wl,/usr/X11/lib -Wl,--rpath -Wl,/usr/local/lib 
> -Wl,--rpath -Wl,/usr/X11/lib -Wl,--rpath -Wl,/usr/local/lib
> ../../GL/mesa/.libs/libGLcore.a( fbobject.o)(.text+0x1ac3): In function 
> `_mesa_GenerateMipmapEXT':
> /data/backup/source/xorg/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':
> /data/backup/source/xorg/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':
> /data/backup/source/xorg/xserver/GL/mesa/main/texstore.c:2914: undefined 
> reference to `_mesa_generate_mipmap'
> ../../GL/mesa/.libs/libGLcore.a(texstore.o)(.text+0x4249): In function 
> `_mesa_store_teximage2d':
> /data/backup/source/xorg/xserver/GL/mesa/main/texstore.c:3000: undefined 
> reference to `_mesa_generate_mipmap'
> ../../GL/mesa/.libs/libGLcore.a(texstore.o)(.text+0x43e9): In function 
> `_mesa_store_teximage3d':
> /data/backup/source/xorg/xserver/GL/mesa/main/texstore.c:3076: undefined 
> reference to `_mesa_generate_mipmap'
> ../../GL/mesa/.libs/libGLcore.a( texstore.o)(.text+0x44db): In function 
> `_mesa_store_texsubimage1d':
> /data/backup/source/xorg/xserver/GL/mesa/main/texstore.c:3124: undefined 
> reference to `_mesa_generate_mipmap'
> ../../GL/mesa/.libs/libGLcore.a(texstore.o )(.text+0x45e1): In function 
> `_mesa_store_texsubimage2d':
> /data/backup/source/xorg/xserver/GL/mesa/main/texstore.c:3179: undefined 
> reference to `_mesa_generate_mipmap'
> ../../GL/mesa/.libs/libGLcore.a(texstore.o)(.text+0x4709):/data/backup/source/xorg/xserver/GL/mesa/main/texstore.c:3234: 
> more undefined references to `_mesa_generate_mipmap' follow
> *** Error code 1

You either need to use Mesa 6.5.1 or add mipmap.c to 
xserver/GL/mesa/main/Makefile.am if using Mesa CVS.

I'm working on changes to prevent this kind of problem in the future.

-Brian




More information about the xorg mailing list