Enabling DRI in Mesa 7.8.2
Srini <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
I am trying to enable Hardware Acceleration on Mesa 7.8.2 for GLES2.0 Emulator on my Desktop PC installed with RHEL 5.3 which has kernel version of 2.6.18. i have modified the config file linux-opengl-es and included i915 next to softpipe in Gallium Driver Macro(GALLIUM_DRIVERS_DIRS). Could anyone please help me to find this issue. Thanks in Advance. Regards, Srini. i am getting Below Error when compiling. make[5]: Entering directory `/root/Mesa-7.8.2/src/gallium/state_trackers/egl' rm -f depend touch depend makedepend -fdepend -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/egl/main -I../../../../include -I../../../../src/gallium/drivers -I../../../../src/glx -I../../../../src/mesa -I/usr/include/drm -I/usr/include/drm common/egl_g3d.c common/egl_g3d_image.c common/egl_st.c x11/glxinit.c x11/native_dri2.c x11/native_x11.c x11/native_ximage.c x11/sw_winsys.c x11/x11_screen.c ../../../../src/glx/dri2.c kms/native_kms.c 2> /dev/null make[5]: Leaving directory `/root/Mesa-7.8.2/src/gallium/state_trackers/egl' make[5]: Entering directory `/root/Mesa-7.8.2/src/gallium/state_trackers/egl' gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/egl/main -I../../../../include -I../../../../src/gallium/drivers -I../../../../src/glx -I../../../../src/mesa -I/usr/include/drm -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING -Wall -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith -O3 -g -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING -I/usr/X11R6/include -std=c99 -ffast-math -fno-strict-aliasing x11/glxinit.c -o x11/glxinit.o gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/egl/main -I../../../../include -I../../../../src/gallium/drivers -I../../../../src/glx -I../../../../src/mesa -I/usr/include/drm -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING -Wall -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith -O3 -g -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING -I/usr/X11R6/include -std=c99 -ffast-math -fno-strict-aliasing x11/native_dri2.c -o x11/native_dri2.o x11/native_dri2.c: In function ‘dri2_display_hash_table_compare’: x11/native_dri2.c:825: warning: pointer of type ‘void *’ used in subtraction gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/egl/main -I../../../../include -I../../../../src/gallium/drivers -I../../../../src/glx -I../../../../src/mesa -I/usr/include/drm -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING -Wall -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith -O3 -g -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING -I/usr/X11R6/include -std=c99 -ffast-math -fno-strict-aliasing x11/native_x11.c -o x11/native_x11.o gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/egl/main -I../../../../include -I../../../../src/gallium/drivers -I../../../../src/glx -I../../../../src/mesa -I/usr/include/drm -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING -Wall -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith -O3 -g -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING -I/usr/X11R6/include -std=c99 -ffast-math -fno-strict-aliasing x11/native_ximage.c -o x11/native_ximage.o gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/egl/main -I../../../../include -I../../../../src/gallium/drivers -I../../../../src/glx -I../../../../src/mesa -I/usr/include/drm -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING -Wall -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith -O3 -g -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING -I/usr/X11R6/include -std=c99 -ffast-math -fno-strict-aliasing x11/sw_winsys.c -o x11/sw_winsys.o gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/egl/main -I../../../../include -I../../../../src/gallium/drivers -I../../../../src/glx -I../../../../src/mesa -I/usr/include/drm -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING -Wall -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith -O3 -g -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING -I/usr/X11R6/include -std=c99 -ffast-math -fno-strict-aliasing x11/x11_screen.c -o x11/x11_screen.o In file included from x11/x11_screen.c:38: ../../../../src/glx/dri2.h:89: error: expected declaration specifiers or ‘...’ before ‘CARD64’ ../../../../src/glx/dri2.h:89: error: expected declaration specifiers or ‘...’ before ‘CARD64’ ../../../../src/glx/dri2.h:90: error: expected declaration specifiers or ‘...’ before ‘CARD64’ ../../../../src/glx/dri2.h:90: error: expected declaration specifiers or ‘...’ before ‘CARD64’ ../../../../src/glx/dri2.h:93: error: expected declaration specifiers or ‘...’ before ‘CARD64’ ../../../../src/glx/dri2.h:93: error: expected declaration specifiers or ‘...’ before ‘CARD64’ ../../../../src/glx/dri2.h:93: error: expected declaration specifiers or ‘...’ before ‘CARD64’ ../../../../src/glx/dri2.h:96: error: expected declaration specifiers or ‘...’ before ‘CARD64’ ../../../../src/glx/dri2.h:96: error: expected declaration specifiers or ‘...’ before ‘CARD64’ ../../../../src/glx/dri2.h:97: error: expected declaration specifiers or ‘...’ before ‘CARD64’ ../../../../src/glx/dri2.h:97: error: expected declaration specifiers or ‘...’ before ‘CARD64’ ../../../../src/glx/dri2.h:97: error: expected declaration specifiers or ‘...’ ../../../../src/glx/dri2.h:97: error: expected declaration specifiers or ‘...’ before ‘CARD64’ ../../../../src/glx/dri2.h:100: error: expected declaration specifiers or ‘...’ before ‘CARD64’ ../../../../src/glx/dri2.h:100: error: expected declaration specifiers or ‘...’ before ‘CARD64’ ../../../../src/glx/dri2.h:101: error: expected declaration specifiers or ‘...’ before ‘CARD64’ ../../../../src/glx/dri2.h:101: error: expected declaration specifiers or ‘...’ before ‘CARD64’ make[5]: *** [x11/x11_screen.o] Error 1 make[5]: Leaving directory `/root/Mesa-7.8.2/src/gallium/state_trackers/egl' make[4]: *** [subdirs] Error 1 make[4]: Leaving directory `/root/Mesa-7.8.2/src/gallium/state_trackers' make[3]: *** [default] Error 1 make[3]: Leaving directory `/root/Mesa-7.8.2/src/gallium' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/root/Mesa-7.8.2/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/root/Mesa-7.8.2' make: *** [linux-opengl-es] Error 2 _______________________________________________ mesa-users mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-users