xserver compile error

Wu, Nian nian.wu at intel.com
Tue Oct 24 18:55:22 PDT 2006


When I compiled xserver, it reported errors that can not find some mesa
symbol, but I have compiled mesa tip with i915 driver.

The detail error is below:

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 -I/opt/X11R7/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/opt/X11R7/lib
/opt/X11R7/lib/libXfont.so /usr/lib64/libfreetype.so
/opt/X11R7/lib/libXau.so /opt/X11R7/lib/libfontenc.so -lz
/opt/X11R7/lib/libXdmcp.so -lm

../../GL/mesa/.libs/libGLcore.a(fbobject.o): In function
`_mesa_GenerateMipmapEXT':/GFX/build/component/Xorg/xorg/xserver/GL/mesa
/main/fbobject.c:1551: undefined reference to `_mesa_generate_mipmap'

../../GL/mesa/.libs/libGLcore.a(texstore.o): In function
`_mesa_store_compressed_texsubimage2d':/GFX/build/component/Xorg/xorg/xs
erver/GL/mesa/main/texstore.c:3422: undefined reference to
`_mesa_generate_mipmap'

../../GL/mesa/.libs/libGLcore.a(texstore.o): In function
`_mesa_store_compressed_teximage2d':/GFX/build/component/Xorg/xorg/xserv
er/GL/mesa/main/texstore.c:3310: undefined reference to
`_mesa_generate_mipmap'

../../GL/mesa/.libs/libGLcore.a(texstore.o): In function
`_mesa_store_texsubimage3d':/GFX/build/component/Xorg/xorg/xserver/GL/me
sa/main/texstore.c:3234: undefined reference to `_mesa_generate_mipmap'

../../GL/mesa/.libs/libGLcore.a(texstore.o): In function
`_mesa_store_texsubimage2d':/GFX/build/component/Xorg/xorg/xserver/GL/me
sa/main/texstore.c:3179: undefined reference to `_mesa_generate_mipmap'

../../GL/mesa/.libs/libGLcore.a(texstore.o):/GFX/build/component/Xorg/xo
rg/xserver/GL/mesa/main/texstore.c:3124: more undefined references to
`_mesa_generate_mipmap' follow

../../GL/mesa/.libs/libGLcore.a(texcompress_fxt1.o): In function
`fxt1_encode':/GFX/build/component/Xorg/xorg/xserver/GL/mesa/main/texcom
press_fxt1.c:1378: undefined reference to `_mesa_upscale_teximage2d'

../../GL/mesa/.libs/libGLcore.a(s_texstore.o): In function
`_swrast_copy_texsubimage3d':/GFX/build/component/Xorg/xorg/xserver/GL/m
esa/swrast/s_texstore.c:602: undefined reference to
`_mesa_generate_mipmap'

../../GL/mesa/.libs/libGLcore.a(s_texstore.o): In function
`_swrast_copy_texsubimage2d':/GFX/build/component/Xorg/xorg/xserver/GL/m
esa/swrast/s_texstore.c:529: undefined reference to
`_mesa_generate_mipmap'

../../GL/mesa/.libs/libGLcore.a(s_texstore.o): In function
`_swrast_copy_texsubimage1d':/GFX/build/component/Xorg/xorg/xserver/GL/m
esa/swrast/s_texstore.c:453: undefined reference to
`_mesa_generate_mipmap'

../../GL/mesa/.libs/libGLcore.a(s_texstore.o): In function
`_swrast_copy_teximage2d':/GFX/build/component/Xorg/xorg/xserver/GL/mesa
/swrast/s_texstore.c:384: undefined reference to `_mesa_generate_mipmap'

../../GL/mesa/.libs/libGLcore.a(s_texstore.o): In function
`_swrast_copy_teximage1d':/GFX/build/component/Xorg/xorg/xserver/GL/mesa
/swrast/s_texstore.c:308: undefined reference to `_mesa_generate_mipmap'

collect2: ld returned 1 exit status

make[3]: *** [Xvfb] Error 1

make[3]: Leaving directory
`/GFX/build/component/Xorg/xorg/xserver/hw/vfb'

make[2]: *** [all] Error 2

make[2]: Leaving directory
`/GFX/build/component/Xorg/xorg/xserver/hw/vfb'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/GFX/build/component/Xorg/xorg/xserver/hw'

make: *** [all-recursive] Error 1

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20061025/9e89dff6/attachment.html>


More information about the xorg mailing list