I'm having some trouble getting this going. I've done the other stuff and now I'm building mesa.
Code:
-g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_LIBDRM_RADEON=1 -I/usr/include/drm -DRADEON_R600 radeon_screen.c -o radeon_screen.o
In file included from radeon_bocs_wrapper.h:8,
from radeon_common_context.h:20,
from radeon_common.h:4,
from radeon_screen.c:49:
/usr/include/drm/radeon_cs.h: In function ‘radeon_cs_set_limit’:
/usr/include/drm/radeon_cs.h:181: error: ‘RADEON_GEM_DOMAIN_VRAM’ undeclared (first use in this function)
/usr/include/drm/radeon_cs.h:181: error: (Each undeclared identifier is reported only once
/usr/include/drm/radeon_cs.h:181: error: for each function it appears in.)
radeon_screen.c: In function ‘radeonGetParam’:
radeon_screen.c:235: error: variable ‘info’ has initializer but incomplete type
radeon_screen.c:235: warning: excess elements in struct initializer
radeon_screen.c:235: warning: (near initialization for ‘info’)
radeon_screen.c:235: error: storage size of ‘info’ isn’t known
radeon_screen.c:240: error: ‘RADEON_PARAM_DEVICE_ID’ undeclared (first use in this function)
radeon_screen.c:241: error: ‘RADEON_INFO_DEVICE_ID’ undeclared (first use in this function)
radeon_screen.c:244: error: ‘RADEON_INFO_NUM_GB_PIPES’ undeclared (first use in this function)
radeon_screen.c:246: error: ‘RADEON_PARAM_NUM_Z_PIPES’ undeclared (first use in this function)
radeon_screen.c:247: error: ‘RADEON_INFO_NUM_Z_PIPES’ undeclared (first use in this function)
radeon_screen.c:252: error: ‘DRM_RADEON_INFO’ undeclared (first use in this function)
radeon_screen.c:235: warning: unused variable ‘info’
radeon_screen.c: In function ‘radeonCreateScreen’:
radeon_screen.c:1155: error: ‘RADEON_PARAM_NUM_Z_PIPES’ undeclared (first use in this function)
radeon_screen.c: In function ‘radeonCreateScreen2’:
radeon_screen.c:1299: error: ‘RADEON_PARAM_DEVICE_ID’ undeclared (first use in this function)
radeon_screen.c:1361: error: ‘RADEON_PARAM_NUM_Z_PIPES’ undeclared (first use in this function)
make[5]: *** [radeon_screen.o] Error 1
Any idea what might be causing it?
--Matt
Bookmarks