Just checked out Mesa from CVS and attempted a build. It fails in src/mesa/drivers/dri/r200 -- portion of build log below.

It appears that there are two files named 'radeon.h' in the -I dirs for the build of r200_dri.c. One is the one we need, but the other is in the drm folders. The drm folder (../../../../../../drm/shared) appears first on the command line, hence it is picked up. Its not the right file, though, so the build fails (but there's no indication of a missing .h file).

I had a CVS checkout from a couple weeks ago and there was a change in the Makefile in src/mesa/drivers/dri/r200. I tried to replace the 'suspect' Makefile with the Makefile from my old CVS, but that build fails with a different error -- which refers to a DRM_* macro.

It would appear that BOTH 'radeon.h' files are required (somewhere) in this build, but only one gets picked up. What has changed?



Dan




--------------------------

Command line from build using today's CVS

make linux-solo-x86

---- cut -----
gcc -c -I../../../../../src/glx/mini -I../../../../../../drm/shared -I../../../.
./../../drm/libdrm -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I.
./../../../../../drm/shared -I../../../../../../drm/linux -I../../../../../inclu
de -I../../../../../include/GL/internal -I../../../../../src/mesa -I../../../../
../src/mesa/main -I../../../../../src/mesa/glapi -I../../../../../src/mesa/math
-I../../../../../src/mesa/transform -I../../../../../src/mesa/shader -I../../../
../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup -I../radeon/server
-DDRI_NEW_INTERFACE_ONLY -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C
_SOURCE=199309L -D_GNU_SOURCE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_
SSE_ASM -DPTHREADS -Wmissing-prototypes -O3 -g -std=c99 -Wundef -fPIC -ffast-mat
h -DGLX_DIRECT_RENDERING server/radeon_dri.c -o server/radeon_dri.o
server/radeon_dri.c: In function `RADEONEngineRestore':
server/radeon_dri.c:160: error: `RADEONInfoPtr' undeclared (first use in this fu
nction)
server/radeon_dri.c:160: error: (Each undeclared identifier is reported only onc
e


---------------------------------------------------------------------------

Command line from build using today's CVS (with older makefile src/mesa/drivers/dri/r200/Makefile)

make linux-solo-x86

---- cut -----


gcc -c -I../../../../../src/glx/mini -I../../../../../../drm/shared -I../../../.
./../../drm/libdrm -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I.
./../../../../../drm/shared -I../../../../../../drm/linux -I../../../../../inclu
de -I../../../../../include/GL/internal -I../../../../../src/mesa -I../../../../
../src/mesa/main -I../../../../../src/mesa/glapi -I../../../../../src/mesa/math
-I../../../../../src/mesa/transform -I../../../../../src/mesa/shader -I../../../
../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup -DDRI_NEW_INTERFACE
_ONLY -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L -D_
GNU_SOURCE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS
-Wmissing-prototypes -O3 -g -std=c99 -Wundef -fPIC -ffast-math -DGLX_DIRECT_REND
ERING server/radeon_dri.c -o server/radeon_dri.o
server/radeon_dri.c: In function `RADEONDRIPciInit':
server/radeon_dri.c:447: error: `DRM_PAGE_SIZE' undeclared (first use in this fu
nction)





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to