[Mesa-users] Cross-compiling on IBM Blue Gene/P
J. P. Bernstein
astro at anl.gov
Mon May 14 11:37:34 PDT 2012
Hello Brian,
The additions shown at the end of this message resulted in Mesa compiling without errors and the creation of the target libs. However, upon trying to link to the libs, I got a bunch of "undefined refererence" messages.
Since then, I have moved back to Mesa-7.2 as that version is needed for the code I am trying to build that depends on Mesa. I am seeing similar messages when trying to build the 7.2 osdemos (make output appended below), though the libraries are getting created. I think that solving these issues will allow progress linking the other code. Any thoughts?
Best,
Joe
-----Tail of Mesa-7.2 make output-----
mklib: Making Linux static library: libOSMesa.a
ar: creating libOSMesa.a
mklib: Installing libOSMesa.a in ../../../../lib
make[6]: Leaving directory `/gpfs/home/jpbernst/Code/Mesa-7.2/src/mesa/drivers/osmesa'
make[5]: Leaving directory `/gpfs/home/jpbernst/Code/Mesa-7.2/src/mesa/drivers/osmesa'
make[4]: Leaving directory `/gpfs/home/jpbernst/Code/Mesa-7.2/src/mesa/drivers'
make[3]: Leaving directory `/gpfs/home/jpbernst/Code/Mesa-7.2/src/mesa'
make[3]: Entering directory `/gpfs/home/jpbernst/Code/Mesa-7.2/src/glu'
make[4]: Entering directory `/gpfs/home/jpbernst/Code/Mesa-7.2/src/glu/sgi'
make[5]: Entering directory `/gpfs/home/jpbernst/Code/Mesa-7.2/src/glu/sgi'
mpixlc_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -DNDEBUG -DLIBRARYBUILD libutil/error.c -o libutil/error.o
mpixlc_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -DNDEBUG -DLIBRARYBUILD libutil/glue.c -o libutil/glue.o
mpixlc_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -DNDEBUG -DLIBRARYBUILD libutil/mipmap.c -o libutil/mipmap.o
mpixlc_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -DNDEBUG -DLIBRARYBUILD libutil/project.c -o libutil/project.o
mpixlc_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -DNDEBUG -DLIBRARYBUILD libutil/quad.c -o libutil/quad.o
mpixlc_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -DNDEBUG -DLIBRARYBUILD libutil/registry.c -o libutil/registry.o
mpixlc_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -DNDEBUG -DLIBRARYBUILD libtess/dict.c -o libtess/dict.o
mpixlc_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -DNDEBUG -DLIBRARYBUILD libtess/geom.c -o libtess/geom.o
mpixlc_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -DNDEBUG -DLIBRARYBUILD libtess/memalloc.c -o libtess/memalloc.o
mpixlc_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -DNDEBUG -DLIBRARYBUILD libtess/mesh.c -o libtess/mesh.o
mpixlc_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -DNDEBUG -DLIBRARYBUILD libtess/normal.c -o libtess/normal.o
mpixlc_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -DNDEBUG -DLIBRARYBUILD libtess/priorityq.c -o libtess/priorityq.o
mpixlc_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -DNDEBUG -DLIBRARYBUILD libtess/render.c -o libtess/render.o
mpixlc_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -DNDEBUG -DLIBRARYBUILD libtess/sweep.c -o libtess/sweep.o
mpixlc_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -DNDEBUG -DLIBRARYBUILD libtess/tess.c -o libtess/tess.o
mpixlc_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -DNDEBUG -DLIBRARYBUILD libtess/tessmono.c -o libtess/tessmono.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/interface/bezierEval.cc -o libnurbs/interface/bezierEval.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/interface/bezierPatch.cc -o libnurbs/interface/bezierPatch.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/interface/bezierPatchMesh.cc -o libnurbs/interface/bezierPatchMesh.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/interface/glcurveval.cc -o libnurbs/interface/glcurveval.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/interface/glinterface.cc -o libnurbs/interface/glinterface.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/interface/glrenderer.cc -o libnurbs/interface/glrenderer.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/interface/glsurfeval.cc -o libnurbs/interface/glsurfeval.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/interface/incurveeval.cc -o libnurbs/interface/incurveeval.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/interface/insurfeval.cc -o libnurbs/interface/insurfeval.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/arc.cc -o libnurbs/internals/arc.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/arcsorter.cc -o libnurbs/internals/arcsorter.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/arctess.cc -o libnurbs/internals/arctess.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/backend.cc -o libnurbs/internals/backend.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/basiccrveval.cc -o libnurbs/internals/basiccrveval.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/basicsurfeval.cc -o libnurbs/internals/basicsurfeval.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/bin.cc -o libnurbs/internals/bin.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/bufpool.cc -o libnurbs/internals/bufpool.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/cachingeval.cc -o libnurbs/internals/cachingeval.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/ccw.cc -o libnurbs/internals/ccw.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/coveandtiler.cc -o libnurbs/internals/coveandtiler.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/curve.cc -o libnurbs/internals/curve.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/curvelist.cc -o libnurbs/internals/curvelist.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/curvesub.cc -o libnurbs/internals/curvesub.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/dataTransform.cc -o libnurbs/internals/dataTransform.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/displaylist.cc -o libnurbs/internals/displaylist.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/flist.cc -o libnurbs/internals/flist.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/flistsorter.cc -o libnurbs/internals/flistsorter.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/hull.cc -o libnurbs/internals/hull.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/intersect.cc -o libnurbs/internals/intersect.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/knotvector.cc -o libnurbs/internals/knotvector.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/mapdesc.cc -o libnurbs/internals/mapdesc.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/mapdescv.cc -o libnurbs/internals/mapdescv.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/maplist.cc -o libnurbs/internals/maplist.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/mesher.cc -o libnurbs/internals/mesher.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/monoTriangulationBackend.cc -o libnurbs/internals/monoTriangulationBackend.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/monotonizer.cc -o libnurbs/internals/monotonizer.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/mycode.cc -o libnurbs/internals/mycode.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/nurbsinterfac.cc -o libnurbs/internals/nurbsinterfac.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/nurbstess.cc -o libnurbs/internals/nurbstess.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/patch.cc -o libnurbs/internals/patch.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/patchlist.cc -o libnurbs/internals/patchlist.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/quilt.cc -o libnurbs/internals/quilt.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/reader.cc -o libnurbs/internals/reader.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/renderhints.cc -o libnurbs/internals/renderhints.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/slicer.cc -o libnurbs/internals/slicer.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/sorter.cc -o libnurbs/internals/sorter.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/splitarcs.cc -o libnurbs/internals/splitarcs.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/subdivider.cc -o libnurbs/internals/subdivider.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/tobezier.cc -o libnurbs/internals/tobezier.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/trimline.cc -o libnurbs/internals/trimline.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/trimregion.cc -o libnurbs/internals/trimregion.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/trimvertpool.cc -o libnurbs/internals/trimvertpool.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/uarray.cc -o libnurbs/internals/uarray.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/internals/varray.cc -o libnurbs/internals/varray.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/directedLine.cc -o libnurbs/nurbtess/directedLine.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/gridWrap.cc -o libnurbs/nurbtess/gridWrap.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/monoChain.cc -o libnurbs/nurbtess/monoChain.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/monoPolyPart.cc -o libnurbs/nurbtess/monoPolyPart.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/monoTriangulation.cc -o libnurbs/nurbtess/monoTriangulation.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/partitionX.cc -o libnurbs/nurbtess/partitionX.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/partitionY.cc -o libnurbs/nurbtess/partitionY.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/polyDBG.cc -o libnurbs/nurbtess/polyDBG.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/polyUtil.cc -o libnurbs/nurbtess/polyUtil.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/primitiveStream.cc -o libnurbs/nurbtess/primitiveStream.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/quicksort.cc -o libnurbs/nurbtess/quicksort.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/rectBlock.cc -o libnurbs/nurbtess/rectBlock.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/sampleComp.cc -o libnurbs/nurbtess/sampleComp.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/sampleCompBot.cc -o libnurbs/nurbtess/sampleCompBot.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/sampleCompRight.cc -o libnurbs/nurbtess/sampleCompRight.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/sampleCompTop.cc -o libnurbs/nurbtess/sampleCompTop.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/sampleMonoPoly.cc -o libnurbs/nurbtess/sampleMonoPoly.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/sampledLine.cc -o libnurbs/nurbtess/sampledLine.o
mpixlcxx_r -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -qlanglvl=redefmac -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/searchTree.cc -o libnurbs/nurbtess/searchTree.o
/bin/sh ../../../bin/mklib -o GLU -linker 'mpixlcxx_r ' -ldflags '' \
-major 1 -minor 3 -patch 070200 \
-cplusplus -static -install ../../../lib \
-exports glu.exports -id /usr/local/lib/libGLU.1.dylib \
-L../../../lib -lOSMesa 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 static library: libGLU.a
ar: creating libGLU.a
mklib: Installing libGLU.a in ../../../lib
make[5]: Leaving directory `/gpfs/home/jpbernst/Code/Mesa-7.2/src/glu/sgi'
make[4]: Leaving directory `/gpfs/home/jpbernst/Code/Mesa-7.2/src/glu/sgi'
make[3]: Leaving directory `/gpfs/home/jpbernst/Code/Mesa-7.2/src/glu'
make[2]: Leaving directory `/gpfs/home/jpbernst/Code/Mesa-7.2/src'
make[2]: Entering directory `/gpfs/home/jpbernst/Code/Mesa-7.2/progs'
Making programs for bluegenep-xlc-osmesa
make[3]: Entering directory `/gpfs/home/jpbernst/Code/Mesa-7.2/progs/osdemos'
cp ../../progs/util/readtex.c .
cp ../../progs/util/readtex.h .
mpixlc_r -c -I../../include -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic readtex.c
mpixlc_r -I../../include -w -O -qarch=450d -qtune=450 -qmaxmem=-1 -qpic osdemo.c -L../../lib -lGLU -lOSMesa -lOSMesa -lGLU -lm -o osdemo
osdemo.o: In function `main':
osdemo.c:(.text+0xac): undefined reference to `glGetIntegerv'
osdemo.c:(.text+0xb8): undefined reference to `glGetIntegerv'
osdemo.c:(.text+0xc4): undefined reference to `glGetIntegerv'
osdemo.o: In function `render_image':
osdemo.c:(.text+0x588): undefined reference to `glLightfv'
osdemo.c:(.text+0x598): undefined reference to `glLightfv'
osdemo.c:(.text+0x5a8): undefined reference to `glLightfv'
osdemo.c:(.text+0x5b8): undefined reference to `glLightfv'
osdemo.c:(.text+0x5c0): undefined reference to `glEnable'
osdemo.c:(.text+0x5c8): undefined reference to `glEnable'
osdemo.c:(.text+0x5d0): undefined reference to `glEnable'
osdemo.c:(.text+0x5d8): undefined reference to `glMatrixMode'
osdemo.c:(.text+0x5dc): undefined reference to `glLoadIdentity'
osdemo.c:(.text+0x5f8): undefined reference to `glOrtho'
osdemo.c:(.text+0x600): undefined reference to `glMatrixMode'
osdemo.c:(.text+0x608): undefined reference to `glClear'
osdemo.c:(.text+0x60c): undefined reference to `glPushMatrix'
osdemo.c:(.text+0x620): undefined reference to `glRotatef'
osdemo.c:(.text+0x624): undefined reference to `glPushMatrix'
osdemo.c:(.text+0x634): undefined reference to `glTranslatef'
osdemo.c:(.text+0x648): undefined reference to `glRotatef'
osdemo.c:(.text+0x658): undefined reference to `glMaterialfv'
osdemo.c:(.text+0x670): undefined reference to `glPopMatrix'
osdemo.c:(.text+0x674): undefined reference to `glPushMatrix'
osdemo.c:(.text+0x684): undefined reference to `glTranslatef'
osdemo.c:(.text+0x698): undefined reference to `glRotatef'
osdemo.c:(.text+0x6a8): undefined reference to `glMaterialfv'
osdemo.c:(.text+0x6c0): undefined reference to `glPopMatrix'
osdemo.c:(.text+0x6c4): undefined reference to `glPushMatrix'
osdemo.c:(.text+0x6d4): undefined reference to `glTranslatef'
osdemo.c:(.text+0x6e4): undefined reference to `glMaterialfv'
osdemo.c:(.text+0x6f8): undefined reference to `glPopMatrix'
osdemo.c:(.text+0x6fc): undefined reference to `glPopMatrix'
osdemo.c:(.text+0x700): undefined reference to `glFinish'
osdemo.o: In function `Torus':
osdemo.c:(.text+0x808): undefined reference to `glBegin'
osdemo.c:(.text+0x84c): undefined reference to `glNormal3f'
osdemo.c:(.text+0x85c): undefined reference to `glVertex3f'
osdemo.c:(.text+0x86c): undefined reference to `glNormal3f'
osdemo.c:(.text+0x87c): undefined reference to `glVertex3f'
osdemo.c:(.text+0x88c): undefined reference to `glEnd'
osdemo.c:(.text+0x918): undefined reference to `glBegin'
osdemo.c:(.text+0x91c): undefined reference to `glEnd'
../../lib/libGLU.a(quad.o): In function `gluSphere':
libutil/quad.c:(.text+0x41c): undefined reference to `glBegin'
libutil/quad.c:(.text+0x464): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x478): undefined reference to `glEnd'
libutil/quad.c:(.text+0x4b8): undefined reference to `glBegin'
libutil/quad.c:(.text+0x500): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x514): undefined reference to `glEnd'
libutil/quad.c:(.text+0x5c4): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x5dc): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0x5f4): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0x644): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x660): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0x67c): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0x728): undefined reference to `glBegin'
libutil/quad.c:(.text+0x738): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x780): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x790): undefined reference to `glEnd'
libutil/quad.c:(.text+0x7c0): undefined reference to `glBegin'
libutil/quad.c:(.text+0x7d4): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x818): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x828): undefined reference to `glEnd'
libutil/quad.c:(.text+0x884): undefined reference to `glBegin'
libutil/quad.c:(.text+0x8e8): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x924): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x93c): undefined reference to `glEnd'
libutil/quad.c:(.text+0x9f8): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0xa10): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0xa5c): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0xa78): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0xa94): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0xae0): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0xb00): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0xb4c): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0xb68): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0xbc0): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0xbdc): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0xc18): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0xc4c): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0xc68): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0xc98): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0xcc0): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0xcdc): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0xd18): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0xd40): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0xd5c): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0xd90): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0xda4): undefined reference to `glBegin'
libutil/quad.c:(.text+0xe1c): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0xe3c): undefined reference to `glEnd'
libutil/quad.c:(.text+0xee0): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0xefc): undefined reference to `glNormal3f'
../../lib/libGLU.a(quad.o): In function `gluPartialDisk':
libutil/quad.c:(.text+0x1488): undefined reference to `glBegin'
libutil/quad.c:(.text+0x14d0): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x1510): undefined reference to `glEnd'
libutil/quad.c:(.text+0x1574): undefined reference to `glBegin'
libutil/quad.c:(.text+0x15a0): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x15c4): undefined reference to `glEnd'
libutil/quad.c:(.text+0x1650): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x169c): undefined reference to `glBegin'
libutil/quad.c:(.text+0x16c8): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x16ec): undefined reference to `glEnd'
libutil/quad.c:(.text+0x170c): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x1730): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x1828): undefined reference to `glBegin'
libutil/quad.c:(.text+0x1864): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x1880): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x1890): undefined reference to `glEnd'
libutil/quad.c:(.text+0x18b8): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x18d8): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x18f0): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x190c): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x1924): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x1944): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x1954): undefined reference to `glBegin'
libutil/quad.c:(.text+0x1970): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x1a10): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x1a34): undefined reference to `glEnd'
libutil/quad.c:(.text+0x1a54): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x1a90): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x1acc): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x1ae0): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x1b3c): undefined reference to `glBegin'
libutil/quad.c:(.text+0x1b68): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x1b8c): undefined reference to `glEnd'
libutil/quad.c:(.text+0x1bc0): undefined reference to `glBegin'
libutil/quad.c:(.text+0x1c08): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x1c48): undefined reference to `glEnd'
libutil/quad.c:(.text+0x1c78): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x1c98): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x1ca4): undefined reference to `glBegin'
libutil/quad.c:(.text+0x1cd8): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x1cfc): undefined reference to `glEnd'
libutil/quad.c:(.text+0x1d7c): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x1d88): undefined reference to `glBegin'
libutil/quad.c:(.text+0x1df0): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x1e3c): undefined reference to `glEnd'
libutil/quad.c:(.text+0x1ec0): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x1ee8): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0x1f00): undefined reference to `glNormal3f'
../../lib/libGLU.a(quad.o): In function `gluCylinder':
libutil/quad.c:(.text+0x2400): undefined reference to `glBegin'
libutil/quad.c:(.text+0x244c): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x2460): undefined reference to `glEnd'
libutil/quad.c:(.text+0x249c): undefined reference to `glBegin'
libutil/quad.c:(.text+0x2508): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x2554): undefined reference to `glEnd'
libutil/quad.c:(.text+0x25e8): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x25fc): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0x2644): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x2658): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0x266c): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0x2748): undefined reference to `glBegin'
libutil/quad.c:(.text+0x27a0): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x27bc): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x27d4): undefined reference to `glEnd'
libutil/quad.c:(.text+0x2898): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x28e0): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x2900): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x291c): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x2964): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x29ac): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x29c0): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0x29d4): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0x2a2c): undefined reference to `glBegin'
libutil/quad.c:(.text+0x2a74): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x2a88): undefined reference to `glEnd'
libutil/quad.c:(.text+0x2ae0): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x2af4): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0x2b08): undefined reference to `glNormal3f'
libutil/quad.c:(.text+0x2b14): undefined reference to `glBegin'
libutil/quad.c:(.text+0x2b98): undefined reference to `glVertex3f'
libutil/quad.c:(.text+0x2bf0): undefined reference to `glEnd'
libutil/quad.c:(.text+0x2c7c): undefined reference to `glTexCoord2f'
libutil/quad.c:(.text+0x2c90): undefined reference to `glNormal3f'
../../lib/libOSMesa.a(osmesa.o): In function `new_osmesa_renderbuffer':
osmesa.c:(.text+0x20): undefined reference to `_mesa_new_renderbuffer'
../../lib/libOSMesa.a(osmesa.o): In function `osmesa_renderbuffer_storage':
osmesa.c:(.text+0x5a4): undefined reference to `_mesa_problem'
../../lib/libOSMesa.a(osmesa.o): In function `osmesa_delete_renderbuffer':
osmesa.c:(.text+0x5f0): undefined reference to `_mesa_free'
../../lib/libOSMesa.a(osmesa.o): In function `compute_row_addresses':
osmesa.c:(.text+0x758): undefined reference to `_mesa_problem'
../../lib/libOSMesa.a(osmesa.o): In function `osmesa_choose_line':
osmesa.c:(.text+0x7b8): undefined reference to `_swrast_choose_line'
../../lib/libOSMesa.a(osmesa.o): In function `osmesa_choose_triangle':
osmesa.c:(.text+0x818): undefined reference to `_swrast_choose_triangle'
../../lib/libOSMesa.a(osmesa.o): In function `osmesa_update_state':
osmesa.c:(.text+0x8cb8): undefined reference to `_swrast_InvalidateState'
osmesa.c:(.text+0x8cc4): undefined reference to `_swsetup_InvalidateState'
osmesa.c:(.text+0x8cd0): undefined reference to `_tnl_InvalidateState'
osmesa.c:(.text+0x8cdc): undefined reference to `_vbo_InvalidateState'
../../lib/libOSMesa.a(osmesa.o): In function `OSMesaGetProcAddress':
osmesa.c:(.text+0x8e08): undefined reference to `_mesa_strcmp'
osmesa.c:(.text+0x8e2c): undefined reference to `_glapi_get_proc_address'
osmesa.c:(.text+0x8e64): undefined reference to `_glapi_get_proc_address'
../../lib/libOSMesa.a(osmesa.o): In function `OSMesaGetIntegerv':
osmesa.c:(.text+0x9038): undefined reference to `_mesa_error'
../../lib/libOSMesa.a(osmesa.o): In function `OSMesaPixelStore':
osmesa.c:(.text+0x9134): undefined reference to `_mesa_error'
osmesa.c:(.text+0x916c): undefined reference to `_mesa_error'
../../lib/libOSMesa.a(osmesa.o): In function `OSMesaGetCurrentContext':
osmesa.c:(.text+0x9190): undefined reference to `_mesa_get_current_context'
../../lib/libOSMesa.a(osmesa.o): In function `OSMesaMakeCurrent':
osmesa.c:(.text+0x9270): undefined reference to `_glapi_check_multithread'
osmesa.c:(.text+0x929c): undefined reference to `_mesa_resize_framebuffer'
osmesa.c:(.text+0x92b4): undefined reference to `_mesa_make_current'
osmesa.c:(.text+0x92c0): undefined reference to `_mesa_remove_renderbuffer'
osmesa.c:(.text+0x92d0): undefined reference to `_mesa_add_renderbuffer'
osmesa.c:(.text+0x92d8): undefined reference to `_mesa_update_framebuffer_visual'
osmesa.c:(.text+0x92ec): undefined reference to `_mesa_resize_framebuffer'
../../lib/libOSMesa.a(osmesa.o): In function `OSMesaDestroyContext':
osmesa.c:(.text+0x9340): undefined reference to `_mesa_reference_renderbuffer'
osmesa.c:(.text+0x9348): undefined reference to `_swsetup_DestroyContext'
osmesa.c:(.text+0x9350): undefined reference to `_tnl_DestroyContext'
osmesa.c:(.text+0x9358): undefined reference to `_vbo_DestroyContext'
osmesa.c:(.text+0x9360): undefined reference to `_swrast_DestroyContext'
osmesa.c:(.text+0x9368): undefined reference to `_mesa_destroy_visual'
osmesa.c:(.text+0x9370): undefined reference to `_mesa_unreference_framebuffer'
osmesa.c:(.text+0x9378): undefined reference to `_mesa_free_context_data'
osmesa.c:(.text+0x9380): undefined reference to `_mesa_free'
osmesa.c:(.text+0x93a4): undefined reference to `_swsetup_DestroyContext'
osmesa.c:(.text+0x93ac): undefined reference to `_tnl_DestroyContext'
osmesa.c:(.text+0x93b4): undefined reference to `_vbo_DestroyContext'
osmesa.c:(.text+0x93bc): undefined reference to `_swrast_DestroyContext'
osmesa.c:(.text+0x93c4): undefined reference to `_mesa_destroy_visual'
osmesa.c:(.text+0x93cc): undefined reference to `_mesa_unreference_framebuffer'
osmesa.c:(.text+0x93d4): undefined reference to `_mesa_free_context_data'
osmesa.c:(.text+0x93dc): undefined reference to `_mesa_free'
../../lib/libOSMesa.a(osmesa.o): In function `OSMesaCreateContextExt':
osmesa.c:(.text+0x9478): undefined reference to `_mesa_calloc'
osmesa.c:(.text+0x94c8): undefined reference to `_mesa_create_visual'
osmesa.c:(.text+0x94e0): undefined reference to `_mesa_init_driver_functions'
osmesa.c:(.text+0x9514): undefined reference to `_mesa_initialize_context'
osmesa.c:(.text+0x9524): undefined reference to `_mesa_enable_sw_extensions'
osmesa.c:(.text+0x952c): undefined reference to `_mesa_enable_1_3_extensions'
osmesa.c:(.text+0x9534): undefined reference to `_mesa_enable_1_4_extensions'
osmesa.c:(.text+0x953c): undefined reference to `_mesa_enable_1_5_extensions'
osmesa.c:(.text+0x9544): undefined reference to `_mesa_enable_2_0_extensions'
osmesa.c:(.text+0x954c): undefined reference to `_mesa_enable_2_1_extensions'
osmesa.c:(.text+0x9554): undefined reference to `_mesa_create_framebuffer'
osmesa.c:(.text+0x9584): undefined reference to `_mesa_add_renderbuffer'
osmesa.c:(.text+0x95b8): undefined reference to `_mesa_add_soft_renderbuffers'
osmesa.c:(.text+0x95dc): undefined reference to `_swrast_CreateContext'
osmesa.c:(.text+0x95ec): undefined reference to `_vbo_CreateContext'
osmesa.c:(.text+0x95fc): undefined reference to `_tnl_CreateContext'
osmesa.c:(.text+0x960c): undefined reference to `_swsetup_CreateContext'
osmesa.c:(.text+0x961c): undefined reference to `_swsetup_Wakeup'
osmesa.c:(.text+0x9626): undefined reference to `_tnl_run_pipeline'
osmesa.c:(.text+0x966c): undefined reference to `_mesa_destroy_visual'
osmesa.c:(.text+0x9674): undefined reference to `_mesa_free_context_data'
osmesa.c:(.text+0x967c): undefined reference to `_mesa_free'
osmesa.c:(.text+0x96a8): undefined reference to `_mesa_destroy_visual'
osmesa.c:(.text+0x96b0): undefined reference to `_mesa_free'
osmesa.c:(.text+0x96c0): undefined reference to `_mesa_free'
make[3]: *** [osdemo] Error 1
make[3]: Leaving directory `/gpfs/home/jpbernst/Code/Mesa-7.2/progs/osdemos'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/gpfs/home/jpbernst/Code/Mesa-7.2/progs'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/gpfs/home/jpbernst/Code/Mesa-7.2'
make: *** [bluegene-xlc-osmesa] Error 2
-----Changes to Mesa-7-10.3 that allow library compilation for the BG/P Backend-----
<<<src/gallium/include/pipe/p_config.h>>>
#if defined(__IBMC__)
#define PIPE_CC_IBMC
#endif
----------
#if defined(__IBMC__)
#define PIPE_ARCH_IBMC
#endif
----------
#elif defined(PIPE_ARCH_IBMC)
#define PIPE_ARCH_BIG_ENDIAN
<<<src/gallium/include/pipe/p_compiler.h>>>
#elif defined(__IBMC__)
#define PIPE_ALIGN_TYPE(_alignment, _type) _type
#define PIPE_ALIGN_VAR(_alignment)
----------
#elif defined(__IBMC__)
#define PIPE_READ_WRITE_BARRIER() __asm__ __volatile__ ("sync" ::: "memory" )
Note: instead of the above, Erik Olson (MCS) suggested trying (TO-DO):
#define PIPE_READ_WRITE_BARRIER() __lwsync()
<<<src/gallium/auxiliary/util/u_atomic.h>>>
#elif (defined(PIPE_CC_IBMC) && defined(PIPE_ARCH_IBMC))
#define PIPE_ATOMIC_OS_UNLOCKED
<<<end file list>>>
----- Original Message -----
From: "Brian Paul" <brianp at vmware.com>
To: "J. P. Bernstein" <astro at anl.gov>
Sent: Thursday, March 29, 2012 9:56:45 AM
Subject: Re: [Mesa-users] Cross-compiling on IBM Blue Gene/P
Yeah, possibly. Maybe start off assuming the OS is linux-like and see
how far that gets you.
-Brian
On 03/29/2012 08:22 AM, J. P. Bernstein wrote:
> Thanks so much, Brian.
>
> I am compiling for the backend on BG/P, which uses IBM's Compute Node Kernel (CNK). Does that mean I will need a new PIPE_OS_...? Onward and upward!
>
> Best,
>
> Joe
>
> ----- Original Message -----
> From: "Brian Paul"<brianp at vmware.com>
> To: "J. P. Bernstein"<astro at anl.gov>
> Sent: Thursday, March 29, 2012 9:19:17 AM
> Subject: Re: [Mesa-users] Cross-compiling on IBM Blue Gene/P
>
> Ah, OK. Is your system running Linux? if so you'll need to add a
> lines something like:
>
> #elif (defined(PIPE_OS_LINUX)&& defined(PIPE_CC_IBMC)
> #define PIPE_ATOMIC_OS_UNLOCKED
>
> near line 37. This should define "unlocked" versions of the macros.
> Ultimately, you'll want to revisit those functions but this should get
> you further.
>
> And in p_config.h you should add:
>
> #ifdef __IBMC__
> #define PIPE_CC_IBMC
> #endif
>
> -Brian
>
>
> On 03/28/2012 06:17 PM, J. P. Bernstein wrote:
>> Thanks again.
>>
>> I should have been explicit. I was more referring to the
>> src/gallium/auxiliary/util/u_atomic.h issues.
>>
>> Best,
>>
>> Joe
>>
>>
>> On 3/28/2012 6:12 PM, Brian Paul wrote:
>>> You'll need to add a case for __IBMC__ and define the
>>> PIPE_READ_WRITE_BARRIER() macro very similar to what you already did.
>>>
>>> -Brian
>>>
>>> On 03/28/2012 04:49 PM, J. P. Bernstein wrote:
>>>> Hello Brian,
>>>>
>>>> Adding:
>>>>
>>>> --------------------
>>>> #elif defined(__IBMC__)
>>>>
>>>> #define PIPE_ALIGN_TYPE(_alignment, _type) _type
>>>> #define PIPE_ALIGN_VAR(_alignment)
>>>>
>>>> #define PIPE_ALIGN_STACK
>>>> --------------------
>>>>
>>>> to src/gallium/include/pipe/p_compiler.h got past the "Unsupported
>>>> compiler" error but resulted in the problems below which I don't
>>>> feel confident addressing after looking at the files referenced. I
>>>> would greatly appreciate your help on this.
>>>>
>>>> Best,
>>>>
>>>> Joe
>>>>
>>>> mpixlc_r -c -o state_tracker/st_atom_blend.o
>>>> state_tracker/st_atom_blend.c -D_POSIX_SOURCE
>>>> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
>>>> -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN
>>>> -I../../include -I../../src/glsl -I../../src/mesa -I../../src/mapi
>>>> -I../../src/gallium/include -I../../src/gallium/auxiliary -g -O2
>>>> -DIBM -DNOUNDERSCORE -c -qarch=450d -qtune=450
>>>> "../../src/gallium/include/pipe/p_compiler.h", line 252.2: 1506-948
>>>> (W) #warning "Unsupported compiler"
>>>> "../../src/gallium/include/pipe/p_compiler.h", line 294.9: 1506-236
>>>> (W) Macro name likely has been redefined.
>>>> "../../src/gallium/include/pipe/p_compiler.h", line 294.9: 1506-358
>>>> (I) "likely" is defined on line 43 of
>>>> ../../src/mapi/mapi/u_compiler.h.
>>>> "../../src/gallium/include/pipe/p_compiler.h", line 295.9: 1506-236
>>>> (W) Macro name unlikely has been redefined.
>>>> "../../src/gallium/include/pipe/p_compiler.h", line 295.9: 1506-358
>>>> (I) "unlikely" is defined on line 44 of
>>>> ../../src/mapi/mapi/u_compiler.h.
>>>> mpixlc_r -c -o state_tracker/st_atom_clip.o
>>>> state_tracker/st_atom_clip.c -D_POSIX_SOURCE
>>>> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
>>>> -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN
>>>> -I../../include -I../../src/glsl -I../../src/mesa -I../../src/mapi
>>>> -I../../src/gallium/include -I../../src/gallium/auxiliary -g -O2
>>>> -DIBM -DNOUNDERSCORE -c -qarch=450d -qtune=450
>>>> "../../src/gallium/include/pipe/p_compiler.h", line 252.2: 1506-948
>>>> (W) #warning "Unsupported compiler"
>>>> "../../src/gallium/include/pipe/p_compiler.h", line 294.9: 1506-236
>>>> (W) Macro name likely has been redefined.
>>>> "../../src/gallium/include/pipe/p_compiler.h", line 294.9: 1506-358
>>>> (I) "likely" is defined on line 43 of
>>>> ../../src/mapi/mapi/u_compiler.h.
>>>> "../../src/gallium/include/pipe/p_compiler.h", line 295.9: 1506-236
>>>> (W) Macro name unlikely has been redefined.
>>>> "../../src/gallium/include/pipe/p_compiler.h", line 295.9: 1506-358
>>>> (I) "unlikely" is defined on line 44 of
>>>> ../../src/mapi/mapi/u_compiler.h.
>>>> mpixlc_r -c -o state_tracker/st_atom_constbuf.o
>>>> state_tracker/st_atom_constbuf.c -D_POSIX_SOURCE
>>>> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
>>>> -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN
>>>> -I../../include -I../../src/glsl -I../../src/mesa -I../../src/mapi
>>>> -I../../src/gallium/include -I../../src/gallium/auxiliary -g -O2
>>>> -DIBM -DNOUNDERSCORE -c -qarch=450d -qtune=450
>>>> "../../src/gallium/include/pipe/p_compiler.h", line 252.2: 1506-948
>>>> (W) #warning "Unsupported compiler"
>>>> "../../src/gallium/auxiliary/util/u_atomic.h", line 37.2: 1506-205
>>>> (S) #error "Unsupported platform"
>>>> "../../src/gallium/auxiliary/util/u_atomic.h", line 347.2: 1506-205
>>>> (S) #error "No pipe_atomic implementation selected"
>>>> make[3]: *** [state_tracker/st_atom_constbuf.o] Error 1
>>>> make[3]: Leaving directory
>>>> `/gpfs/home/jpbernst/Code/Mesa-7.10.3/src/mesa'
>>>> make[2]: *** [subdirs] Error 1
>>>> make[2]: Leaving directory `/gpfs/home/jpbernst/Code/Mesa-7.10.3/src'
>>>> make[1]: *** [default] Error 1
>>>> make[1]: Leaving directory `/gpfs/home/jpbernst/Code/Mesa-7.10.3'
>>>>
>>>> ----- Original Message -----
>>>> From: "J. P. Bernstein"<astro at anl.gov>
>>>> To: "Brian Paul"<brianp at vmware.com>
>>>> Sent: Wednesday, March 28, 2012 4:59:04 PM
>>>> Subject: Re: [Mesa-users] Cross-compiling on IBM Blue Gene/P
>>>>
>>>> Thanks for the quick reply! I will give it a whirl following your
>>>> suggestion below.
>>>>
>>>> Best,
>>>>
>>>> Joe
>>>>
>>>> ----- Original Message -----
>>>> From: "Brian Paul"<brianp at vmware.com>
>>>> To: "J. P. Bernstein"<astro at anl.gov>
>>>> Sent: Wednesday, March 28, 2012 4:54:56 PM
>>>> Subject: Re: [Mesa-users] Cross-compiling on IBM Blue Gene/P
>>>>
>>>> Sorry, I haven't looked. In general, you just need to follow the
>>>> example of the neighboring code in that file:
>>>>
>>>> 1. find a preprocessor symbol to identify your compiler
>>>> 2. #define the PIPE_ALIGN_TYPE, PIPE_ALIGN_VAR and PIPE_ALIGN_STACK
>>>> symbols. They may be no-ops similar to the "SWIG" case.
>>>>
>>>> -Brian
>>>>
>>>> On 03/28/2012 03:14 PM, J. P. Bernstein wrote:
>>>>> Hello Brian,
>>>>>
>>>>> Have you had a chance to look at the failure below at all? This is
>>>>> holding up progress.
>>>>>
>>>>> Best,
>>>>>
>>>>> Joe
>>>>>
>>>>> ----- Original Message -----
>>>>> From: "J. P. Bernstein"<astro at anl.gov>
>>>>> To: "Daniel Fuster"<dfuster at gmail.com>
>>>>> Cc: "Brian Paul"<brianp at vmware.com>, mesa-users at lists.freedesktop.org
>>>>> Sent: Thursday, March 8, 2012 10:58:37 AM
>>>>> Subject: Re: [Mesa-users] Cross-compiling on IBM Blue Gene/P
>>>>>
>>>>> Thanks for the tip, Daniel. That got me further down the line.
>>>>>
>>>>>
>>>>> The 7.10.3 build ultimately fails with::
>>>>>
>>>>>
>>>>>
>>>>> mklib: Making Linux static library: libmesa.a
>>>>> ar: creating libmesa.a
>>>>> mpixlc_r -c -o state_tracker/st_atom.o state_tracker/st_atom.c
>>>>> -I../../include -I../../src/glsl -I../../src/mesa -I../../src/mapi
>>>>> -I../../src/gallium/include -I../../src/gallium/auxiliary -g -O2
>>>>> -DIBM -DNOUNDERSCORE -c -qarch=450d -qtune=450
>>>>> "../../src/gallium/include/pipe/p_compiler.h", line 228.2:
>>>>> 1506-205 (S) #error "Unsupported compiler"
>>>>> "../../src/gallium/include/pipe/p_compiler.h", line 245.2:
>>>>> 1506-948 (W) #warning "Unsupported compiler"
>>>>> make[3]: *** [state_tracker/st_atom.o] Error 1
>>>>> make[3]: Leaving directory
>>>>> `/gpfs/home/jpbernst/Code/Mesa-7.10.3/src/mesa'
>>>>> make[2]: *** [subdirs] Error 1
>>>>> make[2]: Leaving directory `/gpfs/home/jpbernst/Code/Mesa-7.10.3/src'
>>>>> make[1]: *** [default] Error 1
>>>>> make[1]: Leaving directory `/gpfs/home/jpbernst/Code/Mesa-7.10.3'
>>>>> make: *** [bluegenep-xlc-osmesa] Error 2
>>>>> 116.658u 31.798s 2:30.94 98.3% 0+0k 0+103552io 0pf+0w
>>>>>
>>>>>
>>>>>
>>>>> Did you see that one? Any advice, Brian? Is there a fix for that
>>>>> in later versions of Mesa that is compatible with 7.10.3?
>>>>>
>>>>>
>>>>> Looks like the error and warning are coming from this part f the
>>>>> code:
>>>>>
>>>>>
>>>>> --------------------
>>>>>
>>>>> #if (__GNUC__> 4 || (__GNUC__ == 4&&__GNUC_MINOR__>1))&&
>>>>> !defined(PIPE_ARCH_X86_64)
>>>>> #define PIPE_ALIGN_STACK __attribute__((force_align_arg_pointer))
>>>>> #else
>>>>> #define PIPE_ALIGN_STACK
>>>>> #endif
>>>>>
>>>>>
>>>>> #elif defined(_MSC_VER)
>>>>>
>>>>>
>>>>> /* See http://msdn.microsoft.com/en-us/library/83ythb65.aspx */
>>>>> #define PIPE_ALIGN_TYPE(_alignment, _type)
>>>>> __declspec(align(_alignment)) _type
>>>>> #define PIPE_ALIGN_VAR(_alignment) __declspec(align(_alignment))
>>>>>
>>>>>
>>>>> #define PIPE_ALIGN_STACK
>>>>>
>>>>>
>>>>> #elif defined(SWIG)
>>>>>
>>>>>
>>>>> #define PIPE_ALIGN_TYPE(_alignment, _type) _type
>>>>> #define PIPE_ALIGN_VAR(_alignment)
>>>>>
>>>>>
>>>>> #define PIPE_ALIGN_STACK
>>>>>
>>>>>
>>>>> #else
>>>>>
>>>>>
>>>>> #error "Unsupported compiler"
>>>>>
>>>>>
>>>>> #endif
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> #if defined(__GNUC__)
>>>>>
>>>>>
>>>>> #define PIPE_READ_WRITE_BARRIER() __asm__("":::"memory")
>>>>>
>>>>>
>>>>> #elif defined(_MSC_VER)
>>>>>
>>>>>
>>>>> void _ReadWriteBarrier(void);
>>>>> #pragma intrinsic(_ReadWriteBarrier)
>>>>> #define PIPE_READ_WRITE_BARRIER() _ReadWriteBarrier()
>>>>>
>>>>>
>>>>> #else
>>>>>
>>>>>
>>>>> #warning "Unsupported compiler"
>>>>> #define PIPE_READ_WRITE_BARRIER() /* */
>>>>>
>>>>>
>>>>> #endif
>>>>>
>>>>> --------------------
>>>>>
>>>>>
>>>>>
>>>>> Best,
>>>>>
>>>>>
>>>>> Joe
>>>>>
>>>>>
>>>>>
>>>>> On Mar 7, 2012, at 10:37 PM, Daniel Fuster wrote:
>>>>>
>>>>>
>>>>> Hello Joe
>>>>>
>>>>> Afer introducing the correction Brian suggested, I managed to
>>>>> compile osmesa libraries (vers 7.10.3) in a IBM Blue Gene/P
>>>>>
>>>>> Maybe you could try this version and see if that works for you
>>>>>
>>>>> best
>>>>> Daniel
>>>>>
>>>>>
>>>>> 2012/2/27 J. P. Bernstein< astro at anl.gov>
>>>>>
>>>>>
>>>>> OK, found the PYTHON2 variable. Set that to python2.6. That seems
>>>>> to have moved past the syntax error. Now I get:
>>>>>
>>>>> Regenerating builtin_function.cpp...
>>>>> /usr/bin/python2.6 -t -O -O builtins/tools/generate_builtins.py
>>>>> ./builtin_compiler> builtin_function.cpp || rm -f
>>>>> builtin_function.cpp
>>>>> Traceback (most recent call last):
>>>>> File "builtins/tools/generate_builtins.py", line 192, in<module>
>>>>> write_profiles()
>>>>> File "builtins/tools/generate_builtins.py", line 103, in
>>>>> write_profiles
>>>>> write_profile(filename, profile)
>>>>> File "builtins/tools/generate_builtins.py", line 75, in write_profile
>>>>> (proto_ir, returncode) = run_compiler([filename])
>>>>> File "builtins/tools/generate_builtins.py", line 62, in run_compiler
>>>>> p = Popen(command, 1, stdout=PIPE, shell=False)
>>>>> File "/usr/lib64/python2.6/subprocess.py", line 633, in __init__
>>>>> errread, errwrite)
>>>>> File "/usr/lib64/python2.6/subprocess.py", line 1139, in
>>>>> _execute_child
>>>>> raise child_exception
>>>>> OSError: [Errno 2] No such file or directory
>>>>>
>>>>> mpixlcxx_r -c -I. -I../mesa -I../mapi -I../../include -g -O2 -DIBM
>>>>> -DNOUNDERSCORE -c -qarch=450 -qtune=auto -qcache=auto
>>>>> -qmaxmem=16384 -D_FILE_OFFSET_BITS=64 builtin_function.cpp -o
>>>>> builtin_function.o
>>>>> bgxlC_r: 1501-228 (W) input file builtin_function.cpp not found
>>>>>
>>>>>
>>>>>
>>>>> On Feb 27, 2012, at 2:15 PM, J. P. Bernstein wrote:
>>>>>
>>>>>> That helped in that the mesa build is now trying to make the glsl
>>>>>> lib. Now I get the built-in failure that I sent before when I
>>>>>> tried the manual glsl make:
>>>>>>
>>>>>> python -t -O -O builtins/tools/generate_builtins.py
>>>>>> ./builtin_compiler> builtin_function.cpp || rm -f
>>>>>> builtin_function.cpp
>>>>>> File "builtins/tools/generate_builtins.py", line 28
>>>>>> with open(filename) as f:
>>>>>> ^
>>>>>> SyntaxError: invalid syntax
>>>>>> mpixlcxx_r -c -I. -I../mesa -I../mapi -I../../include -g -O2
>>>>>> -DIBM -DNOUNDERSCORE -c -qarch=450 -qtune=auto -qcache=auto
>>>>>> -qmaxmem=16384 -D_FILE_OFFSET_BITS=64 builtin_function.cpp -o
>>>>>> builtin_function.o
>>>>>> bgxlC_r: 1501-228 (W) input file builtin_function.cpp not found
>>>>>> make[3]: *** [builtin_function.o] Error 252
>>>>>> make[3]: Leaving directory
>>>>>> `/gpfs/home/jpbernst/Code/Mesa-7.11.2/src/glsl'
>>>>>> make[2]: *** [subdirs] Error 1
>>>>>> make[2]: Leaving directory
>>>>>> `/gpfs/home/jpbernst/Code/Mesa-7.11.2/src'
>>>>>> make[1]: *** [default] Error 1
>>>>>> make[1]: Leaving directory `/gpfs/home/jpbernst/Code/Mesa-7.11.2'
>>>>>> make: *** [bluegenep-xlc-osmesa] Error 2
>>>>>>
>>>>>> I suspect this is because python2.4 is being used, but have not
>>>>>> been able to figure out how to tell the build to use the
>>>>>> non-default python2.6. How does one do that?
>>>>>>
>>>>>> Best,
>>>>>>
>>>>>> Joe
>>>>>>
>>>>>> P.S. The autoconf fails due to:
>>>>>>
>>>>>> checking for GLPROTO... no
>>>>>> configure: error: Package requirements (glproto>= 1.4.11) were
>>>>>> not met:
>>>>>>
>>>>>> No package 'glproto' found
>>>>>>
>>>>>> Consider adjusting the PKG_CONFIG_PATH environment variable if you
>>>>>> installed software in a non-standard prefix.
>>>>>>
>>>>>> Alternatively, you may set the environment variables GLPROTO_CFLAGS
>>>>>> and GLPROTO_LIBS to avoid the need to call pkg-config.
>>>>>> See the pkg-config man page for more details.
>>>>>>
>>>>>> Have yet to dig into that.
>>>>>>
>>>>>>
>>>>>> On Feb 27, 2012, at 2:03 PM, Brian Paul wrote:
>>>>>>
>>>>>>> Try editing configs/bluegene-xlc-osmesa and change this line:
>>>>>>>
>>>>>>> SRC_DIRS = mesa glu
>>>>>>>
>>>>>>> to read:
>>>>>>>
>>>>>>> SRC_DIRS = glsl mapi/glapi mesa glu
>>>>>>>
>>>>>>> Note that the static configuration files in the configs/
>>>>>>> directory will probably be going away in the future. The bluegen
>>>>>>> configs haven't been touched in years. You might also try
>>>>>>> building with autoconf (i.e. "./configure ; make") but
>>>>>>> specifying your compiler, etc.
>>>>>>>
>>>>>>> -Brian
>>>>>>>
>>>>>>> On 02/27/2012 12:58 PM, J. P. Bernstein wrote:
>>>>>>>> Hello Brian,
>>>>>>>>
>>>>>>>> The library you referenced does not exist. I thought I was
>>>>>>>> build as part of the mesa build. Is that not correct? In any
>>>>>>>> case, I tried a manual make in src/glsl/ and got the following
>>>>>>>> error:
>>>>>>>>
>>>>>>>> python -t -O -O builtins/tools/generate_builtins.py
>>>>>>>> ./builtin_compiler> builtin_function.cpp || rm -f
>>>>>>>> builtin_function.cpp
>>>>>>>> File "builtins/tools/generate_builtins.py", line 28
>>>>>>>> with open(filename) as f:
>>>>>>>> ^
>>>>>>>> SyntaxError: invalid syntax
>>>>>>>> mpixlcxx_r -c -I. -I../mesa -I../mapi -I../../include -g -O2
>>>>>>>> -DIBM -DNOUNDERSCORE -c -qarch=450 -qtune=auto -qcache=auto
>>>>>>>> -qmaxmem=16384 -D_FILE_OFFSET_BITS=64 builtin_function.cpp -o
>>>>>>>> builtin_function.o
>>>>>>>> bgxlC_r: 1501-228 (W) input file builtin_function.cpp not found
>>>>>>>> make: *** [builtin_function.o] Error 252
>>>>>>>> On Feb 27, 2012, at 1:40 PM, Brian Paul wrote:
>>>>>>>>
>>>>>>>> Might that be due to the fact that the default python on my
>>>>>>>> system is 2.4 and the tool above needs 2.6? If so, can you
>>>>>>>> please tell me how to set the version of python used? Can't
>>>>>>>> seem to find it.
>>>>>>>>
>>>>>>>> Best,
>>>>>>>>
>>>>>>>> Joe
>>>>>>>>
>>>>>>>>
>>>>>>>>> On 02/23/2012 03:12 PM, J. P. Bernstein wrote:
>>>>>>>>>> Greetings,
>>>>>>>>>>
>>>>>>>>>> I am trying to cross-compile mesa for the compute nodes on a
>>>>>>>>>> IBM Blue Gene/P. I got around a build failure in
>>>>>>>>>> querymatrix.c by commenting out the fpclassify code. The
>>>>>>>>>> build is now failing as follows:
>>>>>>>>>>
>>>>>>>>>> mpixlcxx_r -c -o program/sampler.o program/sampler.cpp
>>>>>>>>>> -I../../include -I../../src/glsl -I../../src/mesa
>>>>>>>>>> -I../../src/mapi -I../../src/gallium/include
>>>>>>>>>> -I../../src/gallium/auxiliary -g -O2 -DIBM -DNOUNDERSCORE -c
>>>>>>>>>> -qarch=450 -qtune=auto -qcache=auto -qmaxmem=16384
>>>>>>>>>> -D_FILE_OFFSET_BITS=64
>>>>>>>>>> make[3]: *** No rule to make target
>>>>>>>>>> `../../src/glsl/libglsl.a', needed by `libmesa.a'. Stop.
>>>>>>>>>> make[3]: Leaving directory
>>>>>>>>>> `/gpfs/home/jpbernst/Code/Mesa-7.11.2/src/mesa'
>>>>>>>>>> make[2]: *** [subdirs] Error 1
>>>>>>>>>> make[2]: Leaving directory
>>>>>>>>>> `/gpfs/home/jpbernst/Code/Mesa-7.11.2/src'
>>>>>>>>>> make[1]: *** [default] Error 1
>>>>>>>>>> make[1]: Leaving directory
>>>>>>>>>> `/gpfs/home/jpbernst/Code/Mesa-7.11.2'
>>>>>>>>>> make: *** [bluegenep-xlc-osmesa] Error 2
>>>>>>>>>> 222.520u 60.959s 4:53.06 96.7% 0+0k 40+307416io 0pf+0w
>>>>>>>>>>
>>>>>>>>>> My config is file is attached (it is based on the Blue Gene/L
>>>>>>>>>> config file named bluegene-xlc-osmesa that came with the src;
>>>>>>>>>> I just updated the compiler and flags). I added glsl to
>>>>>>>>>> SRC_DIRS in an attempt to solve the error above to no avail.
>>>>>>>>>> My other attempts at a fix failed as well. Any help would be
>>>>>>>>>> much appreciated.
>>>>>>>>>
>>>>>>>>> From the error, it looks like the glsl compiler didn't get
>>>>>>>>> built. Can you check if src/glsl/libglsl.a exists or not?
>>>>>>>>>
>>>>>>>>> If not, were there errors earlier when the glsl compiler was
>>>>>>>>> being built?
>>>>>>>>>
>>>>>>>>> -Brian
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> mesa-users mailing list
>>>>>> mesa-users at lists.freedesktop.org
>>>>>> http://lists.freedesktop.org/mailman/listinfo/mesa-users
>>>>>
>>>>> _______________________________________________
>>>>> mesa-users mailing list
>>>>> mesa-users at lists.freedesktop.org
>>>>> http://lists.freedesktop.org/mailman/listinfo/mesa-users
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
More information about the mesa-users
mailing list