[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems with dri-trunk on a ibook G4

I want to enable de video-out on my ibook G4.

Looking at google I have seen that's is needed to patch the
xfree-dri-trunk, so I did it and build it.

The problem comes with the drm-trunk-module-src package.

This package install the source code of some modules in
/usr/src/modules. I tried to build that modules using make-kpkg
(make-kpkg modules-image).

When the modules are compiling, I get an error, this is the related

make[4]: Entering directory `/usr/src/kernel-source-2.6.7'
  CC [M]  /usr/src/modules/drm-trunk/gamma_drv.o
In file included from /usr/src/modules/drm-trunk/gamma_drv.c:46:
/usr/src/modules/drm-trunk/drm_drv.h: In function `gamma_release':
/usr/src/modules/drm-trunk/drm_drv.h:916: warning: implicit declaration
of function `gamma_ctxbitmap_free'
In file included from /usr/src/modules/drm-trunk/gamma_drv.c:57:
/usr/src/modules/drm-trunk/drm_vm.h: In function `gamma_do_vm_nopage':
/usr/src/modules/drm-trunk/drm_vm.h:104: error: structure has no member
named `count'

Actually I'm using a 2.6.7 kernel, but I have tried with other kernel

Gcc is 3.3, but error appear if I use the 3.4 too.

Anyone have suscefully compiled them?

If I tried to launch the Xfree-dri-trunk without compile that modules, I
get unresolved simbols on the radeon_drv.o module and more error on
other things like libGL.

David Rodriguez Alvarez <david@asturlinux.org>

Reply to: