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

Aiuto errore di compilazione driver nvidia



Ciao a tutti mi chiamo Paolo e ho una Debian woody faticosamente conquistata a furia di howto e di man-page. 
Ho gia' scritto su questa lista per informazioni riguardo a una lexmark z22, e devo dire che mi avete dato il consiglio giusto, adesso non ho piu' problemi....l'ho cambiata.
Adesso mi servirebbe riuscire a far andare xvideo con una riva tnt2 per usare mplayer.
Vi prego non mi dite di cambiare scheda video, che poi magari vi ascolto e mi trovo bene!
Scherzi a parte qualcuno sa dirmi come corregere il seguente errore di compilazione del driver proprietario Nvidia:

anatra:/home/paolo/NVIDIA_kernel-1.0-4050# make
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 -ffixed-r13 -mfixed-range=f10-f15,f32-f127 -falign-functions=32 -DIA64=1 -D_LINUX64=1 -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4050   -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNV_64_BITS -DNVCPU_IA64_LINUX -DNVCPU_IA64  -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
In file included from nv.c:14:
nv-linux.h:24: linux/modversions.h: No such file or directory
make: *** [nv.o] Error 1

Anche se provo ad inserirlo in /usr/src/kernel.../include ottengo lo stesso errore.
Inoltre ,cosa ancora piu' strana,  la stessa procedura va a buon fine con i driver Nvidia proprieari di GLX.  

anatra:/home/paolo/NVIDIA_kernel-1.0-4050#  make  SYSINCLUDE=/usr/src/kernel-source-2.4.18/include
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 -ffixed-r13 -mfixed-range=f10-f15,f32-f127 -falign-functions=32 -DIA64=1 -D_LINUX64=1 -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4050   -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNV_64_BITS -DNVCPU_IA64_LINUX -DNVCPU_IA64  -I. -I/usr/src/kernel-source-2.4.18/include -Wno-cast-qual nv.c
cc1: Invalid option `fixed-range=f10-f15,f32-f127'
cc1: warning: unknown register name: r13
cc1: Invalid option `-falign-functions=32'
nv.c: In function `nv_kern_mmap':
nv.c:1354: warning: implicit declaration of function `pgprot_writecombine'
nv.c:1354: incompatible types in assignment
nv.c: In function `nv_get_phys_address':
nv.c:2186: `__IA64_UNCACHED_OFFSET' undeclared (first use in this function)
nv.c:2186: (Each undeclared identifier is reported only once
nv.c:2186: for each function it appears in.)
nv.c:2219: `_PFN_MASK' undeclared (first use in this function)
nv.c: In function `nv_agp_translate_address':
nv.c:2695: warning: cast from pointer to integer of different size
make: *** [nv.o] Error 1


La versione del kernel che uso e 2.4.18 e quella del compilatore gcc e' 2.95, mentre la scheda per cui mi serve il driver e' una tnt2.
Confido e spero nella vostra bravura perche' io ho gia' impiegato diverso tempo a cercare e provare senza nessun risultato, ed e' un peccato dover vedere i divx in un quadrato di 8cm.
Se non vi siete gia' stufati a leggere mi potreste consigliare un pachetto per avere il menu' copia-incolla con sylpheed sotto wmaker(ho provato gnome-panel,menuedit,.. ma non funge).
Ringrazio anticipatamente chiunque voglia aiutarmi.
Ciao Paolo.

  



Reply to: