[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ядро 2.6.23.1 и nvidia



Всем привет.

Делаю #./NVIDIA-Linux-x86-1.0-9639-pkg:


                 from include/linux/sched.h:53,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/sr
   c/nv/nv-linux.h:19,
                    from /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/prefetch.h: In function 'prefetch_range':
   include/linux/prefetch.h:62: warning: pointer of type 'void *' used in a
   rithmetic
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: At top leve
   l:
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:110: error:
   expected '=', ',', ';', 'asm' or '__attribute__' before
   '*' token
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
   'nvos_create_alloc':
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:332: error:
   'nv_pte_t_cache' undeclared (first use in this function)
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:332: error:
   (Each undeclared identifier is reported only once
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:332: error:
   for each function it appears in.)
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
   'nvos_free_alloc':
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:364: error:
   'nv_pte_t_cache' undeclared (first use in this function)
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
   '__nv_setup_pat_entries':
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:827: warning
   : comparison between signed and unsigned
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
   '__nv_restore_pat_entries':
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:853: warning
   : comparison between signed and unsigned
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
   'nv_kern_cpu_callback':
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1159: warnin
   g: comparison between signed and unsigned
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1166: warnin
   g: comparison between signed and unsigned
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
   'nvidia_init_module':
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1292: error:
   'nv_pte_t_cache' undeclared (first use in this function)
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1292: error:
   too many arguments to function 'kmem_cache_create'
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1426: error:
   void value not ignored as it ought to be
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
   'nvidia_exit_module':
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1453: error:
   void value not ignored as it ought to be
   /tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1557: error:
   'nv_pte_t_cache' undeclared (first use in this function)
   make[3]: *** [/tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.
   o] Ошибка 1
   make[2]: *** [_module_/tmp/selfgz22303/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/sr
   c/nv] Ошибка 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Ошибка 1
   make: *** [module] Ошибка 2
-> Error.

если устанавливать через m-a a-i nvidia то тоже самое.
С чем это может быть связано?
-- 
Best regards, Maksim A. Boyko

ICQ:  478886172

Reply to: