|
|
发表于 2009-7-20 13:51:21
|
显示全部楼层
我使用的是kernel26-git 2.6.31rc1,可以开启KMS,不过有KMS的时候是没办法开启3D的。
7月2日左右的git版本的libdrm,mesa,xf86-video-ati配合可以开启KMS+3D。
现在mesa怎么都不能通过编译。libdrm和xf86-video-ati都可以通过编译
2.6.31rc3内核 没办法打utf8字符补丁
mesa编译错误 git版本也好,7.5也好,都是类似的错误)
- gcc -c -I. -I../../../../../../src/gallium/include -I../../../../../../src/gallium/auxiliary -I../../../../../../src/gallium/drivers -I/src/gallium/include -I/src/gallium/auxiliary -I/src/gallium/drivers -I../../../../../../src/gallium/drivers/r300 -I/usr/include/drm -march=k8-sse3 -mtune=generic -O2 -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS radeon_r300.c -o radeon_r300.o
- radeon_r300.c: In function ‘radeon_r300_validate’:
- [b]radeon_r300.c:60: error: too many arguments to function ‘radeon_cs_space_check’[/b]
- radeon_r300.c: In function ‘do_ioctls’:
- radeon_r300.c:153: warning: implicit declaration of function ‘drmCommandWriteRead’
- radeon_r300.c: In function ‘radeon_create_r300_winsys’:
- radeon_r300.c:198: warning: implicit declaration of function ‘radeon_cs_manager_gem_ctor’
- radeon_r300.c:198: warning: assignment makes pointer from integer without a cast
- make[5]: *** [radeon_r300.o] Error 1
- make[5]: *** Waiting for unfinished jobs....
- radeon_drm.c: In function ‘radeon_create_screen’:
- radeon_drm.c:44: warning: implicit declaration of function ‘r300_create_screen’
- radeon_drm.c:44: warning: return makes pointer from integer without a cast
- radeon_drm.c: In function ‘radeon_create_context’:
- radeon_drm.c:54: warning: passing argument 2 of ‘r300_create_context’ from incompatible pointer type
- ../../../../../../src/gallium/drivers/r300/r300_winsys.h:97: note: expected ‘struct r300_winsys *’ but argument is of type ‘struct pipe_winsys *’
- In file included from radeon_drm.h:41,
- from radeon_buffer.h:47,
- from radeon_buffer.c:34:
- radeon_r300.h:35: warning: ‘struct radeon_winsys’ declared inside parameter list
- radeon_r300.h:35: warning: its scope is only this definition or declaration, which is probably not what you want
- radeon_buffer.c: In function ‘radeon_pipe_winsys’:
- radeon_buffer.c:178: warning: implicit declaration of function ‘radeon_bo_manager_gem_ctor’
- radeon_buffer.c:178: warning: assignment makes pointer from integer without a cast
- radeon_buffer.c:165: warning: unused variable ‘bom’
- make[5]: Leaving directory `/home/lh/ABS/system/ATI/mesa/src/Mesa-7.5/src/gallium/winsys/drm/radeon/core'
- make[4]: *** [default] Error 1
- make[4]: Leaving directory `/home/lh/ABS/system/ATI/mesa/src/Mesa-7.5/src/gallium/winsys/drm/radeon'
- make[3]: *** [default] Error 1
- make[3]: Leaving directory `/home/lh/ABS/system/ATI/mesa/src/Mesa-7.5/src/gallium/winsys/drm'
- make[2]: *** [default] Error 1
- make[2]: Leaving directory `/home/lh/ABS/system/ATI/mesa/src/Mesa-7.5/src/gallium/winsys'
- make[1]: *** [subdirs] Error 1
- make[1]: Leaving directory `/home/lh/ABS/system/ATI/mesa/src/Mesa-7.5/src'
- make: *** [default] Error 1
复制代码 |
|