View previous topic :: View next topic |
Author |
Message |
asturm Developer
Joined: 05 Apr 2007 Posts: 8938
|
Posted: Sun Jan 18, 2009 2:56 am Post subject: [x11 overlay] x11-drm fails (broken?) |
|
|
For quite some time now, x11-drm-99999999 keeps failing to build on my notebook (R250). Is anyone else having trouble lately?
emerge --info snippet:
Code: | Portage 2.2_rc22 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo i686)
=================================================================
System uname: Linux-2.6.28-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1600MHz-with-glibc2.0
Timestamp of tree: Sat, 17 Jan 2009 11:15:02 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python: 2.5.2-r7
dev-util/cmake: 2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.4.2
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.28-r1
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en de"
MAKEOPTS="-j2" |
A brief summary of relevant packages:
Code: | [ebuild R ] x11-libs/libdrm-9999 0 kB [1]
[ebuild R ] x11-proto/dri2proto-9999 0 kB [1]
[ebuild R ] x11-proto/randrproto-1.2.99.3 0 kB [1]
[ebuild R ] media-libs/mesa-9999 USE="nptl xcb" VIDEO_CARDS="radeon" 0 kB [1]
[ebuild R ] x11-drivers/xf86-video-ati-9999 USE="dri" 0 kB [1]
[ebuild R ] x11-base/x11-drm-99999999 VIDEO_CARDS="radeon" 0 kB [1] |
And here's the error:
Code: | In file included from ../libdrm/xf86drm.h:40,
from dristat.c:33:
./drm.h:240: warning: comma at end of enumerator list
./drm.h:494: warning: comma at end of enumerator list
./drm.h:501: warning: ISO C90 does not support ‘long long’
./drm.h:906: warning: comma at end of enumerator list
In file included from ../libdrm/xf86drm.h:40,
from dristat.c:33:
./drm.h:1170: warning: ISO C forbids forward references to ‘enum’ types
In file included from dristat.c:36:
../libdrm/xf86drm.c: In function ‘drmUpdateDrawableInfo’:
../libdrm/xf86drm.c:1499: warning: ISO C90 does not support ‘long long’
../libdrm/xf86drm.c: In function ‘drmWaitVBlank’:
../libdrm/xf86drm.c:1903: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function)
../libdrm/xf86drm.c:1903: error: (Each undeclared identifier is reported only once
../libdrm/xf86drm.c:1903: error: for each function it appears in.)
make: *** [dristat] Error 1 |
|
|
Back to top |
|
|
smerf l33t
Joined: 06 Nov 2004 Posts: 778 Location: Polska
|
Posted: Sun Jan 18, 2009 7:10 pm Post subject: |
|
|
CLOCK_MONOTONIC should be inside /usr/include/bits/time.h
Maybe configure went wrong... Try adding direct #include inside
../libdrm/xf86drm.c (after error, inside /var/tmp/portage) and then
to proceed with `ebuild [path_to_ebuild] compile` followed by
install and qmerge (see man ebuild). Report to maintainer if it worked. _________________ Microsoft is not the answer, Microsoft is the question, the answer is no. |
|
Back to top |
|
|
mikkoc Apprentice
Joined: 24 May 2007 Posts: 231
|
Posted: Sun Jan 18, 2009 7:25 pm Post subject: |
|
|
Same error here.
Last successful build: Dec 26th. |
|
Back to top |
|
|
Rion Guru
Joined: 12 Oct 2006 Posts: 383 Location: Minsk, Belarus
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|