Roland Scheidegger wrote:

For the Mesa radeon and r200 driver, you need a very recent drm from dri.freedesktop.org. I've no idea what's in the drm from r300_driver, but it might be possible it does not contain all recent changes of the drm from dri.freedesktop.org.

With the latest drm (CVS HEAD) and the latest r300_driver (CVS HEAD), and Mesa from dri.freedesktop.org/cvs/mesa, I get:


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 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -std=c99 -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOUR
CE=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 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_G
NU_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-x86] Error 2


Any hints?

Best,
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 [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to