Kusucha
Опытный юзверь
Группа: Заблокированные Сообщений: 146 Регистрация: 11.03.2007 Пользователь №: 353.686
Респектов: 5
| А еще я скачал драйвер для видюхи, начал ставить, а он говорит выключи сначала Х. я зашёл через XEN консольный без графики и опять запустил дрова, а он говорит хорошо, но теперь пусти меня в интернет, надо скачать Kernel installer interface для нвидиа фром фтп.нвидиа.сом, и я растерялся потому как в XEN bt-gprs-satinet запустить неполучилось, я пошел в кде, оттуда был исследован фтп и я нашёл таки NVIDIA_kernel-1.0-4365.tar.gz NVIDIA_kernel-1.0-4365-unified.tar.gz потом попытался собрать NVIDIA_kernel-1.0-4365 и он давай ругаться [CODE] linux:/home/ius/install/NVIDIA_kernel-1.0-4365 # make /bin/sh: line 0: [: !=: unary operator expected cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4365 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/lib/modules/2.6.13-15-default/build/include -Wno-cast-qual nv.c In file included from /usr/include/linux/sched.h:12, from /usr/include/linux/module.h:9, from nv-linux.h:28, from nv.c:14: /usr/include/linux/jiffies.h:42:3: error: #error You lose. /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:257:30: error: division by zero in #if In file included from /usr/include/linux/sched.h:12, from /usr/include/linux/module.h:9, from nv-linux.h:28, from nv.c:14: /usr/include/linux/jiffies.h: In function ‘jiffies_to_msecs’: /usr/include/linux/jiffies.h:262: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h:262: error: (Each undeclared identifier is reported only once /usr/include/linux/jiffies.h:262: error: for each function it appears in.) /usr/include/linux/jiffies.h:268:36: error: division by zero in #if /usr/include/linux/jiffies.h: In function ‘jiffies_to_usecs’: /usr/include/linux/jiffies.h:273: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h:281:30: error: division by zero in #if /usr/include/linux/jiffies.h: In function ‘msecs_to_jiffies’: /usr/include/linux/jiffies.h:286: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h:294:36: error: division by zero in #if /usr/include/linux/jiffies.h: In function ‘usecs_to_jiffies’: /usr/include/linux/jiffies.h:299: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h: In function ‘timespec_to_jiffies’: /usr/include/linux/jiffies.h:318: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h:324: error: ‘SHIFT_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h: In function ‘jiffies_to_timespec’: /usr/include/linux/jiffies.h:337: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h: In function ‘timeval_to_jiffies’: /usr/include/linux/jiffies.h:359: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h:363: error: ‘SHIFT_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h: In function ‘jiffies_to_timeval’: /usr/include/linux/jiffies.h:375: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h: In function ‘jiffies_to_clock_t’: /usr/include/linux/jiffies.h:386: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h: In function ‘clock_t_to_jiffies’: /usr/include/linux/jiffies.h:397: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h: In function ‘jiffies_64_to_clock_t’: /usr/include/linux/jiffies.h:417: error: ‘CONFIG_HZ’ undeclared (first use in this function) In file included from /usr/include/linux/list.h:7, from /usr/include/linux/wait.h:23, from /usr/include/asm/semaphore.h:41, from /usr/include/linux/sched.h:20, from /usr/include/linux/module.h:9, from nv-linux.h:28, from nv.c:14: /usr/include/linux/prefetch.h: In function ‘prefetch_range’: /usr/include/linux/prefetch.h:64: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared (first use in this function) In file included from /usr/include/linux/module.h:22, from nv-linux.h:28, from nv.c:14: /usr/include/asm/module.h:60:2: error: #error unknown processor family In file included from nv.c:14: nv-linux.h:51:4: error: #error This driver does not support 2.6.x or newer kernels! nv-linux.h:69:75: error: linux/tqueue.h: No such file or directory In file included from /usr/include/asm/fixmap.h:27, from /usr/include/asm/pgtable.h:17, from /usr/include/linux/mm.h:36, from /usr/include/linux/poll.h:11, from nv-linux.h:74, from nv.c:14: /usr/include/asm/acpi.h:31:28: error: acpi/pdc_intel.h: No such file or directory In file included from nv.c:14: nv-linux.h:78:75: error: linux/wrapper.h: No such file or directory In file included from /usr/include/linux/irq.h:21, from /usr/include/asm/hardirq.h:6, from /usr/include/linux/hardirq.h:7, from /usr/include/linux/interrupt.h:11, from nv-linux.h:79, from nv.c:14: /usr/include/asm/irq.h:16:25: error: irq_vectors.h: No such file or directory In file included from /usr/include/asm/hardirq.h:6, from /usr/include/linux/hardirq.h:7, from /usr/include/linux/interrupt.h:11, from nv-linux.h:79, from nv.c:14: /usr/include/linux/irq.h: At top level: /usr/include/linux/irq.h:74: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function) /usr/include/linux/irq.h:74: error: requested alignment is not a constant /usr/include/linux/irq.h:76: error: ‘NR_IRQS’ undeclared here (not in a function) In file included from /usr/include/linux/irq.h:78, from /usr/include/asm/hardirq.h:6, from /usr/include/linux/hardirq.h:7, from /usr/include/linux/interrupt.h:11, from nv-linux.h:79, from nv.c:14: /usr/include/asm/hw_irq.h:28: error: ‘NR_IRQ_VECTORS’ undeclared here (not in a function) In file included from /usr/include/linux/hardirq.h:7, from /usr/include/linux/interrupt.h:11, from nv-linux.h:79, from nv.c:14: /usr/include/asm/hardirq.h:13: error: requested alignment is not a constant In file included from nv.c:14: nv-linux.h:167:2: error: #error "Couldn't determine number of arguments expected by remap_page_range!" In file included from nv.c:14: nv-linux.h: In function ‘NV_SET_AMD_PAGE_ATTRIB’: nv-linux.h:234: warning: initialization makes pointer from integer without a cast nv-linux.h: In function ‘NV_CLEAR_AMD_PAGE_ATTRIB’: nv-linux.h:243: warning: initialization makes pointer from integer without a cast nv-linux.h: In function ‘NV_IRQL_IS_RAISED’: nv-linux.h:255: warning: implicit declaration of function ‘__save_flags’ nv.c: At top level: nv.c:39: error: array type has incomplete element type nv.c: In function ‘nvos_probe_devices’: nv.c:223: warning: implicit declaration of function ‘pci_find_class’ nv.c:223: warning: assignment makes pointer from integer without a cast nv.c:277: warning: assignment makes pointer from integer without a cast nv.c: In function ‘nvos_malloc_pages’: nv.c:373: warning: implicit declaration of function ‘mem_map_reserve’ nv.c:386: warning: implicit declaration of function ‘mem_map_unreserve’ nv.c: In function ‘nvos_create_alloc’: nv.c:439: error: invalid lvalue in assignment nv.c:449: error: invalid lvalue in assignment nv.c: In function ‘nvos_find_agp_by_class’: nv.c:520: warning: assignment makes pointer from integer without a cast nv.c:531: warning: assignment makes pointer from integer without a cast nv.c: In function ‘init_module’: nv.c:783: error: dereferencing pointer to incomplete type nv.c:784: error: dereferencing pointer to incomplete type nv.c:785: error: dereferencing pointer to incomplete type nv.c: In function ‘nv_kern_vma_open’: nv.c:922: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function) nv.c: In function ‘nv_kern_vma_release’: nv.c:956: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function) nv.c: At top level: nv.c:1047: warning: initialization from incompatible pointer type nv.c: In function ‘nv_kern_open’: nv.c:1071: error: invalid lvalue in assignment nv.c:1091: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function) nv.c:1124: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type nv.c:1141: error: invalid lvalue in assignment nv.c:1160: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function) nv.c: In function ‘nv_kern_close’: nv.c:1208: error: ‘CONFIG_HZ’ undeclared (first use in this function) nv.c:1249: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function) nv.c: In function ‘nv_kern_mmap’: nv.c:1295: warning: implicit declaration of function ‘NV_REMAP_PAGE_RANGE’ nv.c:1416: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function) nv.c: In function ‘nv_kern_ioctl’: nv.c:1525: error: invalid use of undefined type ‘struct module’ nv.c: In function ‘nv_kern_isr’: nv.c:1668: warning: implicit declaration of function ‘queue_task’ nv.c:1668: error: ‘tq_immediate’ undeclared (first use in this function) nv.c:1669: warning: implicit declaration of function ‘mark_bh’ nv.c:1669: error: ‘IMMEDIATE_BH’ undeclared (first use in this function) nv.c: In function ‘nv_kern_rc_timer’: nv.c:1693: error: ‘CONFIG_HZ’ undeclared (first use in this function) nv.c: In function ‘nv_kern_ctl_open’: nv.c:1763: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function) nv.c:1772: error: invalid lvalue in assignment nv.c: In function ‘nv_kern_ctl_close’: nv.c:1828: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function) nv.c: In function ‘nv_kern_read_cardinfo’: nv.c:1903: warning: pointer targets in passing argument 3 of ‘rm_get_device_name’ differ in signedness nv.c: In function ‘nv_get_phys_address’: nv.c:2194: warning: passing argument 1 of ‘pmd_offset’ from incompatible pointer type nv.c:2198: warning: passing argument 1 of ‘lowmem_page_address’ makes pointer from integer without a cast nv.c: In function ‘nv_alloc_pages’: nv.c:2250: warning: pointer targets in passing argument 5 of ‘KernAllocAGPPages’ differ in signedness nv.c:2281: warning: pointer targets in passing argument 6 of ‘rm_alloc_agp_pages’ differ in signedness nv.c:2309: error: invalid lvalue in assignment nv.c: In function ‘nv_agp_init’: nv.c:2637: warning: implicit declaration of function ‘inter_module_get’ nv.c:2638: warning: ‘inter_module_put’ is deprecated (declared at /usr/include/linux/module.h:572) nv.c: In function ‘nv_start_rc_timer’: nv.c:2761: error: ‘CONFIG_HZ’ undeclared (first use in this function) make: *** [nv.o] Ошибка 1 {/CODE] там не было конффигуре, только макефиле а во втором архиве NVIDIA_kernel-1.0-4365-unified.tar.gz вобще только 3 файла, неизвестно что с ними делать и я подумал что они для украинцев, т.к. на *.o nvidia-enterprise.o nvidia-smp.o nvidia-up.o
я не приуныл, понимаю что чем больше сложностей в линуксе возникает, тем больше меня это заводит
так как я ламо в линуксе, ниче не понял и теперь опять вас беспокою HELP ME HELP HELP!
вот еще ридми от видеодров, пожалуйста переведите в крации
It is recommended to use YOU (YaST Online Update) for (re)installation of the nvidia driver. There are several reasons for this. First, it's simple. Second, and this is the most important one, you won't need to recompile the nvidia kernel module after a kernel update.
Inside YOU enable "Installable and Installed Patches" for "Show Patch Category" and select "Download NVIDIA® Graphics Driver" from the patches list (usually at the bottom of the list). Note, that you need to mark it as "Update" (right mouse click) if you already installed it before and the driver was uninstalled - for any reason. Proceed as usual now. After YOU has finished restart your Xserver (i.e. logout from your Xsession) and you're fine.
People who aren't afraid of recompiling the nvidia kernel module or even reinstalling the nvidia driver each time the kernel has been updated and want or need to use the latest and greatest nvidia driver can use the following steps 1-3. The others should use the instructions above using YOU and skip the steps below.
1) Kernel sources must be installed and configured. Usually this means installing the 'kernel-source', 'make' and 'gcc' packages with YaST2. Update it - if not already done - via YaST2 Online Update (YOU).
2) Use the nvidia installer for 1.0-9746.
sh NVIDIA-Linux-x86-1.0-9746-pkg1.run -q
3) Configure X.Org with
sax2 -m 0=nvidia (0 is a digit, not a letter!)
NOTE: There is no need to try to enable 3D support. It's already enabled, when the nvidia driver is running.
Добавлено: А еще я скачал драйвер для видюхи, начал ставить, а он говорит выключи сначала Х. я зашёл через XEN консольный без графики и опять запустил дрова, а он говорит хорошо, но теперь пусти меня в интернет, надо скачать Kernel installer interface для нвидиа фром фтп.нвидиа.сом, и я растерялся потому как в XEN bt-gprs-satinet запустить неполучилось, я пошел в кде, оттуда был исследован фтп и я нашёл таки NVIDIA_kernel-1.0-4365.tar.gz NVIDIA_kernel-1.0-4365-unified.tar.gz потом попытался собрать NVIDIA_kernel-1.0-4365 и он давай ругаться [CODE] linux:/home/ius/install/NVIDIA_kernel-1.0-4365 # make /bin/sh: line 0: [: !=: unary operator expected cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4365 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/lib/modules/2.6.13-15-default/build/include -Wno-cast-qual nv.c In file included from /usr/include/linux/sched.h:12, from /usr/include/linux/module.h:9, from nv-linux.h:28, from nv.c:14: /usr/include/linux/jiffies.h:42:3: error: #error You lose. /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:213:31: error: division by zero in #if /usr/include/linux/jiffies.h:257:30: error: division by zero in #if In file included from /usr/include/linux/sched.h:12, from /usr/include/linux/module.h:9, from nv-linux.h:28, from nv.c:14: /usr/include/linux/jiffies.h: In function ‘jiffies_to_msecs’: /usr/include/linux/jiffies.h:262: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h:262: error: (Each undeclared identifier is reported only once /usr/include/linux/jiffies.h:262: error: for each function it appears in.) /usr/include/linux/jiffies.h:268:36: error: division by zero in #if /usr/include/linux/jiffies.h: In function ‘jiffies_to_usecs’: /usr/include/linux/jiffies.h:273: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h:281:30: error: division by zero in #if /usr/include/linux/jiffies.h: In function ‘msecs_to_jiffies’: /usr/include/linux/jiffies.h:286: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h:294:36: error: division by zero in #if /usr/include/linux/jiffies.h: In function ‘usecs_to_jiffies’: /usr/include/linux/jiffies.h:299: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h: In function ‘timespec_to_jiffies’: /usr/include/linux/jiffies.h:318: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h:324: error: ‘SHIFT_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h: In function ‘jiffies_to_timespec’: /usr/include/linux/jiffies.h:337: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h: In function ‘timeval_to_jiffies’: /usr/include/linux/jiffies.h:359: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h:363: error: ‘SHIFT_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h: In function ‘jiffies_to_timeval’: /usr/include/linux/jiffies.h:375: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h:385:6: error: division by zero in #if /usr/include/linux/jiffies.h: In function ‘jiffies_to_clock_t’: /usr/include/linux/jiffies.h:386: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h: In function ‘clock_t_to_jiffies’: /usr/include/linux/jiffies.h:397: error: ‘CONFIG_HZ’ undeclared (first use in this function) /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h:416:6: error: division by zero in #if /usr/include/linux/jiffies.h: In function ‘jiffies_64_to_clock_t’: /usr/include/linux/jiffies.h:417: error: ‘CONFIG_HZ’ undeclared (first use in this function) In file included from /usr/include/linux/list.h:7, from /usr/include/linux/wait.h:23, from /usr/include/asm/semaphore.h:41, from /usr/include/linux/sched.h:20, from /usr/include/linux/module.h:9, from nv-linux.h:28, from nv.c:14: /usr/include/linux/prefetch.h: In function ‘prefetch_range’: /usr/include/linux/prefetch.h:64: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared (first use in this function) In file included from /usr/include/linux/module.h:22, from nv-linux.h:28, from nv.c:14: /usr/include/asm/module.h:60:2: error: #error unknown processor family In file included from nv.c:14: nv-linux.h:51:4: error: #error This driver does not support 2.6.x or newer kernels! nv-linux.h:69:75: error: linux/tqueue.h: No such file or directory In file included from /usr/include/asm/fixmap.h:27, from /usr/include/asm/pgtable.h:17, from /usr/include/linux/mm.h:36, from /usr/include/linux/poll.h:11, from nv-linux.h:74, from nv.c:14: /usr/include/asm/acpi.h:31:28: error: acpi/pdc_intel.h: No such file or directory In file included from nv.c:14: nv-linux.h:78:75: error: linux/wrapper.h: No such file or directory In file included from /usr/include/linux/irq.h:21, from /usr/include/asm/hardirq.h:6, from /usr/include/linux/hardirq.h:7, from /usr/include/linux/interrupt.h:11, from nv-linux.h:79, from nv.c:14: /usr/include/asm/irq.h:16:25: error: irq_vectors.h: No such file or directory In file included from /usr/include/asm/hardirq.h:6, from /usr/include/linux/hardirq.h:7, from /usr/include/linux/interrupt.h:11, from nv-linux.h:79, from nv.c:14: /usr/include/linux/irq.h: At top level: /usr/include/linux/irq.h:74: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function) /usr/include/linux/irq.h:74: error: requested alignment is not a constant /usr/include/linux/irq.h:76: error: ‘NR_IRQS’ undeclared here (not in a function) In file included from /usr/include/linux/irq.h:78, from /usr/include/asm/hardirq.h:6, from /usr/include/linux/hardirq.h:7, from /usr/include/linux/interrupt.h:11, from nv-linux.h:79, from nv.c:14: /usr/include/asm/hw_irq.h:28: error: ‘NR_IRQ_VECTORS’ undeclared here (not in a function) In file included from /usr/include/linux/hardirq.h:7, from /usr/include/linux/interrupt.h:11, from nv-linux.h:79, from nv.c:14: /usr/include/asm/hardirq.h:13: error: requested alignment is not a constant In file included from nv.c:14: nv-linux.h:167:2: error: #error "Couldn't determine number of arguments expected by remap_page_range!" In file included from nv.c:14: nv-linux.h: In function ‘NV_SET_AMD_PAGE_ATTRIB’: nv-linux.h:234: warning: initialization makes pointer from integer without a cast nv-linux.h: In function ‘NV_CLEAR_AMD_PAGE_ATTRIB’: nv-linux.h:243: warning: initialization makes pointer from integer without a cast nv-linux.h: In function ‘NV_IRQL_IS_RAISED’: nv-linux.h:255: warning: implicit declaration of function ‘__save_flags’ nv.c: At top level: nv.c:39: error: array type has incomplete element type nv.c: In function ‘nvos_probe_devices’: nv.c:223: warning: implicit declaration of function ‘pci_find_class’ nv.c:223: warning: assignment makes pointer from integer without a cast nv.c:277: warning: assignment makes pointer from integer without a cast nv.c: In function ‘nvos_malloc_pages’: nv.c:373: warning: implicit declaration of function ‘mem_map_reserve’ nv.c:386: warning: implicit declaration of function ‘mem_map_unreserve’ nv.c: In function ‘nvos_create_alloc’: nv.c:439: error: invalid lvalue in assignment nv.c:449: error: invalid lvalue in assignment nv.c: In function ‘nvos_find_agp_by_class’: nv.c:520: warning: assignment makes pointer from integer without a cast nv.c:531: warning: assignment makes pointer from integer without a cast nv.c: In function ‘init_module’: nv.c:783: error: dereferencing pointer to incomplete type nv.c:784: error: dereferencing pointer to incomplete type nv.c:785: error: dereferencing pointer to incomplete type nv.c: In function ‘nv_kern_vma_open’: nv.c:922: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function) nv.c: In function ‘nv_kern_vma_release’: nv.c:956: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function) nv.c: At top level: nv.c:1047: warning: initialization from incompatible pointer type nv.c: In function ‘nv_kern_open’: nv.c:1071: error: invalid lvalue in assignment nv.c:1091: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function) nv.c:1124: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type nv.c:1141: error: invalid lvalue in assignment nv.c:1160: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function) nv.c: In function ‘nv_kern_close’: nv.c:1208: error: ‘CONFIG_HZ’ undeclared (first use in this function) nv.c:1249: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function) nv.c: In function ‘nv_kern_mmap’: nv.c:1295: warning: implicit declaration of function ‘NV_REMAP_PAGE_RANGE’ nv.c:1416: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function) nv.c: In function ‘nv_kern_ioctl’: nv.c:1525: error: invalid use of undefined type ‘struct module’ nv.c: In function ‘nv_kern_isr’: nv.c:1668: warning: implicit declaration of function ‘queue_task’ nv.c:1668: error: ‘tq_immediate’ undeclared (first use in this function) nv.c:1669: warning: implicit declaration of function ‘mark_bh’ nv.c:1669: error: ‘IMMEDIATE_BH’ undeclared (first use in this function) nv.c: In function ‘nv_kern_rc_timer’: nv.c:1693: error: ‘CONFIG_HZ’ undeclared (first use in this function) nv.c: In function ‘nv_kern_ctl_open’: nv.c:1763: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function) nv.c:1772: error: invalid lvalue in assignment nv.c: In function ‘nv_kern_ctl_close’: nv.c:1828: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function) nv.c: In function ‘nv_kern_read_cardinfo’: nv.c:1903: warning: pointer targets in passing argument 3 of ‘rm_get_device_name’ differ in signedness nv.c: In function ‘nv_get_phys_address’: nv.c:2194: warning: passing argument 1 of ‘pmd_offset’ from incompatible pointer type nv.c:2198: warning: passing argument 1 of ‘lowmem_page_address’ makes pointer from integer without a cast nv.c: In function ‘nv_alloc_pages’: nv.c:2250: warning: pointer targets in passing argument 5 of ‘KernAllocAGPPages’ differ in signedness nv.c:2281: warning: pointer targets in passing argument 6 of ‘rm_alloc_agp_pages’ differ in signedness nv.c:2309: error: invalid lvalue in assignment nv.c: In function ‘nv_agp_init’: nv.c:2637: warning: implicit declaration of function ‘inter_module_get’ nv.c:2638: warning: ‘inter_module_put’ is deprecated (declared at /usr/include/linux/module.h:572) nv.c: In function ‘nv_start_rc_timer’: nv.c:2761: error: ‘CONFIG_HZ’ undeclared (first use in this function) make: *** [nv.o] Ошибка 1 {/CODE] там не было конффигуре, только макефиле а во втором архиве NVIDIA_kernel-1.0-4365-unified.tar.gz вобще только 3 файла, неизвестно что с ними делать и я подумал что они для украинцев, т.к. на *.o nvidia-enterprise.o nvidia-smp.o nvidia-up.o
я не приуныл, понимаю что чем больше сложностей в линуксе возникает, тем больше меня это заводит
так как я ламо в линуксе, ниче не понял и теперь опять вас беспокою HELP ME HELP HELP!
вот еще ридми от видеодров, пожалуйста переведите в крации
It is recommended to use YOU (YaST Online Update) for (re)installation of the nvidia driver. There are several reasons for this. First, it's simple. Second, and this is the most important one, you won't need to recompile the nvidia kernel module after a kernel update.
Inside YOU enable "Installable and Installed Patches" for "Show Patch Category" and select "Download NVIDIA® Graphics Driver" from the patches list (usually at the bottom of the list). Note, that you need to mark it as "Update" (right mouse click) if you already installed it before and the driver was uninstalled - for any reason. Proceed as usual now. After YOU has finished restart your Xserver (i.e. logout from your Xsession) and you're fine.
People who aren't afraid of recompiling the nvidia kernel module or even reinstalling the nvidia driver each time the kernel has been updated and want or need to use the latest and greatest nvidia driver can use the following steps 1-3. The others should use the instructions above using YOU and skip the steps below.
1) Kernel sources must be installed and configured. Usually this means installing the 'kernel-source', 'make' and 'gcc' packages with YaST2. Update it - if not already done - via YaST2 Online Update (YOU).
2) Use the nvidia installer for 1.0-9746.
sh NVIDIA-Linux-x86-1.0-9746-pkg1.run -q
3) Configure X.Org with
sax2 -m 0=nvidia (0 is a digit, not a letter!)
NOTE: There is no need to try to enable 3D support. It's already enabled, when the nvidia driver is running. |