Bug 26502 - r600_texstate.c:1119: error: '__DRM_TEXTURE_FORMAT_RGBA' undeclared
Summary: r600_texstate.c:1119: error: '__DRM_TEXTURE_FORMAT_RGBA' undeclared
Status: RESOLVED DUPLICATE of bug 26497
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/R600 (show other bugs)
Version: git
Hardware: All Linux (All)
: medium critical
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-09 18:57 UTC by David Ronis
Modified: 2010-02-10 04:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description David Ronis 2010-02-09 18:57:05 UTC
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.
Comment 1 Vinson Lee 2010-02-10 01:06:33 UTC
*** Bug 26503 has been marked as a duplicate of this bug. ***
Comment 2 Rafał Miłecki 2010-02-10 04:03:03 UTC

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


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.