> I have a big problem, because the compilation of the mach64 module runs into
> some errors.
>
> Here is the output of make using this command: make
> LINUXDIR=/usr/src/kernel-source-2.6.6 DRM_MODULES="mach64" 2> error.log

have you actually build the kernel? it you built the kernel using
O=/path/to/somewhere/else, I'm not sure how well the DRM makefiles handle
this yet,

you made to change the drm Makefile to do an
O=somewhere

Dave.

 >
> content of the error.log:
> In file included from /usr/src/laptop/drm/linux/mach64_drv.c:32:
> /usr/src/laptop/drm/linux/drmP.h:54:27: linux/version.h: No such file or
> directory
> /usr/src/laptop/drm/linux/drmP.h:72:40: missing binary operator before token
> "("
> In file included from /usr/src/laptop/drm/linux/drmP.h:86,
>                  from /usr/src/laptop/drm/linux/mach64_drv.c:32:
> /usr/src/laptop/drm/linux/drm_os_linux.h:47:40: missing binary operator
> before token "("
> In file included from /usr/src/laptop/drm/linux/mach64_drv.c:32:
> /usr/src/laptop/drm/linux/drmP.h:213:40: missing binary operator before
> token "("
> /usr/src/laptop/drm/linux/drmP.h:238:40: missing binary operator before
> token "("
> In file included from /usr/src/laptop/drm/linux/mach64_drv.c:39:
> /usr/src/laptop/drm/linux/drm_bufs.h: In function `mach64_mapbufs':
> /usr/src/laptop/drm/linux/drm_bufs.h:1232: warning: passing arg 1 of `down'
> >from incompatible pointer type
> /usr/src/laptop/drm/linux/drm_bufs.h:1241: warning: passing arg 1 of `up'
> >from incompatible pointer type
> /usr/src/laptop/drm/linux/drm_bufs.h:1247: warning: passing arg 1 of `down'
> >from incompatible pointer type
> /usr/src/laptop/drm/linux/drm_bufs.h:1255: warning: passing arg 1 of `up'
> >from incompatible pointer type
> In file included from /usr/src/laptop/drm/linux/mach64_drv.c:49:
> /usr/src/laptop/drm/linux/drm_memory.h:63:40: missing binary operator before
> token "("
> In file included from /usr/src/laptop/drm/linux/mach64_drv.c:52:
> /usr/src/laptop/drm/linux/drm_vm.h:299:40: missing binary operator before
> token "("
> In file included from /usr/src/laptop/drm/linux/mach64_drv.c:52:
> /usr/src/laptop/drm/linux/drm_vm.h: At top level:
> /usr/src/laptop/drm/linux/drm_vm.h:360: warning: initialization from
> incompatible pointer type
> /usr/src/laptop/drm/linux/drm_vm.h:367: warning: initialization from
> incompatible pointer type
> /usr/src/laptop/drm/linux/drm_vm.h:374: warning: initialization from
> incompatible pointer type
> /usr/src/laptop/drm/linux/drm_vm.h:381: warning: initialization from
> incompatible pointer type
> make[2]: *** [/usr/src/laptop/drm/linux/mach64_drv.o] Error 1
> make[1]: *** [/usr/src/laptop/drm/linux] Error 2
> make: *** [modules] Error 2
>
>
>
>
> I have Debian unstable and an ATI Technologies Inc 3D Rage LT Pro AGP-133
> [lspci].
> Because I don't have the mach64 kernel module, Xfree86 tells me:
> [drm] failed to load kernel module "mach64"
> (II) ATI(0): [drm] drmOpen failed
>
> Hope that somebody can help me,
>
> Matong
>
>

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DECstation / Linux VAX / ILUG person



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to