Multi Pointer X MPX Build problem

Nikolas Dörfler Dj_Doe at gmx.de
Wed Dec 12 10:49:18 PST 2007


Hi,
I'm trying to build the Multi Pointer X branch.
Following the documentation at http://wearables.unisa.edu.au/mpx/?q=downloads
and the Xorg Modular developers guide I first downloaded all necessary packages with the git script, and then switched to the MPX branch as described.
Now I tried to compile X with glx support.
For this I need mesa available. I first tried to use Mesa 6.5.2 as described in the documentation. 

This did not work and stopped when configuring

>checking for XLIB... yes
>checking for GL... yes
>Creating destination directories for mesa module ...
>   error:   Source directory >/home/doerflen/mpx_new/Mesa-6.5.2/src/mesa/vbo does not exist
>configure: error: Failed to link Mesa source tree.  Please specify a >proper path to Mesa sources, or disable GLX.

Then I got the newest Master Branch Version of Mesa. Now the build seemed to work but when linking the libglx.a I got the following error:


gcc -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/tmp/modular//include -I/tmp/modular//include/pixman-1 -I/usr/include/freetype2 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/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  ../../fb/.libs/libfb.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/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 libfbcmap.a ../../dix/.libs/libdix.a ../../config/libconfig.a ../../mi/.libs/libmi.a ../../os/.libs/libos.a -L/tmp/modular//lib -L/lib /tmp/modular//lib/libXfont.so /usr/lib/libfreetype.so /tmp/modular//lib/libXau.so /tmp/modular/lib/libfontenc.so -lz /tmp/modular/lib/libpixman-1.so /usr/lib/libhal.so /usr/lib/libusb.so -ldl -luuid -ldbus-1 /tmp/modular//lib/libXdmcp.so -lcrypto -lm -lrt   -Wl,--rpath -Wl,/tmp/modular//lib -Wl,--rpath -Wl,/tmp/modular/lib -Wl,--rpath -Wl,/tmp/modular//lib -Wl,--rpath -Wl,/tmp/modular/lib
../../GL/glx/.libs/libglx.a(indirect_dispatch.o): In function `__glXDisp_ProgramParameter4fvNV':
/home/doerflen/mpx/xserver/GL/glx/indirect_dispatch.c:5190: undefined reference to `CALL_ProgramParameter4fvNV'
../../GL/glx/.libs/libglx.a(indirect_dispatch.o): In function `__glXDisp_ProgramParameter4dvNV':
/home/doerflen/mpx/xserver/GL/glx/indirect_dispatch.c:5181: undefined reference to `CALL_ProgramParameter4dvNV'
../../GL/glx/.libs/libglx.a(indirect_dispatch_swap.o): In function `__glXDispSwap_ProgramParameter4fvNV':
/home/doerflen/mpx/xserver/GL/glx/indirect_dispatch_swap.c:5346: undefined reference to `CALL_ProgramParameter4fvNV'
../../GL/glx/.libs/libglx.a(indirect_dispatch_swap.o): In function `__glXDispSwap_ProgramParameter4dvNV':
/home/doerflen/mpx/xserver/GL/glx/indirect_dispatch_swap.c:5337: undefined reference to `CALL_ProgramParameter4dvNV'
collect2: ld returned 1 exit status
make[3]: *** [Xvfb] Fehler 1
make[3]: Leaving directory `/home/doerflen/mpx/xserver/hw/vfb'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/doerflen/mpx/xserver/hw/vfb'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/doerflen/mpx/xserver/hw'
make: *** [all-recursive] Fehler 1

Since I could not locate the "CALL_ProgramParameter4dvNV" function I'm not sure what to do to fix this problem.
Maybe I have a wrong version of Mesa?  Has anyone experience in building MPX?
Thanks for your help
Niko Dörfler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20071212/dbce1884/attachment.html>


More information about the xorg mailing list