Latest xf86-video-nouveau does not compile
I forgot to add the mailing list:
It changed:
CC nv50_sor.lonv50_exa.c: In function 'NV50EXACheckTexture':
nv50_exa.c:545: error: 'PICT_b8g8r8a8' undeclared (first use in this function) nv50_exa.c:545: error: (Each undeclared identifier is reported only once nv50_exa.c:545: error: for each function it appears in.) nv50_exa.c:546: error: 'PICT_b8g8r8x8' undeclared (first use in this function) nv50_exa.c: In function 'NV50EXATexture':
nv50_exa.c:645: error: 'PICT_b8g8r8x8' undeclared (first use in this function) nv50_exa.c:648: error: 'PICT_b8g8r8a8' undeclared (first use in this function) make[2]: *** [nv50_exa.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/src/packages/BUILD/xf86-video-nouveau/src' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/xf86-video-nouveau'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.6TqA5J (%build)
Am Sonntag, 3. Januar 2010 02:15:49 schrieben Maarten Maathuis:
Quoted 71 lines
Does this patch help?
Quoted 1 line
From
f1fa2e3b15e24175fb899418bbe0d587237ca797Mon Sep 17 00:00:00 2001From: Maarten Maathuis <[email protected]>
Date: Sun, 3 Jan 2010 02:14:36 +0100
Subject: [PATCH] exa: Some compat defines for depth 30 formats.Signed-off-by Maarten Maathuis <[email protected]>--- src/nv50_exa.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)src/nv50_exa.c +8
-0@@ -431,6 +431,14 @@ NV50EXAUploadSIFC(const char *src, int src_pitch,return TRUE; } +/* Compat defines for pre 1.7 xservers. */ +#ifndef PICT_a2b10g10r10 +#define PICT_a2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 2, 10, 10, 10) +#define PICT_x2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 0, 10, 10, 10) +#define PICT_a2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 2, 10, 10, 10) +#define PICT_x2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 0, 10, 10, 10) +#endif +static Bool NV50EXACheckRenderTarget (PicturePtr ppict) {Quoted 40 lines
Hi,
latest 2D driver does not compile.
libdrm and Mesa are latest git...
Johannes
CC nv50_exa.lo
nv50_exa.c: In function 'NV50EXACheckRenderTarget':
nv50_exa.c:451: error: 'PICT_a2b10g10r10' undeclared (first use in this function) nv50_exa.c:451: error: (Each undeclared identifier is reported only once nv50_exa.c:451: error: for each function it appears in.) nv50_exa.c:452: error: 'PICT_x2b10g10r10' undeclared (first use in this function) nv50_exa.c:453: error: 'PICT_a2r10g10b10' undeclared (first use in this function) nv50_exa.c:454: error: 'PICT_x2r10g10b10' undeclared (first use in this function)nv50_exa.c: In function 'NV50EXARenderTarget':
nv50_exa.c:485: error: 'PICT_a2b10g10r10' undeclared (first use in this function) nv50_exa.c:486: error: 'PICT_x2b10g10r10' undeclared (first use in this function) nv50_exa.c:489: error: 'PICT_a2r10g10b10' undeclared (first use in this function) nv50_exa.c:490: error: 'PICT_x2r10g10b10' undeclared (first use in this function)nv50_exa.c: In function 'NV50EXACheckTexture':
nv50_exa.c:537: error: 'PICT_b8g8r8a8' undeclared (first use in this function) nv50_exa.c:538: error: 'PICT_b8g8r8x8' undeclared (first use in this function) nv50_exa.c:539: error: 'PICT_a2b10g10r10' undeclared (first use in this function) nv50_exa.c:540: error: 'PICT_x2b10g10r10' undeclared (first use in this function) nv50_exa.c:541: error: 'PICT_x2r10g10b10' undeclared (first use in this function) nv50_exa.c:542: error: 'PICT_a2r10g10b10' undeclared (first use in this function)nv50_exa.c: In function 'NV50EXATexture':
nv50_exa.c:637: error: 'PICT_b8g8r8x8' undeclared (first use in this function) nv50_exa.c:640: error: 'PICT_b8g8r8a8' undeclared (first use in this function) nv50_exa.c:643: error: 'PICT_a2b10g10r10' undeclared (first use in this function) nv50_exa.c:646: error: 'PICT_x2b10g10r10' undeclared (first use in this function) nv50_exa.c:649: error: 'PICT_x2r10g10b10' undeclared (first use in this function) nv50_exa.c:652: error: 'PICT_a2r10g10b10' undeclared (first use in this function) make[2]: *** [nv50_exa.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/src/packages/BUILD/xf86-video-nouveau/src' make[1]: *** [all-recursive] Error 1
Quoted 9 lines
Quoted 8 lines
make[1]: Leaving directory `/usr/src/packages/BUILD/xf86-video-nouveau'
make: *** [all] Error 2
error: Bad exit status from/var/tmp/rpm-tmp.8bVOVF(%build)
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
-----------------------------------------
A message that is not in the archive (sent off-list or not yet received): [email protected]
Attempt 2, better?
From 061cb284b93612848296599759b915a4d66b6d01 Mon Sep 17 00:00:00 2001
From: Maarten Maathuis <[email protected]>
Date: Sun, 3 Jan 2010 02:14:36 +0100
Subject: [PATCH] exa: Some compat defines for new pixman formats.
--- src/nv50_exa.c | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-)
src/nv50_exa.c +20 -0
@@ -431,6 +431,26 @@ NV50EXAUploadSIFC(const char *src, int src_pitch,return TRUE; } +/* Compat defines for pre 1.7 xservers. */ +#ifndef PICT_a2b10g10r10 +#define PICT_a2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 2, 10, 10, 10) +#endif +#ifndef PICT_x2b10g10r10 +#define PICT_x2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 0, 10, 10, 10) +#endif +#ifndef PICT_a2r10g10b10 +#define PICT_a2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 2, 10, 10, 10) +#endif +#ifndef PICT_x2r10g10b10 +#define PICT_x2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 0, 10, 10, 10) +#endif +#ifndef PICT_b8g8r8a8 +#define PICT_b8g8r8a8 PIXMAN_FORMAT(32,PIXMAN_TYPE_BGRA,8,8,8,8) +#endif +#ifndef PICT_b8g8r8x8 +#define PICT_b8g8r8x8 PIXMAN_FORMAT(32,PIXMAN_TYPE_BGRA,0,8,8,8) +#endif +static Bool NV50EXACheckRenderTarget (PicturePtr ppict) {
Signature · 5 lines
1.6.6.rc4 On Sun, Jan 3, 2010 at 2:55 AM, Johannes Obermayr
Quoted 109 lines · <[email protected]> wrote:
I forgot to add the mailing list:
It changed:
CC nv50_sor.lo
nv50_exa.c: In function 'NV50EXACheckTexture':
nv50_exa.c:545: error: 'PICT_b8g8r8a8' undeclared (first use in this function) nv50_exa.c:545: error: (Each undeclared identifier is reported only once nv50_exa.c:545: error: for each function it appears in.) nv50_exa.c:546: error: 'PICT_b8g8r8x8' undeclared (first use in this function)nv50_exa.c: In function 'NV50EXATexture':
nv50_exa.c:645: error: 'PICT_b8g8r8x8' undeclared (first use in this function) nv50_exa.c:648: error: 'PICT_b8g8r8a8' undeclared (first use in this function) make[2]: *** [nv50_exa.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/src/packages/BUILD/xf86-video-nouveau/src' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/xf86-video-nouveau'
make: *** [all] Error 2
error: Bad exit status from/var/tmp/rpm-tmp.6TqA5J(%build)Am Sonntag, 3. Januar 2010 02:15:49 schrieben Maarten Maathuis:
Quoted 28 lines
Does this patch help?
Quoted 1 line
From
f1fa2e3b15e24175fb899418bbe0d587237ca797Mon Sep 17 00:00:00 2001From: Maarten Maathuis <[email protected]>
Date: Sun, 3 Jan 2010 02:14:36 +0100
Subject: [PATCH] exa: Some compat defines for depth 30 formats.Signed-off-by Maarten Maathuis <[email protected]>---
src/nv50_exa.c | 8 ++++++++1 files changed, 8 insertions(+), 0 deletions(-)src/nv50_exa.c +8
-0@@ -431,6 +431,14 @@ NV50EXAUploadSIFC(const char *src, int src_pitch, return TRUE; } +/* Compat defines for pre 1.7 xservers. */ +#ifndef PICT_a2b10g10r10 +#define PICT_a2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 2, 10, 10, 10) +#define PICT_x2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 0, 10, 10, 10) +#define PICT_a2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 2, 10, 10, 10) +#define PICT_x2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 0, 10, 10, 10) +#endif +Quoted 52 lines
static Bool
NV50EXACheckRenderTarget(PicturePtr ppict)
{Quoted 48 lines
Hi,
latest 2D driver does not compile.
libdrm and Mesa are latest git...
Johannes
CC nv50_exa.lo
nv50_exa.c: In function 'NV50EXACheckRenderTarget':
nv50_exa.c:451: error: 'PICT_a2b10g10r10' undeclared (first use in this function) nv50_exa.c:451: error: (Each undeclared identifier is reported only once nv50_exa.c:451: error: for each function it appears in.) nv50_exa.c:452: error: 'PICT_x2b10g10r10' undeclared (first use in this function) nv50_exa.c:453: error: 'PICT_a2r10g10b10' undeclared (first use in this function) nv50_exa.c:454: error: 'PICT_x2r10g10b10' undeclared (first use in this function)nv50_exa.c: In function 'NV50EXARenderTarget':
nv50_exa.c:485: error: 'PICT_a2b10g10r10' undeclared (first use in this function) nv50_exa.c:486: error: 'PICT_x2b10g10r10' undeclared (first use in this function) nv50_exa.c:489: error: 'PICT_a2r10g10b10' undeclared (first use in this function) nv50_exa.c:490: error: 'PICT_x2r10g10b10' undeclared (first use in this function)nv50_exa.c: In function 'NV50EXACheckTexture':
nv50_exa.c:537: error: 'PICT_b8g8r8a8' undeclared (first use in this function) nv50_exa.c:538: error: 'PICT_b8g8r8x8' undeclared (first use in this function) nv50_exa.c:539: error: 'PICT_a2b10g10r10' undeclared (first use in this function) nv50_exa.c:540: error: 'PICT_x2b10g10r10' undeclared (first use in this function) nv50_exa.c:541: error: 'PICT_x2r10g10b10' undeclared (first use in this function) nv50_exa.c:542: error: 'PICT_a2r10g10b10' undeclared (first use in this function)nv50_exa.c: In function 'NV50EXATexture':
nv50_exa.c:637: error: 'PICT_b8g8r8x8' undeclared (first use in this function) nv50_exa.c:640: error: 'PICT_b8g8r8a8' undeclared (first use in this function) nv50_exa.c:643: error: 'PICT_a2b10g10r10' undeclared (first use in this function) nv50_exa.c:646: error: 'PICT_x2b10g10r10' undeclared (first use in this function) nv50_exa.c:649: error: 'PICT_x2r10g10b10' undeclared (first use in this function) nv50_exa.c:652: error: 'PICT_a2r10g10b10' undeclared (first use in this function) make[2]: *** [nv50_exa.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/src/packages/BUILD/xf86-video-nouveau/src' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/xf86-video-nouveau'
make: *** [all] Error 2
error: Bad exit status from/var/tmp/rpm-tmp.8bVOVF(%build)
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau-----------------------------------------
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
A message that is not in the archive (sent off-list or not yet received): 6d4bc9fc1001021811k8a971fbu882b04875ae32c1c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Am Sonntag, 3. Januar 2010 03:11:51 schrieb Maarten Maathuis:
Quoted 1 line
Attempt 2, better?
Yes, it successfully compiles on openSUSE 11.2 and Factory. openSUSE 11.1 is building depend packages - but I think it will compile, too.
openSUSE users can now test your new code...
Thanks.
Johannes
Quoted 152 lines
Quoted 2 lines
From
061cb284b93612848296599759b915a4d66b6d01Mon Sep 17 00:00:00 2001From: Maarten Maathuis <[email protected]>
Date: Sun, 3 Jan 2010 02:14:36 +0100
Subject: [PATCH] exa: Some compat defines for new pixman formats.Signed-off-by Maarten Maathuis <[email protected]>--- src/nv50_exa.c | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-)src/nv50_exa.c +20
-0@@ -431,6 +431,26 @@ NV50EXAUploadSIFC(const char *src, int src_pitch,return TRUE; } +/* Compat defines for pre 1.7 xservers. */ +#ifndef PICT_a2b10g10r10 +#define PICT_a2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 2, 10, 10, 10) +#endif +#ifndef PICT_x2b10g10r10 +#define PICT_x2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 0, 10, 10, 10) +#endif +#ifndef PICT_a2r10g10b10 +#define PICT_a2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 2, 10, 10, 10) +#endif +#ifndef PICT_x2r10g10b10 +#define PICT_x2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 0, 10, 10, 10) +#endif +#ifndef PICT_b8g8r8a8 +#define PICT_b8g8r8a8 PIXMAN_FORMAT(32,PIXMAN_TYPE_BGRA,8,8,8,8) +#endif +#ifndef PICT_b8g8r8x8 +#define PICT_b8g8r8x8 PIXMAN_FORMAT(32,PIXMAN_TYPE_BGRA,0,8,8,8) +#endif +static Bool NV50EXACheckRenderTarget (PicturePtr ppict) {Quoted 109 lines
I forgot to add the mailing list:
It changed:
CC nv50_sor.lo
nv50_exa.c: In function 'NV50EXACheckTexture':
nv50_exa.c:545: error: 'PICT_b8g8r8a8' undeclared (first use in this function) nv50_exa.c:545: error: (Each undeclared identifier is reported only once nv50_exa.c:545: error: for each function it appears in.) nv50_exa.c:546: error: 'PICT_b8g8r8x8' undeclared (first use in this function)nv50_exa.c: In function 'NV50EXATexture':
nv50_exa.c:645: error: 'PICT_b8g8r8x8' undeclared (first use in this function) nv50_exa.c:648: error: 'PICT_b8g8r8a8' undeclared (first use in this function) make[2]: *** [nv50_exa.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/src/packages/BUILD/xf86-video-nouveau/src' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/xf86-video-nouveau'
make: *** [all] Error 2
error: Bad exit status from/var/tmp/rpm-tmp.6TqA5J(%build)Am Sonntag, 3. Januar 2010 02:15:49 schrieben Maarten Maathuis:
Quoted 71 lines
Does this patch help?
Quoted 1 line
From
f1fa2e3b15e24175fb899418bbe0d587237ca797Mon Sep 17 00:00:00 2001From: Maarten Maathuis <[email protected]>
Date: Sun, 3 Jan 2010 02:14:36 +0100
Subject: [PATCH] exa: Some compat defines for depth 30 formats.Signed-off-by Maarten Maathuis <[email protected]>--- src/nv50_exa.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)src/nv50_exa.c +8
-0@@ -431,6 +431,14 @@ NV50EXAUploadSIFC(const char *src, int src_pitch,return TRUE; } +/* Compat defines for pre 1.7 xservers. */ +#ifndef PICT_a2b10g10r10 +#define PICT_a2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 2, 10, 10, 10) +#define PICT_x2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 0, 10, 10, 10) +#define PICT_a2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 2, 10, 10, 10) +#define PICT_x2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 0, 10, 10, 10) +#endif +static Bool NV50EXACheckRenderTarget (PicturePtr ppict) {Quoted 40 lines
Hi,
latest 2D driver does not compile.
libdrm and Mesa are latest git...
Johannes
CC nv50_exa.lo
nv50_exa.c: In function 'NV50EXACheckRenderTarget':
nv50_exa.c:451: error: 'PICT_a2b10g10r10' undeclared (first use in this function) nv50_exa.c:451: error: (Each undeclared identifier is reported only once nv50_exa.c:451: error: for each function it appears in.) nv50_exa.c:452: error: 'PICT_x2b10g10r10' undeclared (first use in this function) nv50_exa.c:453: error: 'PICT_a2r10g10b10' undeclared (first use in this function) nv50_exa.c:454: error: 'PICT_x2r10g10b10' undeclared (first use in this function)nv50_exa.c: In function 'NV50EXARenderTarget':
nv50_exa.c:485: error: 'PICT_a2b10g10r10' undeclared (first use in this function) nv50_exa.c:486: error: 'PICT_x2b10g10r10' undeclared (first use in this function) nv50_exa.c:489: error: 'PICT_a2r10g10b10' undeclared (first use in this function) nv50_exa.c:490: error: 'PICT_x2r10g10b10' undeclared (first use in this function)nv50_exa.c: In function 'NV50EXACheckTexture':
nv50_exa.c:537: error: 'PICT_b8g8r8a8' undeclared (first use in this function) nv50_exa.c:538: error: 'PICT_b8g8r8x8' undeclared (first use in this function) nv50_exa.c:539: error: 'PICT_a2b10g10r10' undeclared (first use in this function) nv50_exa.c:540: error: 'PICT_x2b10g10r10' undeclared (first use in this function) nv50_exa.c:541: error: 'PICT_x2r10g10b10' undeclared (first use in this function) nv50_exa.c:542: error: 'PICT_a2r10g10b10' undeclared (first use in this function)nv50_exa.c: In function 'NV50EXATexture':
nv50_exa.c:637: error: 'PICT_b8g8r8x8' undeclared (first use in this function) nv50_exa.c:640: error: 'PICT_b8g8r8a8' undeclared (first use in this function) nv50_exa.c:643: error: 'PICT_a2b10g10r10' undeclared (first use in this function) nv50_exa.c:646: error: 'PICT_x2b10g10r10' undeclared (first use in this function) nv50_exa.c:649: error: 'PICT_x2r10g10b10' undeclared (first use in this function) nv50_exa.c:652: error: 'PICT_a2r10g10b10' undeclared (first use in this function) make[2]: *** [nv50_exa.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/src/packages/BUILD/xf86-video-nouveau/src' make[1]: *** [all-recursive] Error 1Quoted 9 lines
Quoted 8 lines
make[1]: Leaving directory `/usr/src/packages/BUILD/xf86-video-nouveau'
make: *** [all] Error 2
error: Bad exit status from/var/tmp/rpm-tmp.8bVOVF(%build)
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau-----------------------------------------
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau