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
Message-Id: 5bdc1c8b0601111528k2f2013b3t804dc701341e8125@mail.gmail.com
1 Hi,
2 I'm running a non-Gentoo 2.6.15 kernel with realtime support. I ran
3 into this problem with x11-drm:
4
5 make -C /usr/src/linux SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
6 make[1]: Entering directory `/usr/src/linux-2.6.15-rt2'
7 CC [M] /var/tmp/portage/x11-drm-20051223/work/drm/linux-core/drm_auth.o
8 /var/tmp/portage/x11-drm-20051223/work/drm/linux-core/drm_auth.c: In
9 function `drm_getmagic':
10 /var/tmp/portage/x11-drm-20051223/work/drm/linux-core/drm_auth.c:177:
11 error: `SPIN_LOCK_UNLOCKED' undeclared (first use in this function)
12 /var/tmp/portage/x11-drm-20051223/work/drm/linux-core/drm_auth.c:177:
13 error: (Each undeclared identifier is reported only once
14 /var/tmp/portage/x11-drm-20051223/work/drm/linux-core/drm_auth.c:177:
15 error: for each function it appears in.)
16 make[2]: *** [/var/tmp/portage/x11-drm-20051223/work/drm/linux-core/drm_auth.o]
17 Error 1
18 make[1]: *** [_module_/var/tmp/portage/x11-drm-20051223/work/drm/linux-core]
19 Error 2
20 make[1]: Leaving directory `/usr/src/linux-2.6.15-rt2'
21 make: *** [modules] Error 2
22 * Portage could not build the DRM modules. If you see an ACCESS DENIED error,
23 * this could mean that you were using an unsupported kernel build system. All
24 * 2.4 kernels are supported, but only 2.6 kernels at least as new as 2.6.6
25 * are supported.
26
27 I took a quick look at Bugzilla but didn't see anything that
28 matched up. Does this work with the Gentoo kernel?
29
30 Any other ideas?
31
32 Older versions of x11-drm did emerge correctly:
33
34 lightning ~ # eix x11-drm
35 * x11-base/x11-drm
36 Available versions: !4.3.0-r7 20050502 20050807 20051028 20051223
37 Installed: 20050807
38 Homepage: http://dri.sf.net
39 Description: DRM Kernel Modules for X11
40
41
42 Found 1 matches
43 lightning ~ #
44
45 Thanks in advance,
46 Mark
47
48 --
49 gentoo-amd64@g.o mailing list

Replies

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