Gentoo Archives: gentoo-amd64

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] x11-drm-20051223 failure - `SPIN_LOCK_UNLOCKED' undeclared
Date: Wed, 11 Jan 2006 23:30:55
   I'm running a non-Gentoo 2.6.15 kernel with realtime support. I ran
into this problem with x11-drm:

make -C /usr/src/linux  SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.15-rt2'
  CC [M]  /var/tmp/portage/x11-drm-20051223/work/drm/linux-core/drm_auth.o
/var/tmp/portage/x11-drm-20051223/work/drm/linux-core/drm_auth.c: In
function `drm_getmagic':
error: `SPIN_LOCK_UNLOCKED' undeclared (first use in this function)
error: (Each undeclared identifier is reported only once
error: for each function it appears in.)
make[2]: *** [/var/tmp/portage/x11-drm-20051223/work/drm/linux-core/drm_auth.o]
Error 1
make[1]: *** [_module_/var/tmp/portage/x11-drm-20051223/work/drm/linux-core]
Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.15-rt2'
make: *** [modules] Error 2
 * Portage could not build the DRM modules. If you see an ACCESS DENIED error,
 * this could mean that you were using an unsupported kernel build system. All
 * 2.4 kernels are supported, but only 2.6 kernels at least as new as 2.6.6
 * are supported.

   I took a quick look at Bugzilla but didn't see anything that
matched up. Does this work with the Gentoo kernel?

   Any other ideas?

   Older versions of x11-drm did emerge correctly:

lightning ~ # eix x11-drm
* x11-base/x11-drm
     Available versions:  !4.3.0-r7 20050502 20050807 20051028 20051223
     Installed:           20050807
     Description:         DRM Kernel Modules for X11

Found 1 matches
lightning ~ #

Thanks in advance,

gentoo-amd64@g.o mailing list


Subject Author
Re: [gentoo-amd64] x11-drm-20051223 failure - `SPIN_LOCK_UNLOCKED' undeclared Richard Fish <bigfish@××××××××××.org>