http://bugs.freedesktop.org/show_bug.cgi?id=24334

           Summary: mesa git fails to build with xf86vidmodeproto 2.3
           Product: Mesa
           Version: git
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa3d-dev@lists.sourceforge.net
        ReportedBy: ai...@cisco.com


mesa git builds fine with xf86vidmodeproto 2.2 however in 2.3 xf86vmode.h was
renamed to xf86vm.h.

see: 

http://cgit.freedesktop.org/xorg/proto/xf86vidmodeproto/commit/?id=50fe2de4abe06bcf9e38e7dcd5005538e0ba3ce1

build failure:

[snip]
x86_64-pc-linux-gnu-gcc -c -I. -I../../../include
-I../../../include/GL/internal -I../../../src/mesa -I../../../src/mesa/glapi
-I/usr/include/drm     -march=native -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -O2
-pipe -ffast-math -Wall -Wmissing-prototypes -std=c99 -ffast-math
-fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS
-DHAVE_POSIX_MEMALIGN -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1
-DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS
-DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER
-DDEFAULT_DRIVER_DIR=\"/usr/lib64/dri\" indirect.c -o indirect.o
glxcmds.c:43:38: error: X11/extensions/xf86vmode.h: No such file or directory
x86_64-pc-linux-gnu-gcc -c -I. -I../../../include
-I../../../include/GL/internal -I../../../src/mesa -I../../../src/mesa/glapi
-I/usr/include/drm     -march=native -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -O2
-pipe -ffast-math -Wall -Wmissing-prototypes -std=c99 -ffast-math
-fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS
-DHAVE_POSIX_MEMALIGN -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1
-DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS
-DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER
-DDEFAULT_DRIVER_DIR=\"/usr/lib64/dri\" indirect_init.c -o indirect_init.o
glxcmds.c: In function '__driGetMscRateOML':
glxcmds.c:2336: error: 'XF86VidModeModeLine' undeclared (first use in this
function)
glxcmds.c:2336: error: (Each undeclared identifier is reported only once
glxcmds.c:2336: error: for each function it appears in.)
glxcmds.c:2336: error: expected ';' before 'mode_line'
glxcmds.c:2342: warning: implicit declaration of function
'XF86VidModeQueryVersion'
glxcmds.c:2343: warning: implicit declaration of function
'XF86VidModeGetModeLine'
glxcmds.c:2343: error: 'mode_line' undeclared (first use in this function)
gmake[2]: *** [glxcmds.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory
`/ebuild/tmp/portage/media-libs/mesa-9999/work/Mesa-9999/src/glx/x11'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory
`/ebuild/tmp/portage/media-libs/mesa-9999/work/Mesa-9999/src'
make: *** [default] Error 1


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

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to