Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Bug 246672 ATI-DRIVERS
Date: Thu, 27 Nov 2008 03:28:58
Message-Id: loom.20081127T023608-698@post.gmane.org
In Reply to: Re: [gentoo-user] Bug 246672 ATI-DRIVERS by Volker Armin Hemmann
1 Volker Armin Hemmann <volker.armin.hemmann <at> tu-clausthal.de> writes:
2
3
4 > > Any suggestions are most appreciated
5
6
7 > > Any help is appreciated. Precise version numbers of xorg-server
8 > > xorg-x11 and ati-drivers is what I really need. Just advise
9 > > on a combo that works with a r580 chipset.....
10
11 > x11-base/xorg-server
12 > Installed versions: 1.5.2
13
14 > media-libs/mesa
15 > Installed versions: 7.2
16
17 > x11-base/xorg-x11
18 > Installed versions: 7.4
19
20 > x11-drivers/ati-drivers
21 > Installed versions: 8.552-r2
22
23 OK, I've got the first 3, but, dozens of versions of ati-drivers
24 borks, when I try to install them. Here's the error message from
25 8.552-r2:
26
27 Building fgl_glxgears
28 In file included from fgl_glxgears.c:70:
29 /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common
30 /usr/include/GL/glATI.h:3153:1:
31 warning: "GL_ATI_texture_env_combine3" redefined
32 In file included from /usr/include/GL/gl.h:2150,
33 from /usr/include/GL/glu.h:38,
34 from fgl_glxgears.c:59:
35 /usr/include/GL/glext.h:6606:1: warning: this is the location of the previous
36 definition
37 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
38 cannot find -lGL
39 collect2: ld returned 1 exit status
40
41 ERROR: x11-drivers/ati-drivers-8.552-r2 failed.
42 Call stack:
43 ebuild.sh, line 49: Called src_compile
44 environment, line 3311: Called die
45 The specific snippet of code:
46 "$(tc-getCC)" -o fgl_glxgears ${CFLAGS} ${LDFLAGS} -DUSE_GLU
47 -I"${S}"/common/usr/include fgl_glxgears.c -lGL -lGLU -lX11 -lm || die
48 "fgl_glxgears build failed";
49 The die message:
50 fgl_glxgears build failed
51
52
53 So what did I miss?
54
55 James