Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NVIDIA - не компилиться emerge`om
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
Torn
n00b
n00b


Joined: 26 Dec 2007
Posts: 6

PostPosted: Wed Dec 26, 2007 4:12 pm    Post subject: NVIDIA - не компилиться emerge`om Reply with quote

Quote:
emerge nvidia-drivers --nodeps
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-100.14.19 to /
* NVIDIA-Linux-x86-100.14.19-pkg0.run RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking NVIDIA-Linux-x86-100.14.19-pkg0.run ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.23-gentoo-r3/build
* Found sources for kernel version:
* 2.6.23-gentoo-r3
* Checking for MTRR support ... [ ok ]
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86-100.14.19-pkg0
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 100.14.19.............................................................................................................................
* Applying NVIDIA_glx-defines.patch ... [ ok ]
* Applying NVIDIA_glx-glheader.patch ... [ ok ]
/var/tmp/portage/x11-drivers/nvidia-drivers-100.14.19/temp/environment: line 3680: x86-fbsd: command not found
* Applying NVIDIA_i2c-hwmon.patch ... [ ok ]
* Converting Makefile.kbuild to use M= instead of SUBDIRS= ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-100.14.19/work/NVIDIA-Linux-x86-100.14.19-pkg0/usr/src/nv ...
* Preparing nvidia module
rm -f Makefile
sh ./conftest.sh "k6-pc-linux-gnu-gcc" "k6-pc-linux-gnu-gcc" /usr/src/linux /lib/modules/2.6.23-gentoo-r3/build cc_sanity_check full_output
sh ./conftest.sh "k6-pc-linux-gnu-gcc" "k6-pc-linux-gnu-gcc" /usr/src/linux /lib/modules/2.6.23-gentoo-r3/build select_makefile full_output
make --no-print-directory -f Makefile module

NVIDIA: calling KBUILD...
make CC=k6-pc-linux-gnu-gcc KBUILD_OUTPUT=/lib/modules/2.6.23-gentoo-r3/build KBUILD_VERBOSE=1 -C /usr/src/linux M=/var/tmp/portage/x11-drivers/nvidia-drivers-100.14.19/work/NVIDIA-Linux-x86-100.14.19-pkg0/usr/src/nv modules
make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
make -C /lib/modules/2.6.23-gentoo-r3/build \
KBUILD_SRC=/usr/src/linux-2.6.23-gentoo-r3 \
KBUILD_EXTMOD="/var/tmp/portage/x11-drivers/nvidia-drivers-100.14.19/work/NVIDIA-Linux-x86-100.14.19-pkg0/usr/src/nv" -f /usr/src/linux-2.6.23-gentoo-r3/Makefile modules
/usr/src/linux-2.6.23-gentoo-r3/Makefile:492: /usr/src/linux-2.6.23-gentoo-r3/arch/unknown/Makefile: No such file or directory
make[3]: *** No rule to make target `/usr/src/linux-2.6.23-gentoo-r3/arch/unknown/Makefile'. Stop.
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
*
* ERROR: x11-drivers/nvidia-drivers-100.14.19 failed.
* Call stack:
* ebuild.sh, line 46: Called src_compile
* environment, line 3522: Called linux-mod_src_compile
* environment, line 2612: Called die
* The specific snippet of code:
* emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || diefunc "$FUNCNAME" "$LINENO" "$?" "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
* The die message:
* Unable to make IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.23-gentoo-r3/build clean module.
*
* 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/nvidia-drivers-100.14.19/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-100.14.19/temp/environment'.
*

* Messages for package x11-drivers/nvidia-drivers-100.14.19:

*
* ERROR: x11-drivers/nvidia-drivers-100.14.19 failed.
* Call stack:
* ebuild.sh, line 46: Called src_compile
* environment, line 3522: Called linux-mod_src_compile
* environment, line 2612: Called die
* The specific snippet of code:
* emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || diefunc "$FUNCNAME" "$LINENO" "$?" "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
* The die message:
* Unable to make IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.23-gentoo-r3/build clean module.
*
* 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/nvidia-drivers-100.14.19/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-100.14.19/temp/environment'.



а теперь задача

framebuffer в ядре отсутсвует
nvidia.97 ~ 100.19.run - устанавливается на ура - так что модуль собирается (с ядром проблем нет)
linux-header - не устанавливается из-за версии патча но на какие-либо пакеты кроме этого не повлияли

как установить драйвера - ну естестенно и OPENGL через систему?
Back to top
View user's profile Send private message
Torn
n00b
n00b


Joined: 26 Dec 2007
Posts: 6

PostPosted: Wed Dec 26, 2007 4:23 pm    Post subject: Reply with quote

сдохну без OPENGL
помогите опжалйста - уже нет времнеи __баться
ощущение что есть трабла в Path к ядру или вообще
Back to top
View user's profile Send private message
viy
Veteran
Veteran


Joined: 03 Jul 2004
Posts: 1580
Location: Riga, Latvia

PostPosted: Wed Dec 26, 2007 5:00 pm    Post subject: Reply with quote

Что говорит emerge --info ?
После emerge'а собирал ли ты ядро?.. Что говорит ls -ld /usr/src ?

Судя по логу проблемы с определением твоей архитектуры.
Back to top
View user's profile Send private message
Torn
n00b
n00b


Joined: 26 Dec 2007
Posts: 6

PostPosted: Wed Dec 26, 2007 5:05 pm    Post subject: Reply with quote

drwxr-xr-x 3 root root 136 Dec 18 18:57 /usr/src

смотри какие штуки ужасные - у меня профиль вот какой - K6

Quote:
Portage 2.1.4_rc11 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.5-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 AMD Sempron(tm) 2200+
Timestamp of tree: Sat, 22 Dec 2007 19:00:02 +0000
ccache version 2.4 [disabled]
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="k6-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686"
CHOST="k6-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.tds.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.mneisen.org/gentoo ftp://files.gentoo.org ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo/ ftp://ftp.iij.ad.jp/pub/linux/gentoo/ ftp://mirrors.64hosting.com/pub/mirrors/gentoo/ "
LINGUAS="en ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="a52 aac aalib acl acpi adns alsa ao arts audiofile bash-completion berkdb bitmap-fonts bzip2 cairo caps cli cracklib crypt ctype cups curl curlwrappers db2 dbase dbm dri exif ffmpeg flac fortran ftp gcj gdbm ggi gif ginac gpm gstreamer gtk guile hal iconv icq imagemagick imlib ipv6 isdnlog jack java javascript jpeg jpeg2k lame libcaca libgda matroska midi mime mmx mng motif mp3 mpeg mudflap musepack ncurses nls nptl nptlonly openmp oss pam pcre perl pic png pppd python qt3 qt4 quicktime readline reflection ruby session slang sndfile spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode win32codecs wmf x264 x86 xine xml xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY


да собирал - но слушай - я с самого начала установок генту уже как месяц __сь с видеодровами - почему тогда устанавливаются дрова через sh.nvidiaxxxxxxxxxxxxxxxxx.run?
Back to top
View user's profile Send private message
Torn
n00b
n00b


Joined: 26 Dec 2007
Posts: 6

PostPosted: Wed Dec 26, 2007 5:06 pm    Post subject: Reply with quote

я удже запарился - точно
entoo-r3/arch/unknow

а что должно быть в entoo-r3/arch/unknow вместо гnknow - что у ТЕбя там?

CBUILD="k6-pc-linux-gnu" - у меня k6
CFLAGS="-O2 -mtune=i686" - а вот здесь может надо i586 - k6 всей серии именно такие - но епоможет ли это сейчас - уже когда система поднята

CHOST="k6-pc-linux-gnu"

блин - есть ли здесь компромитирующая строка?

поменял CBUILD="i386-pc-linux-gnu" - потому чтол в ядренной папке не было папки на атлон
CFLAGS="-O2 -mtune=i386" -

CHOST="i386-pc-linux-gnu"

СПАСИБО ЗА НЕАМЕК - а то я уже запарился - чут ьс ума не сошел

ПОМОГИ - как создать профиль в /arch/ - k6 чтобы я не переустанавливал все вообще
Back to top
View user's profile Send private message
viy
Veteran
Veteran


Joined: 03 Jul 2004
Posts: 1580
Location: Riga, Latvia

PostPosted: Wed Dec 26, 2007 8:42 pm    Post subject: Reply with quote

Установка любых "ядреных" дров требует /usr/src/linux, симлинка, который должен указывать на исходники актуального ядра.

Насколько я понял твой пост, ты исходники либо грохнул, либо ставил ядро не через порты.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian 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