[Mesa-dev] Help required in configuring mesa 3d in non X environment.
Matt Turner
mattst88 at gmail.com
Fri Jan 27 07:52:15 PST 2012
2012/1/26 Sanjoy Saha - ERS, HCL Tech <sanjoy.saha at hcl.com>:
> Michel,
> As per the below instructions i tried to compile mesa as follows. But i get a compilation error in make process. Can you please help me out here ?
>
> ./configure --enable-gallium-egl --with-egl-platforms=drm --enable-shared-glapi --with-gallium-drivers=r600 --enable-gles1
Related to conversation in another thread -- did you realize that
without --with-dri-drivers="" that you were building the i915, i965,
radeon, r200, nouveau, and swrast DRI drivers (see configure output
below)?
> prefix: /usr/local
> exec_prefix: ${prefix}
> libdir: ${exec_prefix}/lib
> includedir: ${prefix}/include
>
> OpenGL: yes (ES1: yes ES2: no)
> OpenVG: no
>
> Driver: dri
> OSMesa: no
> DRI drivers: mach64 r128 r200 r300 r600 radeon tdfx swrast
> DRI driver dir: ${libdir}/dri
> Use XCB: no
> Shared dricore: no
>
> GLU: yes
> GLw: yes (Motif: no)
> glut: yes
>
> EGL: yes
> EGL platforms: drm
> EGL drivers: builtin:egl_glx egl_gallium
> EGL Gallium STs: $(GL_LIB)
>
> llvm: no
>
> Gallium: yes
> Gallium dirs: auxiliary drivers state_trackers
> Target dirs: egl-static gbm dri-r600
> Winsys dirs: sw sw/xlib sw/dri i915/sw r600/drm
> Driver dirs: softpipe failover galahad trace rbug noop identity i915 i965 r300 svga r600
> Trackers dirs: gbm egl dri
>
> Shared libs: yes
> Static libs: no
>
> CFLAGS: -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC
> CXXFLAGS: -g -O2 -Wall -fno-strict-aliasing -fPIC
> Macros: -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DUSE_PPC_ASM -DUSE_VMX_ASM
>
> PYTHON2: python
>
> Run 'make' to build Mesa
>
>
> root at MPC8641HPCN:~/working/mesa-7.11# make
> make[1]: Entering directory `/root/working/mesa-7.11/src'
> Making sources for autoconf
> make[2]: Entering directory `/root/working/mesa-7.11/src/mapi/shared-glapi'
> make[3]: Entering directory `/root/working/mesa-7.11/src/mapi/glapi/gen-es'
> make[3]: Nothing to be done for `shared-glapi'.
> make[3]: Leaving directory `/root/working/mesa-7.11/src/mapi/glapi/gen-es'
> gcc -c -I../../../include -I../../../src/mapi -DMAPI_MODE_GLAPI -DMAPI_ABI_HEADER=\"shared-glapi/glapi_mapi_tmp.h\" -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC -DUSE_PPC_ASM -DUSE_VMX_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -fvisibility=hidden ../../../src/mapi/mapi/entry.c -o entry.o
> ../../../src/mapi/mapi/entry.c: In function 'entry_get_public':
> ../../../src/mapi/mapi/entry.c:82: error: 'public_entries' undeclared (first use in this function)
> ../../../src/mapi/mapi/entry.c:82: error: (Each undeclared identifier is reported only once
> ../../../src/mapi/mapi/entry.c:82: error: for each function it appears in.)
> make[2]: *** [entry.o] Error 1
> make[2]: Leaving directory `/root/working/mesa-7.11/src/mapi/shared-glapi'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory `/root/working/mesa-7.11/src'
> make: *** [default] Error 1
I tried to reproduce with Mesa from git, and could not. If the issue
is indeed fixed since 7.11, we might be able to apply it to the 7.11
branch if you could find the patch that fixes it.
Otherwise, Mesa-8.0 is right around the corner.
Matt
More information about the mesa-dev
mailing list