> On Fri, 04 Dec 2009 17:22:22 +0100 > Tobias Jakobi<liquid.a...@gmx.net> wrote: > >> Hi there, >> >> with a fresh git master from the libdrm repo compilation fails: >> >> make[3]: Entering directory >> `/var/tmp/portage/x11-libs/libdrm-9999/work/libdrm-9999/tests/modetest' >> i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. >> -I../../include/drm -I../../intel/ -I../.. -I/usr/include/cairo >> -I/usr/include/pixman-1 -I/usr/include/freetype2 >> -I/usr/include/libpng12 -O2 -march=pentium-m -fomit-frame-pointer >> -pipe -MT modetest.o -MD -MP -MF .deps/modetest.Tpo -c -o modetest.o >> modetest.c modetest.c: In function ‘dump_framebuffers’: >> modetest.c:259: warning: too few arguments for format >> modetest.c: In function ‘set_mode’: >> modetest.c:621: error: ‘drmEventContext’ has no member named >> ‘pageflip_handler’ >> modetest.c: In function ‘main’: >> modetest.c:700: warning: format ‘%64s’ expects type ‘char *’, but >> argument 4 has type ‘char (*)[64]’ >> modetest.c:704: warning: format ‘%64s’ expects type ‘char *’, but >> argument 5 has type ‘char (*)[64]’ >> >> Looking at drmEventContext in xf86drm.h the member is called >> page_flip_handler, and NOT pageflip_handler. >> >> Can someone push a fix? > > Yep, fix pushed. >
Thanks Jesse, works fine for me! ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel