[MDk 9.2] desolé encore un...

desolé encore un... [MDk 9.2] - Linux et OS Alternatifs

Marsh Posté le 16-01-2004 à 18:24:13    

'alut a tous, et desolé mais je vais poser un probleme qui est deja arriver apleins de monde mais aucune solus n'a marche.
 
en fait j'ai pas de son, j'ai un chip n-force. hors impossible d'installer les drivers afin de profiter du son integrer (je sais pourrais peut etre mettre une carte mais bon...)
 
kan je cherche a installer les pilotes j'ai ca:
(si quelqu'un ale courage de lire:))
 
 
make -C  nvnet
make[1]: Entering directory `/root/tmp/nforce/nvnet'
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes  -DCONFIG_PM  -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -fal ign-functions=4 -DMODULE -I/usr/src/linux-2.4.22/include   nvnet.c
In file included from /usr/include/linux/prefetch.h:13,
                 from /usr/include/linux/list.h:6,
                 from /usr/include/linux/module.h:11,
                 from nvnet.h:20,
                 from nvnet.c:21:
/usr/include/asm/processor.h:55: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared h ere (not in a function)
/usr/include/asm/processor.h:55: error: requested alignment is not a constant
In file included from /usr/include/linux/module.h:20,
                 from nvnet.h:20,
                 from nvnet.c:21:
/usr/include/linux/modversions.h:1:2: #error "================================== ====================="
/usr/include/linux/modversions.h:2:2: #error "You should not include /usr/includ e/{linux,asm}/ header"
/usr/include/linux/modversions.h:3:2: #error "files directly for the compilation  of kernel modules."
/usr/include/linux/modversions.h:4:2: #error ""
/usr/include/linux/modversions.h:5:2: #error "glibc now uses kernel header files  from a well-defined"
/usr/include/linux/modversions.h:6:2: #error "working kernel version (as recomme nded by Linus Torvalds)"
/usr/include/linux/modversions.h:7:2: #error "These files are glibc internal and  may not match the"
/usr/include/linux/modversions.h:8:2: #error "currently running kernel. They sho uld only be"
/usr/include/linux/modversions.h:9:2: #error "included via other system header f iles - user space"
/usr/include/linux/modversions.h:10:2: #error "programs should not directly incl ude <linux/*.h> or"
/usr/include/linux/modversions.h:11:2: #error "<asm/*.h> as well."
/usr/include/linux/modversions.h:12:2: #error ""
/usr/include/linux/modversions.h:13:2: #error "To build kernel modules please do  the following:"
/usr/include/linux/modversions.h:14:2: #error ""
/usr/include/linux/modversions.h:15:2: #error " o Have the kernel sources instal led"
/usr/include/linux/modversions.h:16:2: #error ""
/usr/include/linux/modversions.h:17:2: #error " o Make sure that the symbolic li nk"
/usr/include/linux/modversions.h:18:2: #error "   /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/modversions.h:19:2: #error "   the matching kernel source dir ectory"
/usr/include/linux/modversions.h:20:2: #error ""
/usr/include/linux/modversions.h:21:2: #error " o Now copy /boot/vmlinuz.version .h to"
/usr/include/linux/modversions.h:22:2: #error "   /lib/modules/`uname -r`/build/ include/linux/version.h"
/usr/include/linux/modversions.h:23:2: #error ""
/usr/include/linux/modversions.h:24:2: #error " o When compiling, make sure to u se the following"
/usr/include/linux/modversions.h:25:2: #error "   compiler option to use the cor rect include files:"
/usr/include/linux/modversions.h:26:2: #error ""
/usr/include/linux/modversions.h:27:2: #error "   -I/lib/modules/`uname -r`/buil d/include"
/usr/include/linux/modversions.h:28:2: #error ""
/usr/include/linux/modversions.h:29:2: #error "   instead of"
/usr/include/linux/modversions.h:30:2: #error ""
/usr/include/linux/modversions.h:31:2: #error "   -I/usr/include/linux"
/usr/include/linux/modversions.h:32:2: #error ""
/usr/include/linux/modversions.h:33:2: #error "   Please adjust the Makefile acc ordingly."
/usr/include/linux/modversions.h:34:2: #error "================================= ======================"
In file included from /usr/include/linux/module.h:297,
                 from nvnet.h:20,
                 from nvnet.c:21:
/usr/include/linux/version.h:2:2: #error "====================================== ================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended  by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may  not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the  following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build exis ts and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source directo ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t o"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/incl ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t he following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the correct  include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname -r`/build/in clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile accordi ngly."
/usr/include/linux/version.h:35:2: #error "===================================== =================="
In file included from nvnet.h:20,
                 from nvnet.c:21:
/usr/include/linux/module.h:299: error: syntax error before "UTS_RELEASE"
In file included from /usr/include/linux/mm.h:12,
                 from /usr/include/linux/slab.h:14,
                 from nvnet.h:29,
                 from nvnet.c:21:
/usr/include/linux/mmzone.h:44: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared he re (not in a function)
/usr/include/linux/mmzone.h:44: error: requested alignment is not a constant
In file included from /usr/include/asm/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:46,
                 from nvnet.h:30,
                 from nvnet.c:21:
/usr/include/linux/irq.h:65: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/irq.h:65: error: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:46,
                 from nvnet.h:30,
                 from nvnet.c:21:
/usr/include/asm/hardirq.h:16: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared her e (not in a function)
/usr/include/asm/hardirq.h:16: error: requested alignment is not a constant
In file included from nvnet.h:30,
                 from nvnet.c:21:
/usr/include/linux/interrupt.h:129: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclare d here (not in a function)
/usr/include/linux/interrupt.h:129: error: requested alignment is not a constant
In file included from nvnet.h:31,
                 from nvnet.c:21:
/usr/include/linux/version.h:2:2: #error "====================================== ================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended  by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may  not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the  following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build exis ts and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source directo ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t o"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/incl ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t he following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the correct  include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname -r`/build/in clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile accordi ngly."
/usr/include/linux/version.h:35:2: #error "===================================== =================="
In file included from nvnet.h:35,
                 from nvnet.c:21:
/usr/include/linux/netdevice.h:165: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclare d here (not in a function)
/usr/include/linux/netdevice.h:165: error: requested alignment is not a constant
In file included from nvnet.h:35,
                 from nvnet.c:21:
/usr/include/linux/netdevice.h:517: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclare d here (not in a function)
/usr/include/linux/netdevice.h:517: error: requested alignment is not a constant
nvnet.c:40:41: missing binary operator before token "("
nvnet.c:1281:41: missing binary operator before token "("
make[1]: *** [nvnet.o] Erreur 1
make[1]: Leaving directory `/root/tmp/nforce/nvnet'
make: *** [nvnet_make] Erreur 2
 
 
bref que des erreur partout koi, une petite idée?
ou sinon un bon howto
 
merci d'avance

Reply

Marsh Posté le 16-01-2004 à 18:24:13   

Reply

Marsh Posté le 16-01-2004 à 18:33:54    

??
tu veux le son et t'installe les pilotes de la carte réseau ?
Pour le son 2 solutions, sit tu prends le pilote de chez nvidia.
tu télécharge le fichier .src.rpm
tu fais un  
rpm --rebuild lefichier.src.rpm
tu repère la ligne ou il écrit  
WROTE /unchemin/unfichier.rpm
et t'installe le-dit fichier rpm avec un  
rpm -i /unchemin/unfichier.rpm
reboot et c'est bon
 
sinon faut se tourner vers les pilotes alsa, qui marchent très très bien (beaucoup mieux) et qui marchent d'ailleurs normalement sans pb dès l'install (enfin en tous cas chez moi, nforce2 inside)
 
 
ps : avant tout ça faut s'assurer d'avoir installé les sources du noyau
urpmi kernel-source

Reply

Marsh Posté le 16-01-2004 à 18:39:26    

lol, ben disons que ca install le reseau et le son, tout les trucs en natifs sur ma board koi.
 
maintenant j'ai essayer aussi avec le rpm --rebuild (fait toutles trucs qui dise sur le site nvidia) mais rien a y faire.
 
sinon si ca marche chez toi, je fais comment pour ermettre les alsa et que ca marche???  
thx

Reply

Marsh Posté le 16-01-2004 à 19:11:54    

1°/ installer le package kerne-source
 
2°/ installer le dernier noyau ( celui ki correspond à la version des kernel sources )
 
puis suivre ce ki est dit là -> http://www.linuxquestions.org/ques [...] did=120308


---------------
Mandriva : parce que nous le valons bien ! http://linux-wizard.net/index.php
Reply

Marsh Posté le 16-01-2004 à 19:31:58    

arff de l'english, on se debrouillera, bon aller on va passer une bonne soirée crois bien, merci ...

Reply

Marsh Posté le 16-01-2004 à 19:39:08    

toute les commandes sont à faire en tant ke root :

Code :
  1. urpmi kernel-source
  2. urpmi -p kernel
  3. lilo


 
http://www.mandrakesecure.net/en/a [...] A-2004:001
normalement il doit installer kernel-source-2.4.22-26mdk et kernel-2.4.22.26mdk.
 
pour vérifier les noyaux installés :
 

Code :
  1. rpm -qa | grep kernel


 
puis redémarrer et sélectionner linux.
 
vérifier la version du noyau :

Code :
  1. uname -r


 
cela doit afficher 2.4.22-26mdk. Si c'est ok, alors on peut poursuivre :
 

Code :
  1. cd /usr/src/linux
  2. make mrproper
  3. cp /boot/config ./.config
  4. make oldconfig
  5. make dep


 
http://www.nvidia.com/object/linux [...] -0261.html
 
on choppe le src.rpm des drivers nforce et on le met dans le répertoire /tmp : NVIDIA_nforce-1.0-0261.src.rpm
 
puis on compile ( avant n installe le support de compilation pour rpm ) :
 

Code :
  1. urpmi rpm-build
  2. rpm --rebuild /tmp/NVIDIA_nforce-1.0-0261.src.rpm


 
on doit apercevoir à la fin 'Wrote:/usr/src/RPM/RPMS/i586/NVIDIA_nforce-1.0-0261.i586.rpm'
 
on installe :

Code :
  1. rpm -Uvh /usr/src/RPM/RPMS/i586/NVIDIA_nforce-1.0-0261.i586.rpm


 
on vérifie ke la carte réseau est bien renseigné dans /etc/modules.conf
 
on doit avoir une ligne comme ceci :  
 

Code :
  1. alias eth0 nvnet


on lance les outil mdk
 
note : eth0 c'est si c'est la première carte réseau


Message édité par Dark_Schneider le 16-01-2004 à 19:42:25

---------------
Mandriva : parce que nous le valons bien ! http://linux-wizard.net/index.php
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed