ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "\"KoLyA\" " <kolyag@mail.ru>
To: community@altlinux.ru
Subject: Re[3]: [Comm] Re: XFree86 failed
Date: Tue, 02 Sep 2003 11:43:48 +0400
Message-ID: <E19u5pM-000Hqh-00.kolyag-mail-ru@f19.mail.ru> (raw)
In-Reply-To: <262089906.20030901234212@ukr.net>

 
 
-----Original Message----- 
From: Ярослав Кохан <campana@ukr.net> 
To: community@altlinux.ru 
Date: Mon, 1 Sep 2003 23:42:12 +0300 
Subject: Re[2]: [Comm] Re: XFree86 failed 
 
> 
>Shrek, 
>Monday, September 01, 2003, 10:32:09 AM, you wrote: 
> 
>>>./NVIDIA-Linux-x86-1.0-4496-pkg2.run 
--kernel-include-path=/usr/lib/kernel/2.4.20-alt6/include 
>>> 
>S> не прокатит. на gcc орать начнет. я об их установке уже устал писать 
> 
>Да, ругается. Из /var/log/nvidia-installer.log можно узнать, что 
> 
>You appear to be compiling the NVIDIA kernel module with 
>   a compiler different from the one that was used to compile  
>   the running kernel. This may be perfectly fine, but there   
>   are cases where this can lead to unexpected behaviour and   
>   system crashes.                                             
>                                                               
>   If you know what you are doing and want to override this    
>   check, you can do so by setting IGNORE_CC_MISMATCH.         
>                                                               
>   In any other case, set the CC environment variable to the   
>   name of the compiler that was used to compile the kernel.   
>                                                               
>   ^[[1;31m*** Failed cc sanity check. Bailing out! *** 
>   ^[[0mmake: *** [gcc-check] Error 1 
> 
>Хорошо. Идем Вашим путем. 
>S> по порядку: 
>S> 1. ставишь kernel24-headers (на всякий случай после установки сделай ln  
>S> -s /usr/lib/kernel/2.4.20-alt5 /usr/src/linux) 
>S> 2. выкачивай NVIDIA-Linux-x86-1.0-4496-pkg2.run 
>S> 3. sh NVIDIA-Linux-x86-1.0-4496-pkg2.run --extract-only 
>S> 4. cd NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv 
>S> 5. правим Makefile (закоментировать строки 123-140, 142, 143) 
>S> 6. выгружаем иксы 
>S> 7. в каталоге NVIDIA-Linux-x86-1.0-4496-pkg2 делаем make install 
>S> 8. правишь /etc/X11/XF86Config-4 (см. мой, секции Module и Device) 
> 
>Но объясните же чайнику, что такое "закомментировать строки": я такое видел 
>последний раз в ДОС е лет пять тому назад! И интересно, кроме того, что там в тех 
>строках такое вредное написано. 
 
во-первых, чтоб на gcc не ругалось, поставьте gcc2.96 (ядро компилируется им, а не 3.2, 
следовательно модуль nvidia тоже компилить 2.96). 
если 2.96 стот export CC=2.96 
закомментировать строки - в первый симмвол строки поставить решетки (#) 
 


  parent reply	other threads:[~2003-09-02  7:43 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-23 23:51 [Comm] " Ярослав Кохан
2003-08-24  4:48 ` scor2k
2003-08-25 14:33 ` Anton Farygin
2003-08-25 22:52   ` Re[2]: " Ярослав Кохан
2003-08-25 23:34     ` [Comm] " Ablamsky Taras
2003-08-30 14:17       ` Ярослав Кохан
2003-08-31 13:01         ` Andrey Rahmatullin
2003-08-31 17:35           ` Re[2]: " Ярослав Кохан
2003-09-01  7:19             ` Andrey Rahmatullin
2003-09-01  7:32               ` Shrek
2003-09-01 20:42                 ` Re[2]: " Ярослав Кохан
2003-09-02  4:30                   ` Shrek
2003-09-02  7:43                   ` "KoLyA"  [this message]
2003-09-04 22:21                     ` Re[4]: " Ярослав Кохан
2003-09-04 22:21                     ` Ярослав Кохан
2003-09-05  6:05                       ` Shrek
2003-09-05 23:01                         ` Re[2]: " Ярослав Кохан
2003-08-27 14:25     ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E19u5pM-000Hqh-00.kolyag-mail-ru@f19.mail.ru \
    --to=kolyag@mail.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git