Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Emerge ati-drivers fails...grrr

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
TEB
n00b
n00b
Posts: 17
Joined: Thu Sep 19, 2002 1:28 pm

Emerge ati-drivers fails...grrr

  • Quote

Post by TEB » Fri Oct 24, 2003 11:46 pm

Hi ive read alot of the post in these forums... and i still havnt gotten X running on my pc.

Its an Intel E7505 based chipset with an ATI 9800pro card.
Regardless if im trying 2.9.X and 3.2.8 drivers i fails after a little while with the following message:


teb root # ACCEPT_KEYWORDS="~x86" emerge -k ati-drivers
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/ati-drivers-3.2.8 to /
>>> md5 src_uri ;-) fglrx-glc22-4.3.0-3.2.8.i586.rpm
>>> Unpacking source...
found gzip magic bytes
trying to decompress with gzip... OK

* applying fglrx-3.2.8-fix-amd-adv-spec.patch
patching file firegl_public.c
* applying fglrx-2.6-vmalloc-vmaddr.patch
patching file firegl_public.c
>>> Source unpacked.
* building the glx module
make: Entering directory `/usr/src/linux-2.6.0-test8-patchset-0.1'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CC [M] /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/agp3.o
CC [M] /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/nvidia-agp.o
CC [M] /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/agpgart_be.o
CC [M] /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/i7505-agp.o
CC [M] /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/firegl_public.o
/var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/firegl_public.c:3104: warning: `have_cpuid_p' defined but not used
LD [M] /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/fglrx.o
Building modules, stage 2.
MODPOST
CC /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/fglrx.mod.o
LD [M] /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/fglrx.ko
make: Leaving directory `/usr/src/linux-2.6.0-test8-patchset-0.1'
* building the fgl_glxgears sample
gcc -o fgl_glxgears -Wall -g -D USE_GLU -I/usr/X11R6/include -L/usr/X11R6/lib -lGL -lGLU -lX11 -lm fgl_glxgears.c
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [fgl_glxgears] Error 1
* fgl_glxgears sample not build
* building the qt fglx panel
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/X11R6/include -I. -I./include_dummy FGLRXExtensions.c
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/X11R6/include -I. -I./include_dummy ATITVOExtensions.c
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/qt/3/include -I. -I./include_dummy main.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/qt/3/include -I. -I./include_dummy Sheet.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/qt/3/include -I. -I./include_dummy Page.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/qt/3/include -I. -I./include_dummy InfoPage.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/qt/3/include -I. -I./include_dummy DualScreenPage.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/qt/3/include -I. -I./include_dummy AdjustPage.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/qt/3/include -I. -I./include_dummy TVoutAdjustPage.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/qt/3/include -I. -I./include_dummy BoardInfo.cpp
/usr/qt/3/bin/moc Sheet.h -o moc_Sheet.cpp
/usr/qt/3/bin/moc Page.h -o moc_Page.cpp
/usr/qt/3/bin/moc InfoPage.h -o moc_InfoPage.cpp
/usr/qt/3/bin/moc DualScreenPage.h -o moc_DualScreenPage.cpp
/usr/qt/3/bin/moc AdjustPage.h -o moc_AdjustPage.cpp
/usr/qt/3/bin/moc TVoutAdjustPage.h -o moc_TVoutAdjustPage.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/qt/3/include -I. -I./include_dummy moc_Sheet.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/qt/3/include -I. -I./include_dummy moc_Page.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/qt/3/include -I. -I./include_dummy moc_InfoPage.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/qt/3/include -I. -I./include_dummy moc_DualScreenPage.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/qt/3/include -I. -I./include_dummy moc_AdjustPage.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/qt/3/include -I. -I./include_dummy moc_TVoutAdjustPage.cpp
g++ FGLRXExtensions.o ATITVOExtensions.o main.o Sheet.o Page.o InfoPage.o DualScreenPage.o AdjustPage.o TVoutAdjustPage.o BoardInfo.o moc_Sheet.o moc_Page.o moc_InfoPage.o moc_DualScreenPage.o moc_AdjustPage.o moc_TVoutAdjustPage.o -o fireglcontrol.qt3.gcc3.2.3 -L/usr/qt/3/lib -L/usr/X11R6/lib -lqt -lGLU -lGL -lXmu -lICE -lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender -lfreetype -lXxf86vm -L/usr/X11R6/lib -lXft
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [fireglcontrol.qt3.gcc3.2.3] Error 1
rm moc_Page.cpp moc_TVoutAdjustPage.cpp moc_AdjustPage.cpp moc_InfoPage.cpp moc_DualScreenPage.cpp moc_Sheet.cpp

!!! ERROR: media-video/ati-drivers-3.2.8 failed.
!!! Function src_compile, Line 94, Exitcode 2
!!! (no error message)

This happens regadless if im using 2.4.2X or 2.6.test.X

Can anyone please help me?
Top
Fragbeestje
n00b
n00b
User avatar
Posts: 26
Joined: Fri Feb 21, 2003 1:23 pm
Location: Belgium

  • Quote

Post by Fragbeestje » Sat Oct 25, 2003 1:46 am

I now have the same problem.
After I did an emerge -u world a few days ago, I am unable to compile my Ati-drivers, I get the same error.

Just before the last emerge -u, I was able to emerge the drivers succesfully.
Most important update in there was gnome2.4, but I'll have to check when I get home to see what packages got installed or upgraded.

might have something to do with opengl, cause when I do an opengl-update now, it also gives 2 errors about readline : command not found.
Top
brsett
n00b
n00b
Posts: 63
Joined: Fri Mar 28, 2003 2:57 am

  • Quote

Post by brsett » Sat Oct 25, 2003 4:44 am

I run ati-drivers with gnome 2.4, that is not the problem. I vaguely remember having this problem long ago (6+ months ago). You need to re-emerge the opengl-update I think, or do opengl-update xfree before merging so that you have some valid gl libraries. Then once built do opengl-update ati. It's something related to that at least. Its not the drivers, after months of nagging, ati has given us passable drivers.

Install qt before you install the drivers btw, you'll need them for fireglcontrol, which you'll be using to fix currupt rendering when switching ttys while using fglrx.
Top
Fragbeestje
n00b
n00b
User avatar
Posts: 26
Joined: Fri Feb 21, 2003 1:23 pm
Location: Belgium

  • Quote

Post by Fragbeestje » Mon Oct 27, 2003 3:15 pm

I'm not complaining about the drivers, they're a little slow but they came a long way in one year.

Problem is that just doing an emerge -u world screwed up a perfectly working system and I always unmerge ati-drivers, nforce-net and nforce-audio before I compile my kernel or before I upgrade to a newer ati-drivers version.

Somehow my opengl got screwed up, re-emerging opengl-update doesn't solve the problem. It suddenly seems that I no longer have opengl on my system.
On trying to switch opengl interface, I now get this msg :

Code: Select all

 * Switching to xfree OpenGL interface...
/usr/sbin/opengl-update: line 1: readlink: command not found
/usr/sbin/opengl-update: line 1: readlink: command not found              [ ok ]
And on trying to install gtkglarea exits because of opengl...

Code: Select all

Calculating world dependencies ...done!
>>> emerge (1 of 23) x11-libs/gtkglarea-1.99.0 to /
>>> md5 src_uri ;-) gtkglarea-1.99.0.tar.bz2
>>> Unpacking source...
...
checking whether build environment is sane... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.2.4)
checking OpenGL... no
checking Mesa... no
checking Mesa with pthreads... no
configure: error: You need GL or MesaGL libraries

!!! ERROR: x11-libs/gtkglarea-1.99.0 failed.
!!! Function econf, Line 338, Exitcode 1
!!! econf failed
There is either something wrong with my readline command, causing my opengl not to be seen, or opengl isn't there anymore.

So it worked perfectly for over 6 months and doing an emerge -u world screwed it up. This is the 3rd time that an emerge -u world screws up my working setup in one year.... If I would have won the lottery and have too much time on my hands, it wouldn't be so frustrating 8)
Top
Fragbeestje
n00b
n00b
User avatar
Posts: 26
Joined: Fri Feb 21, 2003 1:23 pm
Location: Belgium

  • Quote

Post by Fragbeestje » Mon Oct 27, 2003 4:09 pm

Woohoow solved :)


Bugzilla Bug 25809

Dependancy issue between opengl-update, debianutils and coreutils.

fix :
emerge coreutils before running opengl-update

the readlink issue was causing ati-drivers and some other packages to fail.
Top
Wedge_
Advocate
Advocate
User avatar
Posts: 3614
Joined: Thu Aug 08, 2002 4:00 pm
Location: Scotland

  • Quote

Post by Wedge_ » Mon Oct 27, 2003 6:42 pm

brsett wrote:You need to re-emerge the opengl-update I think, or do opengl-update xfree before merging so that you have some valid gl libraries. Then once built do opengl-update ati.
That's right. TEB, your problem should be fixable by doing

Code: Select all

opengl-update xfree
ACCEPT_KEYWORDS="~x86" emerge -k ati-drivers
opengl-update ati
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Top
Post Reply

6 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic