Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] ati-drivers-8.35.5 kann nicht kompiliert werden
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Ramlih
n00b
n00b


Joined: 03 Sep 2007
Posts: 3

PostPosted: Mon Sep 03, 2007 9:51 pm    Post subject: [solved] ati-drivers-8.35.5 kann nicht kompiliert werden Reply with quote

Hallo alle zusammen. Ich bin neu bei Gentoo und bei Linux allgemein eher mäßig erfahren. Ich hatte davor schon Ubuntu, finde mich aber textbasiert meist besser zurecht als beim windows-typischen klicken.

Ich habe nun folgendes Problem: Ich möchte auf meinem kleinen Rechner die ATI-Treiber installieren (und vorher kompilieren), doch das schlägt leider fehl. Hier ein paar Infos:

Es handelt sich um eine Onboard-Grafikkarte Radeon Xpress 200 (RS482) über PCI-E angebunden. Die Basis bildet ein Opteron 3000+ mit 64-Bit und natürlich ein 64-Bit Kernel.

Die Fehlerausgabe sieht folgendermaßen aus:

Code:

make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r5'
make: *** [kmod_build] Error 2

!!! ERROR: x11-drivers/ati-drivers-8.35.5 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ati-drivers-8.35.5.ebuild, line 170:   Called linux-mod_src_compile
  linux-mod.eclass, line 516:   Called die

!!! Unable to make  GCC_VER_MAJ=4 KVER=2.6.22-gentoo-r5 KDIR=/usr/src/linux kmod_build.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/temp/build.log'.


Bevor ich diesen Post mache, habe ich mich natürlich schon mal informiert und unter dem Bug #172727 etwas gefunden zu dem thema. Die einzige Lehre die ich daraus ziehen konnte war eben meine CFLAGS anzupassen, woraufhin mich portage warnte, dass "-ffast-math" Pakete zerstören kann:

Code:
Your CFLAGS contains "-ffast-math" which can break packages.


Ich hoffe mir kann jemand helfen. Also das System läuft auch ohne ziemlich stabil mit Gnome, aber emerge macht halt Probleme und möchte die ati-treiber immer wieder kompilieren, was dann die kompilierung von anderen paketen im automatischen betrieb blockiert und im händischen einzelnen kompilieren ziemlich anstrengend macht.

Viele Grüße, Ramlih


Last edited by Ramlih on Thu Sep 06, 2007 9:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Mon Sep 03, 2007 10:01 pm    Post subject: Reply with quote

Poste bitte ein bisschen mehr von der Fehlermeldung.
So wie es aussieht hat er Probleme die Treiber mit Kernel 2.6.22 zu bauen. Da ich keine ATI habe weiß ich nicht, ob das im Moment ein generelles Problem ist.
Evtl mal mit einem älteren Kernel testen.

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
a.forlorn
Guru
Guru


Joined: 12 Aug 2005
Posts: 412
Location: Ulm, Germany

PostPosted: Tue Sep 04, 2007 6:35 am    Post subject: Reply with quote

Nimm den testing ati-drivers.
_________________
Gentoo update is sometimes harder than it should.
Back to top
View user's profile Send private message
Ramlih
n00b
n00b


Joined: 03 Sep 2007
Posts: 3

PostPosted: Thu Sep 06, 2007 1:35 pm    Post subject: Reply with quote

Hallo allerseits. Ich habe nun leider vergeblich gesucht wie ich einen anderen kernel benutzen kann und auch emerge bietet mir (wahrscheinlich) nur den neuesten an. Wie ich einen testing ati-driver verwende konnte ich ebenfalls nicht in erfahrung bringen.

Portage bietet mir nur die Version 8.35.5 vom ati-treiber an und eben dieser scheint nicht richtig zu wollen auf meinem system.

Hier noch mal die gesamte /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/temp/build-log :

Code:

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.22-gentoo-r5/build
 * Found sources for kernel version:
 *     2.6.22-gentoo-r5
