http://bugs.freedesktop.org/show_bug.cgi?id=22525

           Summary: DRM from git not building properly
           Product: DRI
           Version: XFree86 4.4.0
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: libdrm
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Hi to all,
         I'm currently using Fedora Rawhide.I compile D.R.M,Mesa and the
nouveau source code from git.

The Mesa and Nouveau source code is building fine,but I'm having trouble
building D.R.M

The problem is that I can do ./configure,make and make install fine,but when I
do make -C linux-core to build the modules for my kernel,I get this error:

[r...@mernivia drm]# make -C linux-core
make: Entering directory `/opt/drm/linux-core'
make -C /lib/modules/2.6.31-0.33.rc1.git2.fc12.i686.PAE/source 
SUBDIRS=`/bin/pwd` DRMSRCDIR=`/bin/pwd` modules
make[1]: Entering directory
`/usr/src/kernels/2.6.31-0.33.rc1.git2.fc12.i686.PAE'
  CC [M]  /opt/drm/linux-core/drm_auth.o
  CC [M]  /opt/drm/linux-core/drm_bufs.o
/opt/drm/linux-core/drm_bufs.c: In function ‘drm_rmmap_locked’:
/opt/drm/linux-core/drm_bufs.c:402: warning: enumeration value ‘_DRM_GEM’
not handled in switch
  CC [M]  /opt/drm/linux-core/drm_context.o
  CC [M]  /opt/drm/linux-core/drm_dma.o
  CC [M]  /opt/drm/linux-core/drm_drawable.o
  CC [M]  /opt/drm/linux-core/drm_drv.o
  CC [M]  /opt/drm/linux-core/drm_fops.o
  CC [M]  /opt/drm/linux-core/drm_ioctl.o
  CC [M]  /opt/drm/linux-core/drm_irq.o
  CC [M]  /opt/drm/linux-core/drm_lock.o
  CC [M]  /opt/drm/linux-core/drm_memory.o
/opt/drm/linux-core/drm_memory.c: In function ‘agp_remap’:
/opt/drm/linux-core/drm_memory.c:286: error: ‘struct agp_memory’ has no
member named ‘memory’
make[2]: *** [/opt/drm/linux-core/drm_memory.o] Error 1
make[1]: *** [_module_/opt/drm/linux-core] Error 2
make[1]: Leaving directory
`/usr/src/kernels/2.6.31-0.33.rc1.git2.fc12.i686.PAE'
make: *** [modules] Error 2
make: Leaving directory `/opt/drm/linux-core'

Could somebody tell me if it is the D.R.M code itself,or is it more to do with
the kernel? I'm a little confused.I hope somebody can provide a patch to the
git version of D.R.M or hope that the Fedora Developers can apply the patch to
their kernel.

Regards,
       STEVE555


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to