[Mesa-users] Cross-compiling on IBM Blue Gene/P

Brian Paul brianp at vmware.com
Mon Feb 27 11:40:25 PST 2012


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


More information about the mesa-users mailing list