>>> Unpacking source...
>>> Unpacking ati-driver-installer-8.35.5-x86.x86_64.run to /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work
 * Applying ati-drivers-8.35.5-2.6.19.patch ...                           [ ok ]
 * Applying ati-drivers-2.6.20.patch ...                                  [ ok ]
 * Applying ati-drivers-8.35.5-2.6.20.patch ...                           [ ok ]
 * Converting 2.6.x/Makefile to use M= instead of SUBDIRS= ...            [ ok ]
>>> Unpacking ./../common/usr/src/ati/fglrx_sample_source.tgz to /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/extra
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work ...
 * Preparing fglrx module
make -C /usr/src/linux M=/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.22-gentoo-r5'
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:149:27: error: linux/ioctl32.h: No such file or directory
In file included from /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:41,
                 from /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:423:
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/drmP.h:126:1: warning: "DRM_DEBUG_CODE" redefined
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:179:1: warning: this is the location of the previous definition
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:541: warning: initialization from incompatible pointer type
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_stub_open':
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:664: warning: assignment discards qualifiers from pointer target type
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_put_user_ptr':
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1442: warning: cast from pointer to integer of different size
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1442: warning: cast from pointer to integer of different size
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1442: warning: cast from pointer to integer of different size
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1442: warning: cast from pointer to integer of different size
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_pci_find_device':
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1892: warning: 'pci_find_device' is deprecated (declared at include/linux/pci.h:477)
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_request_irq':
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2742: warning: 'deprecated_irq_flag' is deprecated (declared at include/linux/interrupt.h:66)
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2742: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_unregister_ioctl32_conversion':
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2765: warning: 'return' with a value, in function returning void
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4996: warning: 'kmem_cache_t' is deprecated
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KAS_SlabCache_Initialize':
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5037: warning: cast from pointer to integer of different size
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r5'
make: *** [kmod_build] Error 2

!!! ERROR: x11-drivers/ati-drivers-8.35.5 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ati-drivers-8.35.5.ebuild, line 170:   Called linux-mod_src_compile
  linux-mod.eclass, line 516:   Called die

!!! Unable to make  GCC_VER_MAJ=4 KVER=2.6.22-gentoo-r5 KDIR=/usr/src/linux kmod_build.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/temp/build.log'.


Ich hoffe das hilft euch weiter. Ist es eine Alternative den Treiber von der ATI-Homepage runterzuladen?

Viele Grüße, Ramlih
Back to top
View user's profile Send private message
Dragonix
Apprentice
Apprentice


Joined: 21 May 2006
Posts: 253
Location: Germany

PostPosted: Thu Sep 06, 2007 1:40 pm    Post subject: Reply with quote

Neuen Treiber installieren geht so:
echo "x11-drivers/ati-drivers ~x86" >> /etc/portage/package.keywords
oder falls du amd64 verwendest, eben ~amd64.
Der läuft wunderbar auf meinem 2. PC mit einem 2.6.22 kernel..
Btw... bald kommt ja der neue ati-driver *gespannt sei*
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Thu Sep 06, 2007 1:44 pm    Post subject: Reply with quote

Ramlih wrote:
Wie ich einen testing ati-driver verwende konnte ich ebenfalls nicht in erfahrung bringen.

Portage bietet mir nur die Version 8.35.5 vom ati-treiber an und eben dieser scheint nicht richtig zu wollen auf meinem system.

Mischen von Softwarezweigen
_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
Ramlih
n00b
n00b


Joined: 03 Sep 2007
Posts: 3

PostPosted: Thu Sep 06, 2007 9:47 pm    Post subject: Reply with quote

Wow, mit dem tipp von Dragonix hat es wirklich funktioniert :) Vielen Dank dafür! Er hat nun erfolgreich x11-drivers/ati-drivers-8.40.4 installiert.

Ich danke euch allen vielmals für eure Antworten und die Hilfe von euch.

Viele Grüße, Ramlih
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
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