Re: [Comm] Установка драйвера NVIDIA

Alexey S. Kuznetsov =?iso-8859-1?q?buster_=CE=C1_vostok=2Enet=2Eua?=
Вт Июл 6 10:43:50 MSD 2004


Hello php-coder,

Tuesday, July 6, 2004, 6:00:58 AM, you wrote:

pc> 0000100101011110100100101::06.07.2004::0110001001001000100111100100010

pc>   Привет, Linuxоиды!
  
pc>   Скомпилировал новое ядро и теперь не удается установить драйвер для
pc>   видео карты.

pc>   Вот кусок файла /var/log/nvidia-installer.log:

pc>   -> Building kernel module:
pc>      executing: 'cd ./usr/src/nv; make module
pc> SYSSRC=/lib/modules/2.4.26-1cofa/bu
pc>      ild'...
pc>      echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
pc>      cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
pc>      arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -MD -D__KERNEL__ -DMO
pc>      DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE
pc>      RNEL__ -DMODULE  -DNV_MAJOR_VERSION=1
pc> -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5
pc>      336  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86       -I. -I/lib/m
pc>      odules/2.4.26-1cofa/build/include -Wno-cast-qual -Wno-error nv.c
pc>      In file included from
pc> /lib/modules/2.4.26-1cofa/build/include/linux/config.h
pc>      :4,
pc>                       from nv-linux.h:17,
pc>                       from nv.c:14:
pc>      /usr/include/linux/autoconf.h:1:38:
pc> /var/run/kernel/autoconf.h: No such file
pc>      or directory
pc>      In file included from
pc> /lib/modules/2.4.26-1cofa/build/include/linux/prefetch
pc>      .h:13,
pc>                       from
pc> /lib/modules/2.4.26-1cofa/build/include/linux/list.h:6
pc>      ,
pc>                       from
pc> /lib/modules/2.4.26-1cofa/build/include/linux/module.h
pc>      :12,
pc>                       from nv-linux.h:52,
pc>                       from nv.c:14:
pc>     
pc> /lib/modules/2.4.26-1cofa/build/include/asm/processor.h:56:
pc> `CONFIG_X86_L1_C
pc>      ACHE_SHIFT' undeclared here (not in a function)
pc>     
pc> /lib/modules/2.4.26-1cofa/build/include/asm/processor.h:56:
pc> requested alignm
pc>      ent is not a constant
pc>      In file included from
pc> /lib/modules/2.4.26-1cofa/build/include/asm/hardirq.h:
pc>      6,
pc>                       from
pc> /lib/modules/2.4.26-1cofa/build/include/linux/interrup
pc>      t.h:52,
pc>                       from nv-linux.h:75,
pc>                       from nv.c:14:
pc>      /lib/modules/2.4.26-1cofa/build/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE
pc>      _SHIFT' undeclared here (not in a function)
pc>      /lib/modules/2.4.26-1cofa/build/include/linux/irq.h:65: requested alignment
pc>      is not a constant
pc>      In file included from
pc> /lib/modules/2.4.26-1cofa/build/include/linux/interrup
pc>      t.h:52,
pc>                       from nv-linux.h:75,
pc>                       from nv.c:14:
pc>     
pc> /lib/modules/2.4.26-1cofa/build/include/asm/hardirq.h:16:
pc> `CONFIG_X86_L1_CAC
pc>      HE_SHIFT' undeclared here (not in a function)
pc>     
pc> /lib/modules/2.4.26-1cofa/build/include/asm/hardirq.h:16:
pc> requested alignmen
pc>      t is not a constant
pc>      In file included from nv-linux.h:75,
pc>                       from nv.c:14:
pc>     
pc> /lib/modules/2.4.26-1cofa/build/include/linux/interrupt.h:135:
pc> `CONFIG_X86_L
pc>      1_CACHE_SHIFT' undeclared here (not in a function)
pc>     
pc> /lib/modules/2.4.26-1cofa/build/include/linux/interrupt.h:135:
pc> requested ali
pc>      gnment is not a constant
pc>      In file included from nv.c:14:
pc>      nv-linux.h:462:2: warning: #warning "conftest.sh failed, assuming old Linux
pc>      2.4 remap_page_range(4)!"
pc>      nv.c:77: warning: `nvos_proc_remove_all' declared `static' but never defined
pc>      make[1]: *** [nv.o] Ошибка 1
pc>      make: *** [module] Ошибка 2
pc>   -> Error.
pc>   ERROR: Unable to build the NVIDIA kernel module.
pc>   ERROR: Installation has failed.  Please see the file
pc>          '/var/log/nvidia-installer.log' for details.  You may find suggestions
pc>          on fixing installation problems in the README available on the Linux
pc>        driver download page at www.nvidia.com.  
  
pc>   Незнаю, что предпринять... Что вы посоветуете - как решить проблему?
pc>   Спасибо...
  

может пакет autoconf(devel) не стоит?

-- 
Sincerely,
 Alexey S. Kuznetsov    
 AK2351-RIPE




Подробная информация о списке рассылки community