From: Cooper Y. <coo...@gm...> - 2009-10-11 07:27:32
|
Try to pull the latest mesa/drm. Cooper On Sat, Oct 10, 2009 at 7:09 PM, Arthur Marsh <art...@in... > wrote: > Hi, I did an apt-get source mesa and obtained the 7.6 sources, then > added r600 into debian/rules and attempted to build, but it failed at > this stage: > > 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 -Wall -g -O2 -Wall -Wmissing-prototypes -std=c99 > -ffast-math -fno-strict-aliasing -fPIC -DUSE_X86_64_ASM -D_GNU_SOURCE > -DPTHREADS -DHAVE_POSIX_MEMALIGN -DGLX_USE_TLS -DPTHREADS > -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING > -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DCOMPILE_R600 -DR200_MERGED=0 > -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R600 r600_cmdbuf.c -o r600_cmdbuf.o > r600_cmdbuf.c: In function ‘r600_cs_emit’: > r600_cmdbuf.c:331: error: storage size of ‘cs_cmd’ isn’t known > r600_cmdbuf.c:332: error: array type has incomplete element type > r600_cmdbuf.c:353: error: ‘RADEON_CHUNK_ID_IB’ undeclared (first use in > this function) > r600_cmdbuf.c:353: error: (Each undeclared identifier is reported only once > r600_cmdbuf.c:353: error: for each function it appears in.) > r600_cmdbuf.c:358: error: ‘RADEON_CHUNK_ID_RELOCS’ undeclared (first use > in this function) > r600_cmdbuf.c:373: error: ‘DRM_RADEON_CS’ undeclared (first use in this > function) > r600_cmdbuf.c:332: warning: unused variable ‘cs_chunk’ > r600_cmdbuf.c:331: warning: unused variable ‘cs_cmd’ > make[6]: *** [r600_cmdbuf.o] Error 1 > make[6]: Leaving directory > > `/usr/src/sound/mesa-7.6/obj-x86_64-linux-gnu/dri/src/mesa/drivers/dri/r600' > make[5]: *** [subdirs] Error 1 > make[5]: Leaving directory > `/usr/src/sound/mesa-7.6/obj-x86_64-linux-gnu/dri/src/mesa/drivers/dri' > make[4]: *** [default] Error 1 > make[4]: Leaving directory > `/usr/src/sound/mesa-7.6/obj-x86_64-linux-gnu/dri/src/mesa/drivers' > make[3]: *** [driver_subdirs] Error 2 > make[3]: Leaving directory > `/usr/src/sound/mesa-7.6/obj-x86_64-linux-gnu/dri/src/mesa' > make[2]: *** [subdirs] Error 1 > make[2]: Leaving directory > `/usr/src/sound/mesa-7.6/obj-x86_64-linux-gnu/dri/src' > make[1]: *** [default] Error 1 > make[1]: Leaving directory > `/usr/src/sound/mesa-7.6/obj-x86_64-linux-gnu/dri' > make: *** [debian/stamp/x86_64-linux-gnu-build-dri] Error 2 > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > debuild: fatal error at line 1324: > dpkg-buildpackage -rfakeroot -D -us -uc -nc failed > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Mesa3d-users mailing list > Mes...@li... > https://lists.sourceforge.net/lists/listinfo/mesa3d-users > |