[Xorg] HEADSUP: DRI merged
Carl Karsten
carl at personnelware.com
Wed Jun 16 12:45:52 PDT 2004
Same thing for me:
Gentoo
Linux LinuxBook1 2.6.7-rc3-bk5 #1 Mon Jun 14 18:16:03 GMT 2004 i686 Celeron
(Coppermine) GenuineIntel GNU/Linux
Currently empty xc/config/cf/host.def - I'll try #define BuildXvExt NO
Carl K
----- Original Message -----
From: "Roland Mainz" <roland.mainz at nrubsig.org>
To: "Eric Anholt" <eta at lclark.edu>
Cc: <xorg at freedesktop.org>
Sent: Wednesday, June 16, 2004 9:50 AM
Subject: Re: [Xorg] HEADSUP: DRI merged
> Eric Anholt wrote:
> >
> > OK, it's in the tree, and seems to be working. The build succeeded on
> > pdx except for http://freedesktop.org/bugzilla/show_bug.cgi?id=757
>
> I've commented in the bug...
>
> > getting in the way, and it's going successfully on local FreeBSD. I'm
> > running the same code (r200 driver) from my practice merge that was used
> > to commit the diffs, so I think things should be ok. Please report
> > build-related problems to me, or even better, bugzilla and assign them
> > to eta at lclark.edu. Other DRI issues to the standard DRI stuff in
> > bugzilla.
> >
> > Notable things this brings in, off the top of my head:
> > - Mesa 6
> > - MergedFB for Radeon!
> > - Many GLX fixes
> > - Working SiS DRI driver
> > - Major Radeon and R200 updates
> > - fbconfigs support
> > - Beginnings of pbuffer support (indirect only, and only in specific
> > circumstances).
> >
> > Notable things this doesn't bring in:
> > - Mach64 DRI support (insecure)
> > - Savage DRI support (insecure)
> >
> > Possible issues I see:
> > - MergedFB mismerges (I *think* I got it right)
> > - New DRI modules won't work with old libGL, but this shouldn't be too
> > major
> > - X86 asm issues in new DRI driver build - WORKSFORME
> > - Need i915 DDX brought over and DRI Imakefile glue
> > - It's development code, but then this is a development branch.
> > - my lack of sleep
>
> It seems that the tree does not compile anymore on SuSE8.2:
> -- snip --
> make[5]: Entering directory
> `/home/gismobile/projects/xorg/work2/xc/lib/XvMC/hw/i810'
> rm -f I810XvMC.o
> gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing -ansi
> -pedantic -Wall -Wpointer-arith -Wundef
> -I../../../../exports/include/X11 -I../../../../exports/include
> -I../../../../lib/X11 -I../../../../include/extensions
> -I../../../../programs/Xserver/hw/xfree86/common
> -I../../../../programs/Xserver/hw/xfree86/os-support
> -I../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/kernel
> -I../../../../programs/Xserver/hw/xfree86/drivers/i810 -I../../../..
> -I../../../../exports/include -Dlinux -D__i386__
> -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
> -D_XOPEN_SOURCE -D_BSD_SOURCE
> -D_SVID_SOURCE
> -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO
> -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DMALLOC_0_RETURNS_NULL
> -DTRUE=1 -DFALSE=0 -DXVENDORNAME='"The X.Org Foundation"'
> -DXVENDORNAMESHORT='"X.Org"' -fPIC I810XvMC.c
> In file included from I810XvMC.h:44,
> from I810XvMC.c:53:
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:39:17:
> drm.h: No such file or directory
> In file included from I810XvMC.h:44,
> from I810XvMC.c:53:
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:222: error:
> parse error before "drm_context_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:222:
> warning: no semicolon at end of struct or union
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:232: error:
> parse error before '}' token
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:232:
> warning: type defaults to `int' in declaration of `drmDMAReq'
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:232:
> warning: type defaults to `int' in declaration of `drmDMAReqPtr'
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:232: error:
> ISO C forbids data definition with no type or storage class
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:235: error:
> parse error before "drm_handle_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:235:
> warning: no semicolon at end of struct or union
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:239: error:
> parse error before '}' token
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:239:
> warning: type defaults to `int' in declaration of `drmRegion'
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:239:
> warning: type defaults to `int' in declaration of `drmRegionPtr'
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:239: error:
> ISO C forbids data definition with no type or storage class
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:492: error:
> parse error before "drm_magic_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:496: error:
> parse error before "drm_handle_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:516: error:
> parse error before "drm_magic_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:518: error:
> parse error before "drm_handle_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:523: error:
> parse error before "drm_handle_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:524: error:
> parse error before "drm_context_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:531: error:
> parse error before "drm_context_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:532: error:
> parse error before "drm_context_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:534: error:
> parse error before "drm_context_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:536: error:
> parse error before "drm_context_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:537: error:
> parse error before "drm_context_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:538: error:
> parse error before "drm_context_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:539: error:
> parse error before '*' token
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:539:
> warning: type defaults to `int' in declaration of
> `drmGetReservedContextList'
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:539: error:
> ISO C forbids data definition with no type or storage class
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:540: error:
> parse error before '*' token
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:541: error:
> parse error before "drm_context_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:542: error:
> parse error before "drm_context_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:543: error:
> parse error before "drm_drawable_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:544: error:
> parse error before "drm_drawable_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:555: error:
> parse error before "drm_handle_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:562: error:
> parse error before "drmDMAReqPtr"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:565: error:
> parse error before "drm_context_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:567: error:
> parse error before "drm_context_t"
> ../../../../programs/Xserver/hw/xfree86/os-support/xf86drm.h:569: error:
> parse error before "drm_context_t"
> In file included from I810XvMC.c:53:
> I810XvMC.h:89: error: parse error before "drmHandle"
> I810XvMC.h:89: warning: no semicolon at end of struct or union
> I810XvMC.h:92: error: parse error before '}' token
> I810XvMC.h:92: warning: type defaults to `int' in declaration of
> `i810XvMCDrmMap'
> I810XvMC.h:92: warning: type defaults to `int' in declaration of
> `i810XvMCDrmMapPtr'
> I810XvMC.h:92: error: ISO C forbids data definition with no type or
> storage class
> I810XvMC.h:100: error: parse error before "i810XvMCDrmMap"
> I810XvMC.h:100: warning: no semicolon at end of struct or union
> I810XvMC.h:101: warning: type defaults to `int' in declaration of
> `surfaces'
> I810XvMC.h:101: error: ISO C forbids data definition with no type or
> storage class
> I810XvMC.h:103: error: parse error before "drmcontext"
> I810XvMC.h:103: warning: type defaults to `int' in declaration of
> `drmcontext'
> I810XvMC.h:103: error: ISO C forbids data definition with no type or
> storage class
> I810XvMC.h:121: error: parse error before '}' token
> I810XvMC.h:121: warning: type defaults to `int' in declaration of
> `i810XvMCContext'
> I810XvMC.h:121: error: ISO C forbids data definition with no type or
> storage class
> I810XvMC.h:147: error: parse error before "drmHandle"
> I810XvMC.h:147: warning: no semicolon at end of struct or union
> I810XvMC.h:149: error: parse error before '*' token
> I810XvMC.h:149: warning: type defaults to `int' in declaration of
> `privContext'
> I810XvMC.h:149: error: ISO C forbids data definition with no type or
> storage class
> I810XvMC.h:150: error: parse error before '}' token
> I810XvMC.h:150: warning: type defaults to `int' in declaration of
> `i810XvMCSurface'
> I810XvMC.h:150: error: ISO C forbids data definition with no type or
> storage class
> I810XvMC.h:167: error: parse error before "drmHandle"
> I810XvMC.h:167: warning: no semicolon at end of struct or union
> I810XvMC.h:168: error: conflicting types for `offsets'
> I810XvMC.h:148: error: previous declaration of `offsets'
> I810XvMC.h:170: error: parse error before '*' token
> I810XvMC.h:170: warning: type defaults to `int' in declaration of
> `privContext'
> I810XvMC.h:170: error: ISO C forbids data definition with no type or
> storage class
> I810XvMC.h:171: error: parse error before '}' token
> I810XvMC.h:171: warning: type defaults to `int' in declaration of
> `i810XvMCSubpicture'
> I810XvMC.h:171: error: ISO C forbids data definition with no type or
> storage class
> I810XvMC.h:362: error: parse error before '*' token
> I810XvMC.h:363: error: parse error before '*' token
> I810XvMC.c:69: error: parse error before '*' token
> I810XvMC.c: In function `i810_get_free_buffer':
> I810XvMC.c:76: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:76: error: (Each undeclared identifier is reported only once
> I810XvMC.c:76: error: for each function it appears in.)
> I810XvMC.c: At top level:
> I810XvMC.c:93: error: parse error before '*' token
> I810XvMC.c: In function `i810_free_privContext':
> I810XvMC.c:95: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c: In function `XvMCCreateContext':
> I810XvMC.c:132: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:133: warning: ISO C89 forbids mixed declarations and code
> I810XvMC.c:175: error: parse error before ')' token
> I810XvMC.c: In function `XvMCDestroyContext':
> I810XvMC.c:379: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:387: error: parse error before ')' token
> I810XvMC.c: In function `XvMCCreateSurface':
> I810XvMC.c:429: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:430: error: `pI810Surface' undeclared (first use in this
> function)
> I810XvMC.c:431: warning: ISO C89 forbids mixed declarations and code
> I810XvMC.c:439: error: parse error before ')' token
> I810XvMC.c:445: error: parse error before ')' token
> I810XvMC.c:449: error: parse error before ')' token
> I810XvMC.c: In function `XvMCDestroySurface':
> I810XvMC.c:595: error: `pI810Surface' undeclared (first use in this
> function)
> I810XvMC.c:596: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:605: error: parse error before ')' token
> I810XvMC.c:609: error: parse error before ')' token
> I810XvMC.c: In function `dp':
> I810XvMC.c:712: warning: comparison between signed and unsigned
> I810XvMC.c: At top level:
> I810XvMC.c:962: error: parse error before '*' token
> I810XvMC.c: In function `dispatchYContext':
> I810XvMC.c:970: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:976: error: `privTarget' undeclared (first use in this
> function)
> I810XvMC.c:981: error: `privPast' undeclared (first use in this
> function)
> I810XvMC.c:986: error: `privFuture' undeclared (first use in this
> function)
> I810XvMC.c: In function `renderFieldinField':
> I810XvMC.c:1212: warning: comparison between signed and unsigned
> I810XvMC.c: In function `render16x8inField':
> I810XvMC.c:1322: warning: comparison between signed and unsigned
> I810XvMC.c:1346: warning: comparison between signed and unsigned
> I810XvMC.c: In function `XvMCRenderSurface':
> I810XvMC.c:2431: error: `privTarget' undeclared (first use in this
> function)
> I810XvMC.c:2432: error: `privFuture' undeclared (first use in this
> function)
> I810XvMC.c:2433: error: `privPast' undeclared (first use in this
> function)
> I810XvMC.c:2434: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:2437: warning: ISO C89 forbids mixed declarations and code
> I810XvMC.c:2451: error: parse error before ')' token
> I810XvMC.c:2458: error: parse error before ')' token
> I810XvMC.c:2481: error: parse error before ')' token
> I810XvMC.c:2509: error: parse error before ')' token
> I810XvMC.c:2521: warning: comparison between signed and unsigned
> I810XvMC.c: In function `XvMCPutSurface':
> I810XvMC.c:2824: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:2825: error: `pI810Surface' undeclared (first use in this
> function)
> I810XvMC.c:2826: warning: ISO C89 forbids mixed declarations and code
> I810XvMC.c:2853: error: parse error before ')' token
> I810XvMC.c:2854: error: parse error before ')' token
> I810XvMC.c:2901: warning: comparison between signed and unsigned
> I810XvMC.c:2906: warning: comparison between signed and unsigned
> I810XvMC.c:2911: warning: comparison between signed and unsigned
> I810XvMC.c:2916: warning: comparison between signed and unsigned
> I810XvMC.c: In function `XvMCGetSurfaceStatus':
> I810XvMC.c:3302: error: `privSurface' undeclared (first use in this
> function)
> I810XvMC.c:3303: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:3304: warning: ISO C89 forbids mixed declarations and code
> I810XvMC.c: In function `XvMCHideSurface':
> I810XvMC.c:3377: error: `pI810Surface' undeclared (first use in this
> function)
> I810XvMC.c:3378: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:3379: warning: ISO C89 forbids mixed declarations and code
> I810XvMC.c:3396: error: parse error before ')' token
> I810XvMC.c:3410: error: parse error before ')' token
> I810XvMC.c: In function `XvMCCreateSubpicture':
> I810XvMC.c:3477: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:3478: error: `pI810Subpicture' undeclared (first use in this
> function)
> I810XvMC.c:3479: warning: ISO C89 forbids mixed declarations and code
> I810XvMC.c:3487: error: parse error before ')' token
> I810XvMC.c:3501: error: parse error before ')' token
> I810XvMC.c:3506: error: parse error before ')' token
> I810XvMC.c: In function `XvMCClearSubpicture':
> I810XvMC.c:3608: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:3609: error: `pI810Subpicture' undeclared (first use in this
> function)
> I810XvMC.c:3610: warning: ISO C89 forbids mixed declarations and code
> I810XvMC.c:3619: error: parse error before ')' token
> I810XvMC.c:3621: error: parse error before ')' token
> I810XvMC.c: In function `XvMCCompositeSubpicture':
> I810XvMC.c:3664: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:3665: error: `pI810Subpicture' undeclared (first use in this
> function)
> I810XvMC.c:3666: warning: ISO C89 forbids mixed declarations and code
> I810XvMC.c:3675: error: parse error before ')' token
> I810XvMC.c:3677: error: parse error before ')' token
> I810XvMC.c: In function `XvMCDestroySubpicture':
> I810XvMC.c:3724: error: `pI810Subpicture' undeclared (first use in this
> function)
> I810XvMC.c:3725: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:3733: error: parse error before ')' token
> I810XvMC.c:3735: error: parse error before ')' token
> I810XvMC.c: In function `XvMCSetSubpicturePalette':
> I810XvMC.c:3768: error: `privSubpicture' undeclared (first use in this
> function)
> I810XvMC.c:3769: warning: ISO C89 forbids mixed declarations and code
> I810XvMC.c:3777: error: parse error before ')' token
> I810XvMC.c: In function `XvMCBlendSubpicture2':
> I810XvMC.c:3859: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:3860: error: `privSubpicture' undeclared (first use in this
> function)
> I810XvMC.c:3861: error: `privTarget' undeclared (first use in this
> function)
> I810XvMC.c:3862: error: `privSource' undeclared (first use in this
> function)
> I810XvMC.c:3863: warning: ISO C89 forbids mixed declarations and code
> I810XvMC.c:3886: error: parse error before ')' token
> I810XvMC.c:3888: error: parse error before ')' token
> I810XvMC.c:3896: error: parse error before ')' token
> I810XvMC.c:3901: error: parse error before ')' token
> I810XvMC.c: In function `XvMCGetSubpictureStatus':
> I810XvMC.c:4283: error: `privSubpicture' undeclared (first use in this
> function)
> I810XvMC.c:4284: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:4293: error: parse error before ')' token
> I810XvMC.c:4295: error: parse error before ')' token
> I810XvMC.c: In function `XvMCQueryAttributes':
> I810XvMC.c:4343: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c:4344: warning: ISO C89 forbids mixed declarations and code
> I810XvMC.c: In function `XvMCSetAttribute':
> I810XvMC.c:4399: error: `pI810XvMC' undeclared (first use in this
> function)
> I810XvMC.c: In function `XvMCGetAttribute':
> I810XvMC.c:4470: error: `pI810XvMC' undeclared (first use in this
> function)
> make[5]: *** [I810XvMC.o] Error 1
> make[5]: Leaving directory
> `/home/gismobile/projects/xorg/work2/xc/lib/XvMC/hw/i810'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory
> `/home/gismobile/projects/xorg/work2/xc/lib/XvMC'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/home/gismobile/projects/xorg/work2/xc/lib'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/gismobile/projects/xorg/work2/xc'
> make[1]: *** [World] Error 2
> make[1]: Leaving directory `/home/gismobile/projects/xorg/work2/xc'
> make: *** [World] Error 2
> -- snip --
>
> ;-(
>
> ----
>
> Bye,
> Roland
>
> P.S.: It seems that a workaround is to place |#define BuildXvExt NO|
> in xc/config/cf/host.def
>
> --
> __ . . __
> (o.\ \/ /.o) roland.mainz at nrubsig.org
> \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
> /O /==\ O\ TEL +49 641 7950090
> (;O/ \/ \O;)
>
> _______________________________________________
> xorg mailing list
> xorg at freedesktop.org
> http://freedesktop.org/mailman/listinfo/xorg
>
More information about the xorg
mailing list