[Mesa-dev] [Bug 39846] New: can' t compile mesa ‘__u64’problem .

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 4 21:50:24 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=39846

           Summary: can't compile mesa ‘__u64’problem.
           Product: Mesa
           Version: 7.10
          Platform: Other
        OS/Version: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: Drivers/X11
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: sol013 at ucsd.edu


Hi, I am having trouble compiling mesa due to this problem.
I tried an internet solution of removing std=c99, but still does not work.
(http://lists.freedesktop.org/archives/mesa-users/2011-February/000197.html)

[root at localhost Mesa-7.10.3]# gmake
gmake[1]: Entering directory `/home/sol013/Mesa-7.10.3/src'
Making sources for autoconf
gmake[2]: Entering directory `/home/sol013/Mesa-7.10.3/src/mapi/glapi'
gmake[2]: `default'를 위해 할 일이 없습니다
gmake[2]: Leaving directory `/home/sol013/Mesa-7.10.3/src/mapi/glapi'
gmake[2]: Entering directory `/home/sol013/Mesa-7.10.3/src/glsl'
gmake[2]: `default'를 위해 할 일이 없습니다
gmake[2]: Leaving directory `/home/sol013/Mesa-7.10.3/src/glsl'
gmake[2]: Entering directory `/home/sol013/Mesa-7.10.3/src/mesa'
gmake[3]: Entering directory `/home/sol013/Mesa-7.10.3/src/mesa/x86'
gmake[3]: `default'를 위해 할 일이 없습니다
gmake[3]: Leaving directory `/home/sol013/Mesa-7.10.3/src/mesa/x86'
gmake[3]: Entering directory `/home/sol013/Mesa-7.10.3/src/mesa/drivers'
gmake[4]: Entering directory `/home/sol013/Mesa-7.10.3/src/mesa/drivers/dri'
gmake[5]: Entering directory
`/home/sol013/Mesa-7.10.3/src/mesa/drivers/dri/i810'
gmake[6]: Entering directory
`/home/sol013/Mesa-7.10.3/src/mesa/drivers/dri/i810'
gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../include -I../../../../../src/mapi -I../../../../../src/mesa
-I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri
-I/usr/local/include -I/usr/local/include/libdrm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden
-fno-strict-aliasing  -fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM
-DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XCB_DRI2 -DFEATURE_GL=1 
../common/utils.c -o ../common/utils.o
In file included from ../../../../../include/GL/internal/dri_interface.h:51,
                 from ../common/utils.h:32,
                 from ../common/utils.c:37:
/usr/local/include/libdrm/drm.h:612: error: expected specifier-qualifier-list
before ‘__u64’
/usr/local/include/libdrm/drm.h:617: error: expected specifier-qualifier-list
before ‘__u64’
In file included from /usr/local/include/libdrm/drm.h:621,
                 from ../../../../../include/GL/internal/dri_interface.h:51,
                 from ../common/utils.h:32,
                 from ../common/utils.c:37:
/usr/local/include/libdrm/drm_mode.h:97: error: expected
specifier-qualifier-list before ‘__u64’
/usr/local/include/libdrm/drm_mode.h:110: error: expected
specifier-qualifier-list before ‘__u64’
/usr/local/include/libdrm/drm_mode.h:168: error: expected
specifier-qualifier-list before ‘__u64’
/usr/local/include/libdrm/drm_mode.h:194: error: expected
specifier-qualifier-list before ‘__u64’
/usr/local/include/libdrm/drm_mode.h:199: error: expected
specifier-qualifier-list before ‘__u64’
/usr/local/include/libdrm/drm_mode.h:211: error: expected
specifier-qualifier-list before ‘__u64’
/usr/local/include/libdrm/drm_mode.h:219: error: expected
specifier-qualifier-list before ‘__u64’
/usr/local/include/libdrm/drm_mode.h:268: error: expected
specifier-qualifier-list before ‘__u64’
/usr/local/include/libdrm/drm_mode.h:309: error: expected
specifier-qualifier-list before ‘__u64’
/usr/local/include/libdrm/drm_mode.h:344: error: expected
specifier-qualifier-list before ‘__u64’
/usr/local/include/libdrm/drm_mode.h:356: error: expected
specifier-qualifier-list before ‘__u64’
/usr/local/include/libdrm/drm_mode.h:369: error: expected
specifier-qualifier-list before ‘__u64’
In file included from ../../../../../include/GL/internal/dri_interface.h:51,
                 from ../common/utils.h:32,
                 from ../common/utils.c:37:
/usr/local/include/libdrm/drm.h:750: error: expected specifier-qualifier-list
before ‘__u64’
gmake[6]: *** [../common/utils.o] 오류 1
gmake[6]: Leaving directory
`/home/sol013/Mesa-7.10.3/src/mesa/drivers/dri/i810'
gmake[5]: *** [lib] 오류 2
gmake[5]: Leaving directory
`/home/sol013/Mesa-7.10.3/src/mesa/drivers/dri/i810'
gmake[4]: *** [subdirs] 오류 1
gmake[4]: Leaving directory `/home/sol013/Mesa-7.10.3/src/mesa/drivers/dri'
gmake[3]: *** [default] 오류 1
gmake[3]: Leaving directory `/home/sol013/Mesa-7.10.3/src/mesa/drivers'
gmake[2]: *** [driver_subdirs] 오류 2
gmake[2]: Leaving directory `/home/sol013/Mesa-7.10.3/src/mesa'
gmake[1]: *** [subdirs] 오류 1
gmake[1]: Leaving directory `/home/sol013/Mesa-7.10.3/src'
gmake: *** [default] 오류 1

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list