Помогите с ядром 2.6.24-r1
Erik 19 февраля, 2008 - 01:08
Что-то странное. Пытаюсь перейти на ядро 2.6.24, пересобирал несколько раз - загружаюсь с любой сборки,
но не могу собрать внешние модули (alsa, nvidia) - всегда одна и таже ошибка. Привожу часть лога сборки alsa
`/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/soc/sh' make[2]: Leaving directory `/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/soc' make[2]: Entering directory `/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/usb' copying file alsa-kernel/usb/usbaudio.c copying file alsa-kernel/usb/usbmixer.c copying file alsa-kernel/usb/usbmidi.c patching file usbmixer.c patching file usbaudio.c Hunk #3 succeeded at 1725 (offset -1 lines). Hunk #4 succeeded at 1774 (offset -1 lines). Hunk #3 succeeded at 659 with fuzz 2 (offset -10 lines). Hunk #5 succeeded at 1795 (offset -1 lines). Hunk #4 succeeded at 686 with fuzz 2 (offset -10 lines). Hunk #5 succeeded at 767 (offset -10 lines). Hunk #6 succeeded at 782 (offset -10 lines). Hunk #7 succeeded at 1160 (offset -10 lines). Hunk #8 succeeded at 2082 (offset 3 lines). Hunk #9 succeeded at 2101 (offset 3 lines). Hunk #10 succeeded at 2118 (offset 3 lines). Hunk #11 succeeded at 2675 (offset 13 lines). Hunk #12 succeeded at 2747 (offset 13 lines). Hunk #13 succeeded at 3035 (offset 17 lines). Hunk #14 succeeded at 3106 (offset 17 lines). Hunk #15 succeeded at 3227 (offset 69 lines). Hunk #16 succeeded at 3245 (offset 69 lines). Hunk #17 succeeded at 3259 (offset 69 lines). Hunk #18 succeeded at 3272 (offset 69 lines). Hunk #19 succeeded at 3476 (offset 77 lines). Hunk #20 succeeded at 3569 (offset 79 lines). Hunk #21 succeeded at 3706 (offset 78 lines). Hunk #22 succeeded at 3727 (offset 78 lines). Hunk #23 succeeded at 3748 (offset 78 lines). patching file usbmidi.c Hunk #2 succeeded at 226 (offset 1 line). Hunk #3 succeeded at 250 (offset 1 line). Hunk #4 succeeded at 343 (offset 1 line). Hunk #5 succeeded at 1450 (offset 88 lines). Hunk #6 succeeded at 1798 (offset 92 lines). make[3]: Entering directory `/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/usb/caiaq' copying file alsa-kernel/usb/caiaq/caiaq-audio.c copying file alsa-kernel/usb/caiaq/caiaq-device.c patching file caiaq-audio.c patching file caiaq-device.c Hunk #1 succeeded at 106 (offset 6 lines). Hunk #2 succeeded at 313 (offset 14 lines). make[3]: Leaving directory `/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/usb/caiaq' make[3]: Entering directory `/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/usb/usx2y' copying file alsa-kernel/usb/usx2y/usbusx2yaudio.c copying file alsa-kernel/usb/usx2y/usbusx2y.c copying file alsa-kernel/usb/usx2y/usX2Yhwdep.c patching file usX2Yhwdep.c Hunk #3 succeeded at 63 with fuzz 2. patching file usbusx2y.c patching file usbusx2yaudio.c Hunk #10 succeeded at 1057 (offset -1 lines). copying file alsa-kernel/usb/usx2y/usx2yhwdeppcm.c patching file usx2yhwdeppcm.c make[3]: Leaving directory `/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/usb/usx2y' make[2]: Leaving directory `/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/usb' make[2]: Entering directory `/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/misc' make[2]: Leaving directory `/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/misc' make[1]: Leaving directory `/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15' make -C /usr/src/linux M=/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15 O=/usr/src/linux CPP="x86_64-pc-linux-gnu-gcc -E" CC="x86_64-pc-linux-gnu-gcc" modules make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo-r1' /usr/src/linux-2.6.24-gentoo-r1/scripts/Makefile.build:46: *** CFLAGS was changed in "/var/tmp/portage/media-sound/ alsa-driver-1.0.15/work/alsa-driver-1.0.15/acore/Makefile". Fix it to use EXTRA_CFLAGS. Останов. /usr/src/linux-2.6.24-gentoo-r1/scripts/Makefile.build:46: *** CFLAGS was changed in "/var/tmp/portage/media-sound/ alsa-driver-1.0.15/work/alsa-driver-1.0.15/arm/Makefile". Fix it to use EXTRA_CFLAGS. Останов. /usr/src/linux-2.6.24-gentoo-r1/scripts/Makefile.build:46: *** CFLAGS was changed in "/var/tmp/portage/media-sound/ alsa-driver-1.0.15/work/alsa-driver-1.0.15/aoa/Makefile". Fix it to use EXTRA_CFLAGS. Останов. /usr/src/linux-2.6.24-gentoo-r1/scripts/Makefile.build:46: *** CFLAGS was changed in "/var/tmp/portage/media-sound/ alsa-driver-1.0.15/work/alsa-driver-1.0.15/drivers/Makefile". Fix it to use EXTRA_CFLAGS. Останов. make[3]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/acore] Ошибка 2 make[3]: *** Ожидание завершения заданий... make[3]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/aoa] Ошибка 2 make[3]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/arm] Ошибка 2 make[3]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/drivers] Ошибка 2 /usr/src/linux-2.6.24-gentoo-r1/scripts/Makefile.build:46: *** CFLAGS was changed in "/var/tmp/portage/media-sound/ alsa-driver-1.0.15/work/alsa-driver-1.0.15/i2c/Makefile". Fix it to use EXTRA_CFLAGS. Останов. make[3]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/i2c] Ошибка 2 make[2]: *** [_module_/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15] Ошибка 2 make[1]: *** [sub-make] Ошибка 2 make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r1' make: *** [compile] Ошибка 2 [31;01m*[0m [31;01m*[0m ERROR: media-sound/alsa-driver-1.0.15 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 49: Called src_compile [31;01m*[0m environment, line 3952: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake LDFLAGS="$(raw-ldflags)" HOSTCC="$(tc-getBUILD_CC)" CC="$(tc-getCC)" || die "Make Failed"; [31;01m*[0m The die message: [31;01m*[0m Make Failed [31;01m*[0m [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/tmp/portage/media-sound/alsa-driver-1.0.15/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-sound/alsa-driver-1.0.15/temp/environment'. [31;01m*[0m
на всякий emerge --info
Portage 2.1.4.2 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.24-gentoo-r1-v3 x86_64) ================================================================= System uname: 2.6.24-gentoo-r1-v3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ Timestamp of tree: Sun, 10 Feb 2008 19:46:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.5.1-r5 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -msse3 -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -msse3 -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo" LANG="ru_RU.UTF-8" LINGUAS="ru" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib acl acpi admin alsa amarok amd64 apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cairo canna ccache cdda cddb cdparanoia cdr cjk cli config_wizard connectionstatus cracklib crypt css cups curl dbus directfb divx divx4linux dri dv dvd dvd-rw dvdr dvdread eds effects emacs emboss encode esd evo fam fbcon ffmpeg firefox flac flash foomaticdb fortran freewnn gd gdbm gif gimp gpm gstreamer gtk gtk2 hal history iconv icq id3 ieee1394 imagemagick imlib ipod isdnlog ithreads java javascript jdbc jpeg jpeg2k kde kerberos lame latex lcms ldap libwww log4j logitech-mouse logrotate mad matroska mhash midi mikmod mime mjpeg mmx mmxext mng mod_python modperl motif mozilla mp3 mp4 mp4live mpeg mpeg2 mudflap musepack musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp oss pam pcre pda pdf pdflib perl php png pop posix postgres pppd pthreads python qt qt3 qt3support qt4 quicktime readline reflection sdl session sh-completion slang sndfile spell spl sql srt sse sse2 sse3 ssh ssl svg symlink sysfs tcltk tcpd tetex themes threads tiff tk truetype truetype-fonts type1 type1-fonts unicode ups usb v4l v4l2 vim vim-syntax vorbis xcomposite xine xml xml2 xorg xscreensaver xsl xv xvid xvmc zip zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
»
- Для комментирования войдите или зарегистрируйтесь
Написано ж Fix it
Написано ж Fix it to use EXTRA_CFLAGS.
________________________________________________________________________________________________
AMD64 X2 5200+ ASUS M2N-MX SE/ram 1Gb/chip video Nvidia 6150 SE/
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 x
Где об этом
Где об этом прочитать?
________________
Jedem das Seine!
Создай свой
Создай свой оверлей, скопируй туда ebuild текущий и переименуй в alsa-driver-1.0.16_rc1 - с ним работает.
________________
Software is like sex; it's better when it's free.
собирать
собирать драйвера звука из alsa-drivers устаревший способ. рекомендуется собирать в ядре в виде модулей.
Где то я слышал
Где то я слышал что наоборот ))
________________________________________________________________________________________________
AMD64 X2 5200+ ASUS M2N-MX SE/ram 1Gb/chip video Nvidia 6150 SE/
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 x
Ничего
Ничего не устарело
Собирать из исходников - гарантия самой свежей версии
собирать в виде модулей ядра - не нужно устанавливать доп драйвера
Вот и вся раздница