xorg-driver-fglrx 8.4 i problemy z makrem %__kernel_ver
Tomasz Wittner
tomasz.wittner w gmail.com
Czw, 17 Kwi 2008, 22:05:39 CEST
On Thursday 17 of April 2008, 15:37, Bartłomiej Zimoń wrote:
> Witam
>
> Dostepny jest driver w wersji 8.4 a w nim cala masa nowosci:
> 1. zmienila sie znow metoda nazywania plikow z driverami udostepnionymi na
> stronie zamiast kropki jest teraz minus czyli aktualnie ma byc teraz 8-4 .
... bo to bałaganiarze
> 2. nie znam innych bo nie mam jak przetestowac.
>
> Problem w tym ze juz zglupialem - jak zbudowac userspace?
>
> Modul jadra buduje tak:
> $builder xorg-driver-video-fglrx --alt_kernel desktop
> Czy dla userspace powinno byc tak ? :
> $builder xorg-driver-video-fglrx --without kernel
>
> $ rpm -qa rpm* |sort
> rpm-4.4.9-56.athlon
> rpm-base-4.4.9-56.athlon
> rpm-build-4.4.9-56.athlon
> rpm-build-macros-1.445-1.noarch
> rpm-build-tools-4.4.9-16.noarch
> rpm-devel-4.4.9-56.athlon
> rpm-javaprov-4.4.9-56.athlon
> rpm-lib-4.4.9-56.athlon
> rpmorphan-1.2-1.noarch
> rpm-perlprov-4.4.9-56.athlon
> rpm-pythonprov-4.4.9-56.athlon
> rpm-specdump-0.3-2.athlon
> rpm-utils-4.4.9-56.athlon
> rpm-utils-perl-4.4.9-56.athlon
>
> Ciekawostka:
>
> $ ./builder xorg-driver-video-fglrx.spec --alt_kernel desktop --without
> kernel builder: Stick tag HEAD active. Use -r TAGNAME to override.
> M xorg-driver-video-fglrx.spec
> # $Revision: 1.80 $, $Date: 2008-03-27 22:26:08 $
> error: Macro %__kernel_ver has empty body
> error: Macro %__kernel_ver has empty body
> error: Macro %__kernel_ver has empty body
> error: Macro %__kernel_ver has empty body
> error: Macro %__kernel_ver has empty body
> error: Macro %__kernel_ver has empty body
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< /usr/src/linux
> 12< (empty)
> error: Macro %__kernel_ver has empty body
> 12< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< /usr/src/linux
> 13< (empty)
> error: Macro %__kernel_ver has empty body
> 13< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> error: Macro %__kernel_ver has empty body
> 14< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> error: Macro %__kernel_ver has empty body
> 15< (empty)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 10< (empty)
> 9< (empty)
> 8< (empty)
> 7< (empty)
> 6< (empty)
> 5< (empty)
> 4< (empty)
> error: Macro %_kernel_ver has empty body
> 4< (empty)
> 11< (empty)
> 10< (empty)
> 9< (empty)
> 11< (empty)
> 10< (empty)
> 9< (empty)
> 11< (empty)
> 10< (empty)
> 9< (empty)
> 8< /usr/src/linux/Makefile 2> /dev/null)
> 7< (empty)
> error: Macro %__kernel_ver has empty body
> 7< (empty)
> 12< (empty)
> 11< (empty)
> 10< (empty)
> 12< (empty)
> 11< (empty)
> 10< (empty)
> 12< (empty)
> 11< (empty)
> 10< (empty)
> 9< /usr/src/linux/Makefile 2> /dev/null)
> 8< (empty)
> error: Macro %__kernel_ver has empty body
> 8< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 10< /usr/src/linux/Makefile 2> /dev/null)
> 9< (empty)
> error: Macro %__kernel_ver has empty body
> 9< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 11< /usr/src/linux/Makefile 2> /dev/null)
> 10< (empty)
> error: Macro %__kernel_ver has empty body
> 10< (empty)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 12< /usr/src/linux/Makefile 2> /dev/null)
> 11< (empty)
> error: Macro %__kernel_ver has empty body
> 11< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< /usr/src/linux
> 12< (empty)
> error: Macro %__kernel_ver has empty body
> 12< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< /usr/src/linux
> 13< (empty)
> error: Macro %__kernel_ver has empty body
> 13< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> error: Macro %__kernel_ver has empty body
> 14< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> error: Macro %__kernel_ver has empty body
> 15< (empty)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 10< (empty)
> 9< (empty)
> 8< (empty)
> 7< (empty)
> 6< (empty)
> 5< (empty)
> error: Macro %_kernel_ver has empty body
> 5< (empty)
> 12< (empty)
> 11< (empty)
> 10< (empty)
> 12< (empty)
> 11< (empty)
> 10< (empty)
> 12< (empty)
> 11< (empty)
> 10< (empty)
> 9< /usr/src/linux/Makefile 2> /dev/null)
> 8< (empty)
> error: Macro %__kernel_ver has empty body
> 8< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 10< /usr/src/linux/Makefile 2> /dev/null)
> 9< (empty)
> error: Macro %__kernel_ver has empty body
> 9< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 11< /usr/src/linux/Makefile 2> /dev/null)
> 10< (empty)
> error: Macro %__kernel_ver has empty body
> 10< (empty)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 12< /usr/src/linux/Makefile 2> /dev/null)
> 11< (empty)
> error: Macro %__kernel_ver has empty body
> 11< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< /usr/src/linux
> 12< (empty)
> error: Macro %__kernel_ver has empty body
> 12< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< /usr/src/linux
> 13< (empty)
> error: Macro %__kernel_ver has empty body
> 13< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> error: Macro %__kernel_ver has empty body
> 14< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> error: Macro %__kernel_ver has empty body
> 15< (empty)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 10< (empty)
> 9< (empty)
> 8< (empty)
> 7< (empty)
> 6< (empty)
> error: Macro %_kernel_ver has empty body
> 6< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 10< /usr/src/linux/Makefile 2> /dev/null)
> 9< (empty)
> error: Macro %__kernel_ver has empty body
> 9< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 11< /usr/src/linux/Makefile 2> /dev/null)
> 10< (empty)
> error: Macro %__kernel_ver has empty body
> 10< (empty)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 12< /usr/src/linux/Makefile 2> /dev/null)
> 11< (empty)
> error: Macro %__kernel_ver has empty body
> 11< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< /usr/src/linux
> 12< (empty)
> error: Macro %__kernel_ver has empty body
> 12< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< /usr/src/linux
> 13< (empty)
> error: Macro %__kernel_ver has empty body
> 13< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> error: Macro %__kernel_ver has empty body
> 14< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> error: Macro %__kernel_ver has empty body
> 15< (empty)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 10< (empty)
> 9< (empty)
> 8< (empty)
> 7< (empty)
> error: Macro %_kernel_ver has empty body
> 7< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 11< /usr/src/linux/Makefile 2> /dev/null)
> 10< (empty)
> error: Macro %__kernel_ver has empty body
> 10< (empty)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 12< /usr/src/linux/Makefile 2> /dev/null)
> 11< (empty)
> error: Macro %__kernel_ver has empty body
> 11< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< /usr/src/linux
> 12< (empty)
> error: Macro %__kernel_ver has empty body
> 12< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< /usr/src/linux
> 13< (empty)
> error: Macro %__kernel_ver has empty body
> 13< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> error: Macro %__kernel_ver has empty body
> 14< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> error: Macro %__kernel_ver has empty body
> 15< (empty)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 10< (empty)
> 9< (empty)
> 8< (empty)
> error: Macro %_kernel_ver has empty body
> 8< (empty)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 12< /usr/src/linux/Makefile 2> /dev/null)
> 11< (empty)
> error: Macro %__kernel_ver has empty body
> 11< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< /usr/src/linux
> 12< (empty)
> error: Macro %__kernel_ver has empty body
> 12< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< /usr/src/linux
> 13< (empty)
> error: Macro %__kernel_ver has empty body
> 13< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> error: Macro %__kernel_ver has empty body
> 14< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> error: Macro %__kernel_ver has empty body
> 15< (empty)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 10< (empty)
> 9< (empty)
> error: Macro %_kernel_ver has empty body
> 9< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< /usr/src/linux
> 12< (empty)
> error: Macro %__kernel_ver has empty body
> 12< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< /usr/src/linux
> 13< (empty)
> error: Macro %__kernel_ver has empty body
> 13< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> error: Macro %__kernel_ver has empty body
> 14< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> error: Macro %__kernel_ver has empty body
> 15< (empty)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 10< (empty)
> error: Macro %_kernel_ver has empty body
> 10< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< /usr/src/linux
> 13< (empty)
> error: Macro %__kernel_ver has empty body
> 13< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> error: Macro %__kernel_ver has empty body
> 14< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> error: Macro %__kernel_ver has empty body
> 15< (empty)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> error: Macro %_kernel_ver has empty body
> 11< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> error: Macro %__kernel_ver has empty body
> 14< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> error: Macro %__kernel_ver has empty body
> 15< (empty)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> error: Macro %_kernel_ver has empty body
> 12< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> error: Macro %__kernel_ver has empty body
> 15< (empty)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> error: Macro %_kernel_ver has empty body
> 13< (empty)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> error: Macro %_kernel_ver has empty body
> 14< (empty)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> error: Macro %_kernel_ver has empty body
> 15< (empty)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> error: Recursion depth(17) greater than max(16)
> 15< (empty)
> 14< (empty)
> 13< (empty)
> 12< (empty)
> 11< (empty)
> 10< (empty)
> 9< (empty)
> 8< (empty)
> 7< (empty)
> 6< (empty)
> 5< (empty)
> 4< (empty)
> 3< (empty)
> 2< (empty)
> 1< (empty)
> 0< \
> umask 022; \
> if [ -e /boot/System.map-
> error: line 221: \
> umask 022; \
> if [ -e /boot/System.map-
>
> Building xorg-driver-video-fglrx.spec with the following conditional flags:
> --without kernel
>
> from available:
> --with : multigl verbose
> --without: dist_kernel <kernel> userspace
>
> ...
>
> Pozniej to mam takie kwiatki :
>
> Przetwarzanie plików: xorg-driver-video-fglrx-debuginfo-8.4-1
> Szukanie niespakietowanych plików: /usr/lib/rpm/check-files
> /home/users/uzi/tmp/xorg-driver-video-fglrx-8.4-root-uzi ostrzeżenie:
> Znaleziono zainstalowane (ale niespakietowane) pliki:
> /etc/ati/amdpcsdb.default
> /etc/ati/atiogl.xml
> /etc/ati/control
> /etc/ati/signature
> /etc/env.d/LIBGL_DRIVERS_PATH
> /usr/bin/amdcccle
> /usr/bin/aticonfig
> /usr/bin/fgl_glxgears
> /usr/bin/fglrx_xgamma
> /usr/bin/fglrxinfo
> /usr/include/GL/glATI.h
> /usr/include/GL/glxATI.h
> /usr/include/X11/extensions/fglrx_gamma.h
> /usr/lib/libGL.so
> /usr/lib/libGL.so.1
> /usr/lib/libGL.so.1.2
> /usr/lib/libfglrx_dm.a
> /usr/lib/libfglrx_dm.so
> /usr/lib/libfglrx_dm.so.1.0
> /usr/lib/libfglrx_gamma.a
> /usr/lib/libfglrx_gamma.so
> /usr/lib/libfglrx_gamma.so.1.0
> /usr/lib/libfglrx_pp.a
> /usr/lib/libfglrx_pp.so
> /usr/lib/libfglrx_pp.so.1.0
> /usr/lib/libfglrx_tvout.a
> /usr/lib/libfglrx_tvout.so
> /usr/lib/libfglrx_tvout.so.1.0
> /usr/lib/xorg/modules/dri/fglrx_dri.so
> /usr/lib/xorg/modules/drivers/fglrx_drv.so
> /usr/lib/xorg/modules/esut.a
> /usr/lib/xorg/modules/glesx.so
> /usr/lib/xorg/modules/linux/libfglrxdrm.so
> /usr/share/applications/xorg-driver-video-fglrx.desktop
> /usr/share/ati/amdcccle/amdcccle_cs.qm
> /usr/share/ati/amdcccle/amdcccle_da_DK.qm
> /usr/share/ati/amdcccle/amdcccle_de.qm
> /usr/share/ati/amdcccle/amdcccle_el_GR.qm
> /usr/share/ati/amdcccle/amdcccle_es_ES.qm
> /usr/share/ati/amdcccle/amdcccle_fi_FI.qm
> /usr/share/ati/amdcccle/amdcccle_fr_FR.qm
> /usr/share/ati/amdcccle/amdcccle_hu_HU.qm
> /usr/share/ati/amdcccle/amdcccle_it_IT.qm
> /usr/share/ati/amdcccle/amdcccle_ja.qm
> /usr/share/ati/amdcccle/amdcccle_ko_KR.qm
> /usr/share/ati/amdcccle/amdcccle_nl_NL.qm
> /usr/share/ati/amdcccle/amdcccle_no.qm
> /usr/share/ati/amdcccle/amdcccle_pl.qm
> /usr/share/ati/amdcccle/amdcccle_pt_BR.qm
> /usr/share/ati/amdcccle/amdcccle_ru_RU.qm
> /usr/share/ati/amdcccle/amdcccle_sv_SE.qm
> /usr/share/ati/amdcccle/amdcccle_th.qm
> /usr/share/ati/amdcccle/amdcccle_tr_TR.qm
> /usr/share/ati/amdcccle/amdcccle_zh_CN.qm
> /usr/share/ati/amdcccle/amdcccle_zh_TW.qm
> /usr/share/pixmaps/ccc_large.xpm
> /usr/share/pixmaps/ccc_small.xpm
> Zapisano: /home/users/uzi/rpm/SRPMS/xorg-driver-video-fglrx-8.4-1.src.rpm
> Zapisano:
> /home/users/uzi/rpm/RPMS/xorg-driver-video-fglrx-debuginfo-8.4-1.athlon.rpm
>
Quick fix - budowanie na dwa razy:
$ rpmbuild --define 'alt_kernel vanilla' -bb xorg-driver-video-fglrx.spec
[...]
Wrote: /home/users/tw/rpm/RPMS/kernel-vanilla-video-firegl-8.4-0.1 at 2.6.24.4_1.pentium4.rpm
$ sudo \
rpm -Uvh /home/users/tw/rpm/RPMS/kernel-vanilla-video-firegl-8.4-0.1 at 2.6.24.4_1.pentium4.rpm
Preparing... ########################################### [100%]
1:kernel-vanilla-video-fi########################################### [100%]
WARNING: Couldn't open directory /lib/modules/2.6.24.3_vanilla-1: No such file
or directory
FATAL: Could not open /lib/modules/2.6.24.3_vanilla-1/modules.dep.temp for
writing: No such file or directory
error: %postun(kernel-vanilla-video-firegl-8.2-1 at 2.6.24.3_1.i686) scriptlet
failed, exit status 1
wypakować pod rpm'a pod mc i przenieść moduł, gdzie trzeba, ...
$ rpmbuild --without kernel -bb xorg-driver-video-fglrx.spec
[...]
Wrote: /home/users/tw/rpm/RPMS/xorg-driver-video-fglrx-8.4-0.1.pentium4.rpm
Wrote: /home/users/tw/rpm/RPMS/xorg-driver-video-fglrx-devel-8.4-0.1.pentium4.rpm
Wrote: /home/users/tw/rpm/RPMS/xorg-driver-video-fglrx-static-8.4-0.1.pentium4.rpm
(mam wyłączone budowanie pakietów debuginfo)
--
Tomasz Wittner
Więcej informacji o liście dyskusyjnej pld-devel-pl