|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Jul 2001
Città: Milano
Messaggi: 578
|
driver nvidia - problema compilazione
ciao! ho knoppix 3.3 con kernel 2.6.4 compilato da me...volevo installare i driver nvidia per poter abilitare l'uscita TV, ma non posso farlo alla debian_way perchè quella mi installa i 53.36,che a me danno dei probl di FB quando chiudo X..
ho scaricato i 43.63 e ho cercato di installarli con il classico comando # sh NVIDIA-...-4363.run ma vi dava errore perchè non trovava il file /lib/modules/2.6.4/build/include/linux/modversions.h ..ho visto che tale file è presente in /lib/modules/2.6.4/build/include/congif/ così ho fatto un link simbolico che rimandasse da dove lo cercava l'installer a dov'è realmente (nei sorgenti del kernel 2.4.22 c'è in entrambe le cartelle)...ho fatto bene??? penso di si infatti adesso la compilazione parte,però poi si blocca di nuovo e non so dove sbattere la testa..posto il log.. Codice:
nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Sat Jun 19 13:39:41 2004 option status: license pre-accepted : false update : false force update : false expert : false uninstall : false driver info : false no precompiled interface: false no ncurses color : false query latest driver ver : false OpenGL header files : false no questions : false silent : false XFree86 install prefix : /usr/X11R6 OpenGL install prefix : /usr Installer install prefix: /usr kernel include path : (not specified) kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /tmp ftp site : ftp://download.nvidia.com Using: nvidia-installer ncurses user interface -> License accepted. -> No precompiled kernel interface was found to match your kernel; would you li ke the installer to attempt to download a kernel interface for your kernel f rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No) -> No precompiled kernel interface was found to match your kernel; this means that the installer will need to compile a new kernel interface. -> Kernel include path: '/lib/modules/2.6.4/build/include' -> Cleaning kernel module build directory. executing: 'cd ./usr/src/nv; make clean'... rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h * .d NVdriver nvidia.o -> Building kernel module: executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/lib/modules/2.6.4/bui ld/include'... echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp arentheses -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_PATCHLEVE L=4363 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PA GE_RANGE_5 -I. -I/lib/modules/2.6.4/build/include -Wno-cast-qual nv.c In file included from nv.c:14: nv-linux.h:51:4: #error This driver does not support 2.6.x or newer kernels! nv-linux.h:69:75: linux/tqueue.h: No such file or directory nv-linux.h:78:75: linux/wrapper.h: No such file or directory In file included from /lib/modules/2.6.4/build/include/linux/irq.h:20, from /lib/modules/2.6.4/build/include/asm/hardirq.h:6, from /lib/modules/2.6.4/build/include/linux/interrupt.h:11, from nv-linux.h:79, from nv.c:14: /lib/modules/2.6.4/build/include/asm/irq.h:16:25: irq_vectors.h: No such fil e or directory In file included from /lib/modules/2.6.4/build/include/asm/hardirq.h:6, from /lib/modules/2.6.4/build/include/linux/interrupt.h:11, from nv-linux.h:79, from nv.c:14: /lib/modules/2.6.4/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function) In file included from /lib/modules/2.6.4/build/include/linux/irq.h:72, from /lib/modules/2.6.4/build/include/asm/hardirq.h:6, from /lib/modules/2.6.4/build/include/linux/interrupt.h:11, from nv-linux.h:79, from nv.c:14: /lib/modules/2.6.4/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' un declared here (not in a function) /lib/modules/2.6.4/build/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclare d here (not in a function) In file included from nv.c:14: nv-linux.h: In function `NV_IRQL_IS_RAISED': nv-linux.h:255: warning: implicit declaration of function `__save_flags' 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: warning: use of cast expressions as lvalues is deprecated nv.c:449: warning: use of cast expressions as lvalues is deprecated nv.c: In function `init_module': nv.c:782: error: invalid use of undefined type `struct tq_struct' 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: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modul es/2.6.4/build/include/linux/module.h:515) nv.c: In function `nv_kern_vma_release': nv.c:956: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modul es/2.6.4/build/include/linux/module.h:527) nv.c: At top level: nv.c:1047: warning: initialization from incompatible pointer type nv.c: In function `nv_kern_open': nv.c:1071: warning: use of cast expressions as lvalues is deprecated nv.c:1091: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modu les/2.6.4/build/include/linux/module.h:515) nv.c:1124: warning: passing arg 2 of `request_irq' from incompatible pointer type nv.c:1160: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modu les/2.6.4/build/include/linux/module.h:527) nv.c: In function `nv_kern_close': nv.c:1249: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modu les/2.6.4/build/include/linux/module.h:527) nv.c: In function `nv_kern_mmap': nv.c:1416: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modu les/2.6.4/build/include/linux/module.h:515) nv.c: In function `nv_kern_ioctl': nv.c:1525: error: structure has no member named `uc' 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:1668: error: (Each undeclared identifier is reported only once nv.c:1668: error: for each function it appears in.) 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_ctl_open': nv.c:1763: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modu les/2.6.4/build/include/linux/module.h:515) nv.c: In function `nv_kern_ctl_close': nv.c:1828: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modu les/2.6.4/build/include/linux/module.h:527) nv.c: In function `nv_kern_read_agpinfo': nv.c:1963: error: structure has no member named `name' nv.c: At top level: nv.c:39: error: storage size of `nv_bottom_halves' isn't known make: *** [nv.o] Error 1 -> Error. ERROR: Unable to build the NVIDIA kernel module. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com. ![]() Ultima modifica di clemmy : 19-06-2004 alle 13:16. |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Jul 2001
Città: Milano
Messaggi: 578
|
no niente,come non detto,rileggendo x l'ennesima volta il log ho finalmente trovato da solo cosa c'è che non va: i kernel 2.6.x non sono supportati
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Jun 2004
Città: Besana Briansssa
Messaggi: 521
|
|
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Jul 2001
Città: Milano
Messaggi: 578
|
6 un mito!!ho risolto tutto mettendo i 4363 patchati x installarsi sul 2.6.x...GRAZIE!!!
![]() ![]() |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 05:05.