1) Clarification Xorg Server Versioning wanted 2) Mesa reference problems in xorg-server-1.1.99.903 but not in 1.2.99.0

Tobias Gerschner tobias.gerschner at gmail.com
Fri Dec 15 14:42:02 PST 2006


Hi,

looking at http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=tags I
see 1.2.99 in the middle of 1.1.99 tags . Is that intentional or is it
a typo ?

The reason I ask : I was not able to compile xorg-server-1.1.99.903
(tagged 12 days ago) as part of xorg 7.2 rc3 against Mesa 6.5.2. I
always end up with bad / wrong mesa references in hw/vfb . But I can
compile xorg-server 1.2.99.0 which got tagged 6 weeks in the past.

At the moment I don't know the reason for this failure.

a) Me mixing versions that are not meant to be mixed
b) actually a bug in the source code.


I don't know which code is actually more up-to-date (Is there any wiki
page to fill me in about those details ? Is there a commit / branching
scheme you follow ? Found none so far and I really visit your wiki
often. )

And to give some idea about the compile error itself

The options to start compilation ( in a clean chroot environment )

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.13462
[ snip ]
+ /bin/bzip2 -dc /usr/src/rpm/SOURCES/xorg-server-1.1.99.903.tar.bz2
+ tar -xf -
[ snip ]
+ cd xorg-server-1.1.99.903
+ /bin/bzip2 -dc /usr/src/rpm/SOURCES/MesaLib-6.5.2.tar.bz2
+ tar -xf -
[snip ]
+ export 'CFLAGS=
-I/usr/src/rpm/BUILD/xorg-server-1.1.99.903/Mesa-6.5.2/src/mesa/main '
[ snip ]
+ ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--target=i686-pc-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --disable-debug --enable-xorg --enable-xnest
--enable-aiglx --enable-xvfb --enable-xdmcp --enable-glx --enable-dri
--enable-xorgcfg --enable-kbd_mode --disable-kdrive --disable-xprint
--disable-dmx --with-mesa-source=/usr/src/rpm/BUILD/xorg-server-1.1.99.903/Mesa-6.5.2
--with-dri-driver-path=/usr/lib/xorg/modules/dri
--with-os-vendor=Yoper --with-os-name=Yoper-Ilmenite

Those option are identical to those being used in the xorg-server
1.2.99.0 and do work just fine .

The compile error:

