Skip to contentSkip to conversation

New: r600_texstate.c:1119: error: '__DRM_TEXTURE_FORMAT_RGBA' undeclared

Bug 26502 [email protected] 1 participant 3 messages Feb 10, 2010

lore
Share & tools
lore
#0 lore raw

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

Summary: r600_texstate.c:1119: error: '__DRM_TEXTURE_FORMAT_RGBA'
undeclared
Product: Mesa
Version: git
Platform: All
OS/Version: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Drivers/DRI/R600
AssignedTo: [email protected]
ReportedBy: [email protected]

I'm trying to update mesa from git. I ran git pull --rebase, autogen.sh & make clean before compiling (ditto for drm).

Here's the log:

/usr/bin/gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mesa -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri
-I/usr/include/drm -march=native -msse2 -mfpmath=sse -O3 -ffast-math
-funroll-loops -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -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_LIBDRM_RADEON=1 -I/usr/include/drm
-DRADEON_R600 r600_texstate.c -o r600_texstate.o
r600_texstate.c: In function 'r600SetTexBuffer':
r600_texstate.c:1119: error: '__DRM_TEXTURE_FORMAT_RGBA' undeclared (first use in this function)
r600_texstate.c:1119: error: (Each undeclared identifier is reported only once r600_texstate.c:1119: error: for each function it appears in.) gmake[6]: *** [r600_texstate.o] Error 1

grep -R DRM_TEXTURE_FORMAT_RGBA * shows:

src/mesa/drivers/dri/r600/r600_texstate.c: r600SetTexBuffer2(pDRICtx,
target, __DRM_TEXTURE_FORMAT_RGBA, dPriv);

and in drm yields nothing.

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

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#1 lore raw

[Bug 26502] r600_texstate.c:1119: error: '__DRM_TEXTURE_FORMAT_RGBA' undeclared

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

Vinson Lee <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Vinson Lee <[email protected]> 2010-02-10 01:06:33 PST --- *** Bug 26503 has been marked as a duplicate of this bug. ***

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

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#2 lore raw

[Bug 26502] r600_texstate.c:1119: error: '__DRM_TEXTURE_FORMAT_RGBA' undeclared

In reply to [email protected]

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

Rafał Miłecki <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #2 from Rafał Miłecki <[email protected]> 2010-02-10 04:03:03 PST ---

*** This bug has been marked as a duplicate of bug 26497 ***

Signature · 12 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel