[ubuntu-x] Can't build libgl1-mesa-dri from source?

Martin Olsson mnemo at minimum.se
Sat Feb 28 10:50:41 GMT 2009


I'm still seeing the problem below on both x64+jaunty and x86+intrepid.
Can you tell me how you guys build mesa? Why doesn't the usual
"apt-get source blah ; cd blah ; fakeroot debian/rules binary" work for mesa?

I need to find a workaround for this because, I want to see if
this upstream patch can be backported to jaunty (and possibly to intrepid?):
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/330476

But if I can't build mesa there is not much I can do :O  Thanks.



		Martin


Martin Olsson wrote:
> I can't build mesa from source in jaunty right now.
> Note: I did run "sudo apt-get build-dep libgl1-mesa-dri" and everything installed succesfully.
> 
> I've tried three different ways of doing it and they all fail with different error messages (see below).
> I'd appreciate some help! Thanks.
> 
> Basically, I got two questions:
> * I you seeing any of these errors?
> * Is this the correct method for building mesa? I need to rebuild it with "-g3 -O0" to debug something.
> * I also noticed git://git.debian.org/git/pkg-xorg/lib/mesa but I actually want the _exact_ same bits that I got through synaptic updates so I'd rather not use this.
> However, I did try to build the contents of that git repo using "fakeroot debian/rules binary" and it too failed (the errors from that attempt is append at the very end of this mail.
> 
> 
> 
> 
> ################## These are the ways I tried to build mesa ##################
> 
> 
> ALTERNATIVE #1)
> 
> 	When I use "debuild -us -uc" on the "apt-get source libgl1-mesa-dri" bits:
> 
> 	checking for LIBDRM... configure: error: Package requirements (libdrm >= 2.4.3) were not met:
> 	Requested 'libdrm >= 2.4.3' but version of libdrm is 2.4.0
> 
> 	This happens even though "dpkg -l | grep libdrm" clearly says I have 2.4.4 version?
> 
> 
> ALTERNATIVE #2)
> 
> 
> 	If I do "fakeroot debian/rules binary" inside the mesa-7.3 directory of the "apt-get source libgl1-mesa-dri" bits I get this error:
> 
> # Add here commands to install the package into debian/tmp
> dh_testdir
> dh_testroot
> dh_clean -k
> dh_installdirs
> /usr/bin/make -f debian/rules install-swx11+glu install-swx11+glu-static install-dri install-osmesa install-osmesa-static install-osmesa16 install-osmesa16-static install-osmesa32 install-osmesa32-static
> make[1]: Entering directory `/home/mnemo/mesa_apt_src/mesa-7.3'
> dh_testdir
> mkdir -p debian/stamp
>  >debian/stamp/stamp
> # quilt exits with 2 as return when there was nothing to do.
> # That's not an error here (but it's useful to break loops in crude scripts)
> QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null push -a || test $? = 2
> Applying patch 02_use-ieee-fp-on-s390-and-m68k.patch
> patching file src/mesa/main/imports.h
> 
> Applying patch 03_optional-progs-and-install.patch
> patching file progs/xdemos/Makefile
> patching file progs/Makefile
> 
> Applying patch 04_osmesa_version.diff
> patching file src/mesa/drivers/osmesa/Makefile
> 
> Applying patch 101_ubuntu_hidden_glname.patch
> patching file src/mesa/x86/glapi_x86.S
> Hunk #1 succeeded at 148 (offset 9 lines).
> 
> Now at patch 101_ubuntu_hidden_glname.patch
> touch debian/stamp/patch
> autoreconf -vfi
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal --force
> configure.ac:19: warning: AC_INIT: not a literal: mesa_version
> autoreconf: configure.ac: tracing
> configure.ac:19: warning: AC_INIT: not a literal: mesa_version
> autoreconf: configure.ac: not using Libtool
> autoreconf: running: /usr/bin/autoconf --force
> configure.ac:19: warning: AC_INIT: not a literal: mesa_version
> autoreconf: configure.ac: not using Autoheader
> autoreconf: configure.ac: not using Automake
> autoreconf: Leaving directory `.'
> dh_testdir
> mkdir -p /home/mnemo/mesa_apt_src/mesa-7.3/obj-x86_64-linux-gnu/swx11+glu
> find /home/mnemo/mesa_apt_src/mesa-7.3/* -maxdepth 0 -not -path '/home/mnemo/mesa_apt_src/mesa-7.3/obj-x86_64-linux-gnu*' | \
> 		xargs cp -rlf -t /home/mnemo/mesa_apt_src/mesa-7.3/obj-x86_64-linux-gnu/swx11+glu
> cd /home/mnemo/mesa_apt_src/mesa-7.3/obj-x86_64-linux-gnu/swx11+glu && \
> 	../../configure --prefix=/usr --mandir=\${prefix}/share/man \
> 	             --infodir=\${prefix}/share/info --sysconfdir=/etc \
> 	             --localstatedir=/var --build=x86_64-linux-gnu --with-driver=xlib --disable-gl-osmesa --with-demos= --disable-glut --disable-glw CFLAGS="-Wall -g -O2"
> ../../configure: line 599: /home/mnemo/mesa_apt_src/mesa-7.3: is a directory
> ../../configure: command substitution: line 600: unexpected EOF while looking for matching `''
> ../../configure: command substitution: line 601: syntax error: unexpected end of file
> ../../configure: line 599: Leaving: command not found
> ../../configure: line 640: LIBOBJS: command not found
> ../../configure: line 641: PROGRAM_DIRS: command not found
> ../../configure: line 642: APP_LIB_DEPS: command not found
> ../../configure: line 643: GLUT_PC_CFLAGS: command not found
> ../../configure: line 644: GLUT_PC_LIB_PRIV: command not found
> ../../configure: line 645: GLUT_PC_REQ_PRIV: command not found
> ../../configure: line 646: GLUT_MESA_DEPS: command not found
> 
> ##############  I CUT AWAY LOTS OF SIMILAR ERRORS HERE
> ##############  I CUT AWAY LOTS OF SIMILAR ERRORS HERE
> ##############  I CUT AWAY LOTS OF SIMILAR ERRORS HERE
> ##############  I CUT AWAY LOTS OF SIMILAR ERRORS HERE
> 
> ../../configure: line 1910: 5: Bad file descriptor
> configure: creating cache
> ../../configure: line 1912: 1: ambiguous redirect
> ../../configure: line 2043: 5: Bad file descriptor
> checking build system type... ../../configure: line 2061: 5: Bad file descriptor
> x86_64-unknown-linux-gnu
> ../../configure: line 2083: 5: Bad file descriptor
> checking host system type... ../../configure: line 2098: 5: Bad file descriptor
> x86_64-unknown-linux-gnu
> ../../configure: line 2172: 5: Bad file descriptor
> checking for gcc... ../../configure: line 2188: 5: Bad file descriptor
> ../../configure: line 2199: 5: Bad file descriptor
> gcc
> ../../configure: line 2431: 5: Bad file descriptor
> ../../configure: line 2444: 5: Bad file descriptor
> ../../configure: line 2444: 5: Bad file descriptor
> ../../configure: line 2443: 5: Bad file descriptor
> ../../configure: line 2455: 5: Bad file descriptor
> ../../configure: line 2455: 5: Bad file descriptor
> ../../configure: line 2454: 5: Bad file descriptor
> ../../configure: line 2466: 5: Bad file descriptor
> ../../configure: line 2466: 5: Bad file descriptor
> ../../configure: line 2465: 5: Bad file descriptor
> ../../configure: line 2488: 5: Bad file descriptor
> checking for C compiler default output file name... ../../configure: line 2550: 5: Bad file descriptor
> ../../configure: line 2550: 5: Bad file descriptor
> ../../configure: line 2514: 5: Bad file descriptor
> ../../configure: line 2552: 5: Bad file descriptor
> 
> ../../configure: line 2555: 5: Bad file descriptor
> ../../configure: line 2556: 5: Bad file descriptor
> ../../configure: line 2558: 5: Bad file descriptor
> configure: error: in `':
> ../../configure: line 2561: 5: Bad file descriptor
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> make[1]: *** [debian/stamp/x86_64-linux-gnu-build-swx11+glu] Error 77
> make[1]: Leaving directory `/home/mnemo/mesa_apt_src/mesa-7.3'
> make: *** [install] Error 2
> mnemo at kingfish:~/mesa_apt_src/mesa-7.3$
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ##########################################################################################
> ##########################################################################################
> ##########################################################################################
> ##########################################################################################
> ##########################################################################################
> ##########################################################################################
> ##########################################################################################
> ##########################################################################################
> ##########################################################################################
> ##########################################################################################
> ######   EVERYTHING BELOW HERE IS THE ERRORS FROM TRYING TO BUILD "git clone git://git.debian.org/git/pkg-xorg/lib/mesa"
> 
> 
> g++ -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -Wall -O2 -g -fPIC -m64 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -I/usr/X11R6/include  -fno-strict-aliasing -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/sampledLine.cc -o libnurbs/nurbtess/sampledLine.o
> g++ -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -Wall -O2 -g -fPIC -m64 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -I/usr/X11R6/include  -fno-strict-aliasing -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/searchTree.cc -o libnurbs/nurbtess/searchTree.o
> ../../../bin/mklib -o GLU -linker 'g++' -ldflags '' \
> 		-major 1 -minor 3 -patch 070004 \
> 		-cplusplus  -install ../../../lib \
> 		-L../../../lib -lGL -lm libutil/error.o libutil/glue.o libutil/mipmap.o libutil/project.o libutil/quad.o libutil/registry.o libtess/dict.o libtess/geom.o libtess/memalloc.o libtess/mesh.o libtess/normal.o libtess/priorityq.o libtess/render.o libtess/sweep.o libtess/tess.o libtess/tessmono.o libnurbs/interface/bezierEval.o libnurbs/interface/bezierPatch.o libnurbs/interface/bezierPatchMesh.o libnurbs/interface/glcurveval.o libnurbs/interface/glinterface.o libnurbs/interface/glrenderer.o libnurbs/interface/glsurfeval.o libnurbs/interface/incurveeval.o libnurbs/interface/insurfeval.o libnurbs/internals/arc.o libnurbs/internals/arcsorter.o libnurbs/internals/arctess.o libnurbs/internals/backend.o libnurbs/internals/basiccrveval.o libnurbs/internals/basicsurfeval.o libnurbs/internals/bin.o libnurbs/internals/bufpool.o libnurbs/internals/cachingeval.o libnurbs/internals/ccw.o libnurbs/internals/coveandtiler.o libnurbs/internals/curve.o 
> libnurbs/internals/curvelist.o libnurbs/internals/curvesub.o libnurbs/internals/dataTransform.o libnurbs/internals/displaylist.o libnurbs/internals/flist.o libnurbs/internals/flistsorter.o libnurbs/internals/hull.o libnurbs/internals/intersect.o libnurbs/internals/knotvector.o libnurbs/internals/mapdesc.o libnurbs/internals/mapdescv.o libnurbs/internals/maplist.o libnurbs/internals/mesher.o libnurbs/internals/monoTriangulationBackend.o libnurbs/internals/monotonizer.o libnurbs/internals/mycode.o libnurbs/internals/nurbsinterfac.o libnurbs/internals/nurbstess.o libnurbs/internals/patch.o libnurbs/internals/patchlist.o libnurbs/internals/quilt.o libnurbs/internals/reader.o libnurbs/internals/renderhints.o libnurbs/internals/slicer.o libnurbs/internals/sorter.o libnurbs/internals/splitarcs.o libnurbs/internals/subdivider.o libnurbs/internals/tobezier.o libnurbs/internals/trimline.o libnurbs/internals/trimregion.o libnurbs/internals/trimvertpool.o 
> libnurbs/internals/uarray.o libnurbs/internals/varray.o libnurbs/nurbtess/directedLine.o libnurbs/nurbtess/gridWrap.o libnurbs/nurbtess/monoChain.o libnurbs/nurbtess/monoPolyPart.o libnurbs/nurbtess/monoTriangulation.o libnurbs/nurbtess/partitionX.o libnurbs/nurbtess/partitionY.o libnurbs/nurbtess/polyDBG.o libnurbs/nurbtess/polyUtil.o libnurbs/nurbtess/primitiveStream.o libnurbs/nurbtess/quicksort.o libnurbs/nurbtess/rectBlock.o libnurbs/nurbtess/sampleComp.o libnurbs/nurbtess/sampleCompBot.o libnurbs/nurbtess/sampleCompRight.o libnurbs/nurbtess/sampleCompTop.o libnurbs/nurbtess/sampleMonoPoly.o libnurbs/nurbtess/sampledLine.o libnurbs/nurbtess/searchTree.o
> mklib: Making Linux shared library:  libGLU.so.1.3.070004
> mklib: Installing libGLU.so.1.3.070004 libGLU.so.1 libGLU.so in ../../../lib
> make[5]: Leaving directory `/home/mnemo/mesa_git/mesa/obj-x86_64-linux-gnu/debian-swx11+glu-amd64/src/glu/sgi'
> make[4]: Leaving directory `/home/mnemo/mesa_git/mesa/obj-x86_64-linux-gnu/debian-swx11+glu-amd64/src/glu/sgi'
> make[3]: Leaving directory `/home/mnemo/mesa_git/mesa/obj-x86_64-linux-gnu/debian-swx11+glu-amd64/src/glu'
> make[3]: Entering directory `/home/mnemo/mesa_git/mesa/obj-x86_64-linux-gnu/debian-swx11+glu-amd64/src/glw'
> gcc -c -I../../include -I/usr/include/Motif1.2 -I/usr/X11R6/include -Wall -Wmissing-prototypes -O2 -g -fPIC -m64 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DUSE_X86_64_ASM -I/usr/X11R6/include -std=c99 -ffast-math  -fno-strict-aliasing GLwDrawA.c
> gcc -c -I../../include -I/usr/include/Motif1.2 -I/usr/X11R6/include -Wall -Wmissing-prototypes -O2 -g -fPIC -m64 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DUSE_X86_64_ASM -I/usr/X11R6/include -std=c99 -ffast-math  -fno-strict-aliasing GLwMDrawA.c
> In file included from GLwMDrawA.c:41:
> GLwDrawA.c:53:27: error: Xm/PrimitiveP.h: No such file or directory
> In file included from GLwMDrawAP.h:41,
>                   from GLwDrawA.c:54,
>                   from GLwMDrawA.c:41:
> GLwDrawAP.h:57: error: expected specifier-qualifier-list before ‘XmPrimitiveClassPart’
> GLwDrawAP.h:117: error: expected specifier-qualifier-list before ‘XmPrimitivePart’
> In file included from GLwMDrawA.c:41:
> GLwDrawA.c:121: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:124: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:127: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:130: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:133: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:136: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:139: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:142: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:145: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:148: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:151: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:154: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:157: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:160: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:163: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:166: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:170: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:174: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:178: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:181: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:184: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:187: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:190: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:193: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:196: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:199: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:203: error: ‘XmNtraversalOn’ undeclared here (not in a function)
> GLwDrawA.c:203: error: ‘XmCTraversalOn’ undeclared here (not in a function)
> GLwDrawA.c:203: error: ‘XmRBoolean’ undeclared here (not in a function)
> GLwDrawA.c:204: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘primitive’
> GLwDrawA.c:204: error: ‘XmRImmediate’ undeclared here (not in a function)
> GLwDrawA.c:212: error: ‘XmNhighlightOnEnter’ undeclared here (not in a function)
> GLwDrawA.c:212: error: ‘XmCHighlightOnEnter’ undeclared here (not in a function)
> GLwDrawA.c:213: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘primitive’
> GLwDrawA.c:216: error: ‘XmNhighlightThickness’ undeclared here (not in a function)
> GLwDrawA.c:216: error: ‘XmCHighlightThickness’ undeclared here (not in a function)
> GLwDrawA.c:216: error: ‘XmRHorizontalDimension’ undeclared here (not in a function)
> GLwDrawA.c:218: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘primitive’
> GLwDrawA.c:243: error: ‘XmNbackground’ undeclared here (not in a function)
> GLwDrawA.c:243: error: initializer element is not constant
> GLwDrawA.c:243: error: (near initialization for ‘backgroundResources[0].resource_name’)
> GLwDrawA.c:243: error: ‘XmCBackground’ undeclared here (not in a function)
> GLwDrawA.c:243: error: initializer element is not constant
> GLwDrawA.c:243: error: (near initialization for ‘backgroundResources[0].resource_class’)
> GLwDrawA.c:243: error: ‘XmRPixel’ undeclared here (not in a function)
> GLwDrawA.c:243: error: initializer element is not constant
> GLwDrawA.c:243: error: (near initialization for ‘backgroundResources[0].resource_type’)
> GLwDrawA.c:245: error: ‘XmRString’ undeclared here (not in a function)
> GLwDrawA.c:245: error: initializer element is not constant
> GLwDrawA.c:245: error: (near initialization for ‘backgroundResources[0].default_type’)
> GLwDrawA.c:248: error: ‘XmNbackgroundPixmap’ undeclared here (not in a function)
> GLwDrawA.c:248: error: initializer element is not constant
> GLwDrawA.c:248: error: (near initialization for ‘backgroundResources[1].resource_name’)
> GLwDrawA.c:248: error: ‘XmCPixmap’ undeclared here (not in a function)
> GLwDrawA.c:248: error: initializer element is not constant
> GLwDrawA.c:248: error: (near initialization for ‘backgroundResources[1].resource_class’)
> GLwDrawA.c:248: error: ‘XmRXmBackgroundPixmap’ undeclared here (not in a function)
> GLwDrawA.c:248: error: initializer element is not constant
> GLwDrawA.c:248: error: (near initialization for ‘backgroundResources[1].resource_type’)
> GLwDrawA.c:250: error: initializer element is not constant
> GLwDrawA.c:250: error: (near initialization for ‘backgroundResources[1].default_type’)
> GLwDrawA.c:250: error: ‘XmUNSPECIFIED_PIXMAP’ undeclared here (not in a function)
> GLwDrawA.c:250: error: initializer element is not constant
> GLwDrawA.c:250: error: (near initialization for ‘backgroundResources[1].default_addr’)
> GLwDrawA.c:271: error: ‘XmNforeground’ undeclared here (not in a function)
> GLwDrawA.c:271: error: initializer element is not constant
> GLwDrawA.c:271: error: (near initialization for ‘otherColorResources[0].resource_name’)
> GLwDrawA.c:271: error: ‘XmCForeground’ undeclared here (not in a function)
> GLwDrawA.c:271: error: initializer element is not constant
> GLwDrawA.c:271: error: (near initialization for ‘otherColorResources[0].resource_class’)
> GLwDrawA.c:271: error: initializer element is not constant
> GLwDrawA.c:271: error: (near initialization for ‘otherColorResources[0].resource_type’)
> GLwDrawA.c:272: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘primitive’
> GLwDrawA.c:272: error: request for member ‘foreground’ in something not a structure or union
> GLwDrawA.c:272: error: initializer element is not constant
> GLwDrawA.c:272: error: (near initialization for ‘otherColorResources[0].resource_offset’)
> GLwDrawA.c:273: error: initializer element is not constant
> GLwDrawA.c:273: error: (near initialization for ‘otherColorResources[0].default_type’)
> GLwDrawA.c:276: error: ‘XmNhighlightColor’ undeclared here (not in a function)
> GLwDrawA.c:276: error: initializer element is not constant
> GLwDrawA.c:276: error: (near initialization for ‘otherColorResources[1].resource_name’)
> GLwDrawA.c:276: error: ‘XmCHighlightColor’ undeclared here (not in a function)
> GLwDrawA.c:276: error: initializer element is not constant
> GLwDrawA.c:276: error: (near initialization for ‘otherColorResources[1].resource_class’)
> GLwDrawA.c:276: error: initializer element is not constant
> GLwDrawA.c:276: error: (near initialization for ‘otherColorResources[1].resource_type’)
> GLwDrawA.c:277: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘primitive’
> GLwDrawA.c:277: error: request for member ‘highlight_color’ in something not a structure or union
> GLwDrawA.c:277: error: initializer element is not constant
> GLwDrawA.c:277: error: (near initialization for ‘otherColorResources[1].resource_offset’)
> GLwDrawA.c:278: error: initializer element is not constant
> GLwDrawA.c:278: error: (near initialization for ‘otherColorResources[1].default_type’)
> GLwDrawA.c:281: error: ‘XmNhighlightPixmap’ undeclared here (not in a function)
> GLwDrawA.c:281: error: initializer element is not constant
> GLwDrawA.c:281: error: (near initialization for ‘otherColorResources[2].resource_name’)
> GLwDrawA.c:281: error: ‘XmCHighlightPixmap’ undeclared here (not in a function)
> GLwDrawA.c:281: error: initializer element is not constant
> GLwDrawA.c:281: error: (near initialization for ‘otherColorResources[2].resource_class’)
> GLwDrawA.c:281: error: ‘XmRPrimHighlightPixmap’ undeclared here (not in a function)
> GLwDrawA.c:281: error: initializer element is not constant
> GLwDrawA.c:281: error: (near initialization for ‘otherColorResources[2].resource_type’)
> GLwDrawA.c:283: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘primitive’
> GLwDrawA.c:283: error: request for member ‘highlight_pixmap’ in something not a structure or union
> GLwDrawA.c:283: error: initializer element is not constant
> GLwDrawA.c:283: error: (near initialization for ‘otherColorResources[2].resource_offset’)
> GLwDrawA.c:284: error: initializer element is not constant
> GLwDrawA.c:284: error: (near initialization for ‘otherColorResources[2].default_type’)
> GLwDrawA.c:284: error: initializer element is not constant
> GLwDrawA.c:284: error: (near initialization for ‘otherColorResources[2].default_addr’)
> GLwDrawA.c:296: error: ‘xmPrimitiveClassRec’ undeclared here (not in a function)
> GLwDrawA.c:296: error: initializer element is not constant
> GLwDrawA.c:296: error: (near initialization for ‘glwMDrawingAreaClassRec.core_class.superclass’)
> GLwDrawA.c:334: error: extra brace group at end of initializer
> GLwDrawA.c:334: error: (near initialization for ‘glwMDrawingAreaClassRec’)
> GLwDrawA.c:335: error: ‘XmInheritBorderHighlight’ undeclared here (not in a function)
> GLwDrawA.c:336: error: ‘XmInheritBorderUnhighlight’ undeclared here (not in a function)
> GLwDrawA.c:342: warning: excess elements in struct initializer
> GLwDrawA.c:342: warning: (near initialization for ‘glwMDrawingAreaClassRec’)
> GLwDrawA.c: In function ‘createAttribList’:
> GLwDrawA.c:376: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:376: error: request for member ‘attribList’ in something not a structure or union
> GLwDrawA.c:376: warning: statement with no effect
> GLwDrawA.c:377: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:377: error: request for member ‘attribList’ in something not a structure or union
> GLwDrawA.c:380: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:380: error: request for member ‘attribList’ in something not a structure or union
> GLwDrawA.c:380: warning: assignment from incompatible pointer type
> GLwDrawA.c:382: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:382: error: request for member ‘bufferSize’ in something not a structure or union
> GLwDrawA.c:382: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:384: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:384: error: request for member ‘level’ in something not a structure or union
> GLwDrawA.c:384: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:385: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:385: error: request for member ‘rgba’ in something not a structure or union
> GLwDrawA.c:386: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:386: error: request for member ‘doublebuffer’ in something not a structure or union
> GLwDrawA.c:387: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:387: error: request for member ‘stereo’ in something not a structure or union
> GLwDrawA.c:389: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:389: error: request for member ‘auxBuffers’ in something not a structure or union
> GLwDrawA.c:389: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:391: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:391: error: request for member ‘redSize’ in something not a structure or union
> GLwDrawA.c:391: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:393: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:393: error: request for member ‘greenSize’ in something not a structure or union
> GLwDrawA.c:393: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:395: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:395: error: request for member ‘blueSize’ in something not a structure or union
> GLwDrawA.c:395: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:397: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:397: error: request for member ‘alphaSize’ in something not a structure or union
> GLwDrawA.c:397: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:399: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:399: error: request for member ‘depthSize’ in something not a structure or union
> GLwDrawA.c:399: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:401: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:401: error: request for member ‘stencilSize’ in something not a structure or union
> GLwDrawA.c:401: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:403: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:403: error: request for member ‘accumRedSize’ in something not a structure or union
> GLwDrawA.c:403: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:405: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:405: error: request for member ‘accumGreenSize’ in something not a structure or union
> GLwDrawA.c:405: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:407: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:407: error: request for member ‘accumBlueSize’ in something not a structure or union
> GLwDrawA.c:407: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:409: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:409: error: request for member ‘accumAlphaSize’ in something not a structure or union
> GLwDrawA.c:409: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:411: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:411: error: request for member ‘attribList’ in something not a structure or union
> GLwDrawA.c:411: error: invalid operands to binary - (have ‘int *’ and ‘struct XtResource *’)
> GLwDrawA.c:411: warning: comparison between pointer and integer
> GLwDrawA.c: In function ‘createVisualInfo’:
> GLwDrawA.c:418: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:418: error: request for member ‘attribList’ in something not a structure or union
> GLwDrawA.c:419: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:419: error: request for member ‘visualInfo’ in something not a structure or union
> GLwDrawA.c:419: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:419: error: request for member ‘attribList’ in something not a structure or union
> GLwDrawA.c:419: warning: passing argument 3 of ‘glXChooseVisual’ from incompatible pointer type
> GLwDrawA.c:419: warning: statement with no effect
> GLwDrawA.c:420: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:420: error: request for member ‘visualInfo’ in something not a structure or union
> GLwDrawA.c: In function ‘createColormap’:
> GLwDrawA.c:436: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:436: error: request for member ‘visualInfo’ in something not a structure or union
> GLwDrawA.c:440: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:440: error: request for member ‘visualInfo’ in something not a structure or union
> GLwDrawA.c:440: error: ‘XtResource’ has no member named ‘visual’
> GLwDrawA.c:440: warning: comparison of distinct pointer types lacks a cast
> GLwDrawA.c:463: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:463: error: request for member ‘visualInfo’ in something not a structure or union
> GLwDrawA.c:463: error: ‘XtResource’ has no member named ‘screen’
> GLwDrawA.c:463: error: array subscript is not an integer
> GLwDrawA.c:463: error: request for member ‘root’ in something not a structure or union
> GLwDrawA.c:465: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:465: error: request for member ‘visualInfo’ in something not a structure or union
> GLwDrawA.c:465: error: ‘XtResource’ has no member named ‘visual’
> GLwDrawA.c:466: warning: passing argument 2 of ‘XCreateColormap’ makes integer from pointer without a cast
> GLwDrawA.c:466: warning: passing argument 3 of ‘XCreateColormap’ from incompatible pointer type
> GLwDrawA.c:467: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:467: error: request for member ‘visualInfo’ in something not a structure or union
> GLwDrawA.c:467: error: ‘XtResource’ has no member named ‘visual’
> GLwDrawA.c:467: warning: assignment from incompatible pointer type
> GLwDrawA.c: In function ‘Initialize’:
> GLwDrawA.c:480: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:480: error: request for member ‘myList’ in something not a structure or union
> GLwDrawA.c:480: warning: statement with no effect
> GLwDrawA.c:481: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:481: error: request for member ‘attribList’ in something not a structure or union
> GLwDrawA.c:482: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:482: error: request for member ‘myList’ in something not a structure or union
> GLwDrawA.c:482: warning: statement with no effect
> GLwDrawA.c:487: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:487: error: request for member ‘attribList’ in something not a structure or union
> GLwDrawA.c:490: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:490: error: request for member ‘myVisual’ in something not a structure or union
> GLwDrawA.c:490: warning: statement with no effect
> GLwDrawA.c:491: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:491: error: request for member ‘visualInfo’ in something not a structure or union
> GLwDrawA.c:492: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:492: error: request for member ‘myVisual’ in something not a structure or union
> GLwDrawA.c:492: warning: statement with no effect
> GLwDrawA.c:497: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:497: error: request for member ‘visualInfo’ in something not a structure or union
> GLwDrawA.c:499: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:499: error: request for member ‘visualInfo’ in something not a structure or union
> GLwDrawA.c:499: error: ‘XtResource’ has no member named ‘depth’
> GLwDrawA.c:499: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:505: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:505: error: request for member ‘allocateBackground’ in something not a structure or union
> GLwDrawA.c:510: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:510: error: request for member ‘allocateOtherColors’ in something not a structure or union
> GLwDrawA.c: In function ‘Realize’:
> GLwDrawA.c:529: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:529: error: request for member ‘installBackground’ in something not a structure or union
> GLwDrawA.c:529: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:529: error: request for member ‘allocateBackground’ in something not a structure or union
> GLwDrawA.c:533: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:533: error: request for member ‘visualInfo’ in something not a structure or union
> GLwDrawA.c:533: error: ‘XtResource’ has no member named ‘visual’
> GLwDrawA.c:533: warning: passing argument 3 of ‘XtCreateWindow’ from incompatible pointer type
> GLwDrawA.c:536: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:536: error: request for member ‘installColormap’ in something not a structure or union
> GLwDrawA.c:573: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:573: error: request for member ‘ginitCallback’ in something not a structure or union
> GLwDrawA.c:573: warning: passing argument 2 of ‘XtCallCallbackList’ from incompatible pointer type
> GLwDrawA.c: In function ‘Redraw’:
> GLwDrawA.c:581: error: ‘XmCR_EXPOSE’ undeclared (first use in this function)
> GLwDrawA.c:581: error: (Each undeclared identifier is reported only once
> GLwDrawA.c:581: error: for each function it appears in.)
> GLwDrawA.c:581: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:585: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:585: error: request for member ‘exposeCallback’ in something not a structure or union
> GLwDrawA.c:585: warning: passing argument 2 of ‘XtCallCallbackList’ from incompatible pointer type
> GLwDrawA.c: In function ‘Resize’:
> GLwDrawA.c:593: error: ‘XmCR_RESIZE’ undeclared (first use in this function)
> GLwDrawA.c:593: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:597: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:597: error: request for member ‘resizeCallback’ in something not a structure or union
> GLwDrawA.c:597: warning: passing argument 2 of ‘XtCallCallbackList’ from incompatible pointer type
> GLwDrawA.c: In function ‘Destroy’:
> GLwDrawA.c:609: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:609: error: request for member ‘myList’ in something not a structure or union
> GLwDrawA.c:609: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:609: error: request for member ‘attribList’ in something not a structure or union
> GLwDrawA.c:610: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:610: error: request for member ‘attribList’ in something not a structure or union
> GLwDrawA.c:613: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:613: error: request for member ‘myVisual’ in something not a structure or union
> GLwDrawA.c:613: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:613: error: request for member ‘visualInfo’ in something not a structure or union
> GLwDrawA.c:614: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:614: error: request for member ‘visualInfo’ in something not a structure or union
> GLwDrawA.c:618: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:618: error: request for member ‘installColormap’ in something not a structure or union
> GLwDrawA.c: In function ‘glwInput’:
> GLwDrawA.c:653: error: ‘XmCR_INPUT’ undeclared (first use in this function)
> GLwDrawA.c:653: warning: assignment makes integer from pointer without a cast
> GLwDrawA.c:657: error: ‘struct _GLwMDrawingAreaRec’ has no member named ‘glwDrawingArea’
> GLwDrawA.c:657: error: request for member ‘inputCallback’ in something not a structure or union
> GLwDrawA.c:657: warning: passing argument 2 of ‘XtCallCallbackList’ from incompatible pointer type
> make[3]: *** [GLwMDrawA.o] Error 1
> make[3]: Leaving directory `/home/mnemo/mesa_git/mesa/obj-x86_64-linux-gnu/debian-swx11+glu-amd64/src/glw'
> make[2]: *** [subdirs] Error 1
> make[2]: Leaving directory `/home/mnemo/mesa_git/mesa/obj-x86_64-linux-gnu/debian-swx11+glu-amd64/src'
> make[1]: *** [default] Error 1
> make[1]: Leaving directory `/home/mnemo/mesa_git/mesa/obj-x86_64-linux-gnu/debian-swx11+glu-amd64'
> make: *** [debian/stamp/x86_64-linux-gnu-build-debian-swx11+glu-amd64] Error 2
> mnemo at kingfish:~/mesa_git/mesa$
> 
> 
> 




More information about the Ubuntu-x mailing list