make[3]: Entering directory `/usr/src/rpm/BUILD/xorg-server-1.1.99.903/hw/vfb'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include
-I../../include -I../../include -I../../include -I../../include
-I../../include -I../../include -I../../include    -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../../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
-I/usr/src/rpm/BUILD/xorg-server-1.1.99.903/Mesa-6.5.2/src/mesa/main
-MT InitInput.o -MD -MP -MF ".deps/InitInput.Tpo" -c -o InitInput.o
InitInput.c; \
then mv -f ".deps/InitInput.Tpo" ".deps/InitInput.Po"; else rm -f
".deps/InitInput.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include
-I../../include -I../../include -I../../include -I../../include
-I../../include -I../../include -I../../include    -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../../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
-I/usr/src/rpm/BUILD/xorg-server-1.1.99.903/Mesa-6.5.2/src/mesa/main
-MT InitOutput.o -MD -MP -MF ".deps/InitOutput.Tpo" -c -o InitOutput.o
InitOutput.c; \
then mv -f ".deps/InitOutput.Tpo" ".deps/InitOutput.Po"; else rm -f
".deps/InitOutput.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include
-I../../include -I../../include -I../../include -I../../include
-I../../include -I../../include -I../../include    -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../../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
-I/usr/src/rpm/BUILD/xorg-server-1.1.99.903/Mesa-6.5.2/src/mesa/main
-MT dpmsstubs.o -MD -MP -MF ".deps/dpmsstubs.Tpo" -c -o dpmsstubs.o
`test -f '../../Xext/dpmsstubs.c' || echo './'`../../Xext/dpmsstubs.c;
\
then mv -f ".deps/dpmsstubs.Tpo" ".deps/dpmsstubs.Po"; else rm -f
".deps/dpmsstubs.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include
-I../../include -I../../include -I../../include -I../../include
-I../../include -I../../include -I../../include    -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../../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
-I/usr/src/rpm/BUILD/xorg-server-1.1.99.903/Mesa-6.5.2/src/mesa/main
-MT stubs.o -MD -MP -MF ".deps/stubs.Tpo" -c -o stubs.o `test -f
'../../Xi/stubs.c' || echo './'`../../Xi/stubs.c; \
then mv -f ".deps/stubs.Tpo" ".deps/stubs.Po"; else rm -f
".deps/stubs.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include
-I../../include -I../../include -I../../include -I../../include
-I../../include -I../../include -I../../include    -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../../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
-I/usr/src/rpm/BUILD/xorg-server-1.1.99.903/Mesa-6.5.2/src/mesa/main
-MT miinitext.o -MD -MP -MF ".deps/miinitext.Tpo" -c -o miinitext.o
`test -f '../../mi/miinitext.c' || echo './'`../../mi/miinitext.c; \
then mv -f ".deps/miinitext.Tpo" ".deps/miinitext.Po"; else rm -f
".deps/miinitext.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include
-I../../include -I../../include -I../../include -I../../include
-I../../include -I../../include -I../../include    -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../../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
-I/usr/src/rpm/BUILD/xorg-server-1.1.99.903/Mesa-6.5.2/src/mesa/main
-MT fbcmap.o -MD -MP -MF ".deps/fbcmap.Tpo" -c -o fbcmap.o `test -f
'../../fb/fbcmap.c' || echo './'`../../fb/fbcmap.c; \
then mv -f ".deps/fbcmap.Tpo" ".deps/fbcmap.Po"; else rm -f
".deps/fbcmap.Tpo"; exit 1; fi
../../fb/fbcmap.c:415: warning: no previous prototype for 'fbHasVisualTypes'
/bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-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../../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
-I/usr/src/rpm/BUILD/xorg-server-1.1.99.903/Mesa-6.5.2/src/mesa/main
 -o Xvfb  InitInput.o InitOutput.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 -lXfont -lXau -lfontenc
-lXdmcp    -lm -lrt   -lrt
mkdir .libs
i686-pc-linux-gnu-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../../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 -I/usr/src/rpm/BUILD/xorg-server-1.1.99.903/Mesa-6.5.2/src/mesa/main
-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 -lXfont -lXau
-lfontenc -lXdmcp -lm -lrt
../../GL/mesa/.libs/libGLcore.a(fbobject.o): In function
`_mesa_GenerateMipmapEXT':
fbobject.c:(.text+0x2a19): undefined reference to `_mesa_generate_mipmap'
../../GL/mesa/.libs/libGLcore.a(texcompress_fxt1.o): In function `fxt1_encode':
texcompress_fxt1.c:(.text+0x3366): undefined reference to
`_mesa_upscale_teximage2d'
../../GL/mesa/.libs/libGLcore.a(texstore.o): In function
`_mesa_store_teximage1d':
texstore.c:(.text+0x60ba): undefined reference to `_mesa_generate_mipmap'
../../GL/mesa/.libs/libGLcore.a(texstore.o): In function
`_mesa_store_teximage2d':
texstore.c:(.text+0x636c): undefined reference to `_mesa_generate_mipmap'
../../GL/mesa/.libs/libGLcore.a(texstore.o): In function
`_mesa_store_teximage3d':
texstore.c:(.text+0x65de): undefined reference to `_mesa_generate_mipmap'
../../GL/mesa/.libs/libGLcore.a(texstore.o): In function
`_mesa_store_texsubimage1d':
texstore.c:(.text+0x677a): undefined reference to `_mesa_generate_mipmap'
../../GL/mesa/.libs/libGLcore.a(texstore.o): In function
`_mesa_store_texsubimage2d':
texstore.c:(.text+0x6954): undefined reference to `_mesa_generate_mipmap'
../../GL/mesa/.libs/libGLcore.a(texstore.o):texstore.c:(.text+0x6b24):
more undefined references to `_mesa_generate_mipmap' follow
collect2: ld returned 1 exit status


Full build logs can be seen here :

Warning each of the logs is approx 2.1 MB .

http://88.198.41.209/build/yoper-3.0-test/xorg-server-1.1.99.903-17._test_/rpm.log
http://88.198.41.209/build/yoper-3.0-test/xorg-server-1.2.99.0-18._test_/rpm.log

Any help appreciated.

regards

--
Tobias Gerschner
Member of Board of Yoper Linux Ltd. NZ

Knowing is not enough; we must apply. Willing is not enough; we must do.



More information about the xorg mailing list