Vladimir Dergachev wrote:


On Thu, 3 Feb 2005, Jacob Gorm Hansen wrote:

hi, trying to compile mesa with the r300 driver I get the following error:

r200_ioctl.c: In function `r200PageFlip':
r200_ioctl.c:571: error: structure has no member named `tiling_enabled'
r200_ioctl.c: In function `r200Clear':
r200_ioctl.c:635: error: `RADEON_USE_COMP_ZBUF' undeclared (first use in
this function)
r200_ioctl.c:635: error: (Each undeclared identifier is reported only once
r200_ioctl.c:635: error: for each function it appears in.)
r200_ioctl.c:641: error: `RADEON_CLEAR_FASTZ' undeclared (first use in
this function)


My mesa i from the CVS HEAD, and I have tried both the HEAD and
jump_and_click branches of r300.


Go to Mesa/configs/linux-dri and remove r200, radeon and savage drivers from it.


I still get an error in r300, using the freedesktop drm:


gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I/root/drm/shared-core -I../../../../../include -
I../../../../../include/GL/internal -I../../../../../src/mesa -I../../../../../src/mesa/main -I../../../../../src/m
esa/glapi -I../../../../../src/mesa/math -I../../../../../src/mesa/transform -I../../../../../src/mesa/shader -I../
../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup -I../dri_client -I../dri_client/imports -Wall -O
-g -std=c99 -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURC
E -DDRI_NEW_INTERFACE_ONLY -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DCOMPILE_R300 -DGLX_DIRECT_RENDERING -D_POSIX_SOU
RCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DDRI_NEW_INTERFACE_ONLY -DPTHREADS -DUSE_
EXTERNAL_DXTN_LIB=1 -DCOMPILE_R300 -DGLX_DIRECT_RENDERING r300_ioctl.c -o r300_ioctl.o
In file included from r300_ioctl.c:54:
r300_emit.h: In function `cmducs':
r300_emit.h:67: error: `drm_r300_cmd_header_t' undeclared (first use in this function)
r300_emit.h:67: error: (Each undeclared identifier is reported only once
r300_emit.h:67: error: for each function it appears in.)
r300_emit.h:67: error: syntax error before "cmd"
r300_emit.h:69: error: `cmd' undeclared (first use in this function)
r300_emit.h:69: error: `R300_CMD_UNCHECKED_STATE' undeclared (first use in this function)
r300_emit.h: In function `cmdvpu':
r300_emit.h:79: error: `drm_r300_cmd_header_t' undeclared (first use in this function)
r300_emit.h:79: error: syntax error before "cmd"
r300_emit.h:81: error: `cmd' undeclared (first use in this function)
r300_emit.h:81: error: `R300_CMD_VPU' undeclared (first use in this function)
r300_emit.h: In function `cmdpacket3':
r300_emit.h:91: error: `drm_r300_cmd_header_t' undeclared (first use in this function)
r300_emit.h:91: error: syntax error before "cmd"
r300_emit.h:93: error: `cmd' undeclared (first use in this function)
r300_emit.h:93: error: `R300_CMD_PACKET3' undeclared (first use in this function)
r300_emit.h: In function `cmdcpdelay':
r300_emit.h:101: error: `drm_r300_cmd_header_t' undeclared (first use in this function)
r300_emit.h:101: error: syntax error before "cmd"
r300_emit.h:103: error: `cmd' undeclared (first use in this function)
r300_emit.h:103: error: `R300_CMD_CP_DELAY' undeclared (first use in this function)
r300_emit.h: In function `end_3d':
r300_emit.h:191: error: `R300_CMD_END3D' undeclared (first use in this function)
r300_emit.h:185: warning: unused variable `cmd_reserved'
r300_emit.h:185: warning: unused variable `cmd_written'
r300_emit.h: In function `cp_delay':
r300_emit.h:196: warning: unused variable `cmd_reserved'
r300_emit.h:196: warning: unused variable `cmd_written'
r300_emit.h: In function `fire_AOS':
r300_emit.h:211: error: `R300_CMD_PACKET3_RAW' undeclared (first use in this function)
r300_ioctl.c: In function `r300ClearBuffer':
r300_ioctl.c:69: error: `drm_r300_cmd_header_t' undeclared (first use in this function)
r300_ioctl.c:69: error: `cmd2' undeclared (first use in this function)
r300_ioctl.c:88: error: syntax error before ')' token
r300_ioctl.c:92: error: syntax error before ')' token
r300_ioctl.c:144: error: syntax error before ')' token
r300_ioctl.c:171: error: syntax error before ')' token
r300_ioctl.c:172: error: syntax error before ')' token
r300_ioctl.c:173: error: syntax error before ')' token
r300_ioctl.c:174: error: syntax error before ')' token
r300_ioctl.c:192: error: syntax error before ')' token
r300_ioctl.c:236: error: syntax error before ')' token
r300_ioctl.c:237: error: `R300_CMD_PACKET3' undeclared (first use in this function)
r300_ioctl.c:238: error: `R300_CMD_PACKET3_CLEAR' undeclared (first use in this function)
r300_ioctl.c: In function `r300RefillCurrentDmaRegion':
r300_ioctl.c:380: warning: passing arg 1 of `r200FlushCmdBufLocked' from incompatible pointer type
r300_ioctl.c:395: warning: assignment from incompatible pointer type
r300_ioctl.c:399: warning: assignment from incompatible pointer type
make[6]: *** [r300_ioctl.o] Error 1
make[6]: Leaving directory `/root/Mesa/src/mesa/drivers/dri/r300'
make[5]: *** [subdirs] Error 1
make[5]: Leaving directory `/root/Mesa/src/mesa/drivers/dri'
make[4]: *** [drivers-dri] Error 2
make[4]: Leaving directory `/root/Mesa/src/mesa'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/root/Mesa/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/root/Mesa/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/root/Mesa'
make: *** [linux-dri] Error 2



/Jacob


------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to