[help] installation son sous linux

installation son sous linux [help] - Installation - Linux et OS Alternatifs

Marsh Posté le 29-10-2003 à 13:29:12    

Bonjour à tous,  
je tente d'installer ma carte son sous linux mais j'ai quelques difficultés.
En réalité, j'ai suivi toutes les étapes du readme livré avec les drivers linux sauf une que je ne comprend pas très bien :
 
"Edit the Makefile to suit your system"
 
Il faut éditer le fichier makefile mais je ne sais pas trop comment. Mon PC est basé sur un celeron 400MHZ, carte mère BH6, 128 MO de RAM
 
Voilà le code qu'il affiche après l'envoie de la commande make install20
 
make install AUCHIP=AU8820
make[1]: Entering directory `/home/thomas/drivers'
cc -D__KERNEL__  -DMODULE -DAU8820 -mpentium  -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/include   -c -o au_audio.o au_audio.c
`-mpentium' is deprecated. Use `-march=pentium' or `-mcpu=pentium' instead.
In file included from au_vortex.h:44,
                 from au_audio.c:49:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,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 from 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 files - 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 exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/include/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 the 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/include"
/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 accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from au_audio.c:49:
au_vortex.h:46:40: missing binary operator before '('
In file included from /usr/include/linux/module.h:297,
                 from au_vortex.h:58,
                 from au_audio.c:49:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,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 from 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 files - 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 exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/include/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 the 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/include"
/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 accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from au_vortex.h:58,
                 from au_audio.c:49:
/usr/include/linux/module.h:299: parse error before "UTS_RELEASE"
In file included from au_vortex.h:59,
                 from au_audio.c:49:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,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 from 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 files - 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 exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/include/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 the 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/include"
/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 accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from au_vortex.h:66,
                 from au_audio.c:49:
/usr/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from au_audio.c:49:
au_vortex.h:74:41: missing binary operator before '('
In file included from au_vortex.h:77,
                 from au_audio.c:49:
/usr/include/asm/spinlock.h:31: conflicting types for `spinlock_t'
/usr/include/linux/spinlock.h:73: previous declaration of `spinlock_t'
/usr/include/asm/spinlock.h:80: parse error before "do"
/usr/include/asm/spinlock.h:116: parse error before '{' token
/usr/include/asm/spinlock.h:126: parse error before "void"
/usr/include/asm/spinlock.h:157: conflicting types for `rwlock_t'
/usr/include/linux/spinlock.h:137: previous declaration of `rwlock_t'
/usr/include/asm/spinlock.h:182: parse error before "void"
/usr/include/asm/spinlock.h:191: parse error before "void"
au_vortex.h:80:41: missing binary operator before '('
au_vortex.h:118:41: missing binary operator before '('
au_vortex.h:146:41: missing binary operator before '('
au_vortex.h:197:41: missing binary operator before '('
In file included from au_audio.c:50:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,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 from 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 files - 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 exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/include/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 the 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/include"
/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 accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
au_audio.c:63:41: missing binary operator before '('
au_audio.c:78: warning: initialization from incompatible pointer type
au_audio.c:79: warning: initialization from incompatible pointer type
au_audio.c:80: warning: initialization from incompatible pointer type
au_audio.c:82: warning: initialization from incompatible pointer type
au_audio.c:83: warning: initialization from incompatible pointer type
au_audio.c:84: warning: initialization from incompatible pointer type
au_audio.c:85: warning: initialization from incompatible pointer type
au_audio.c:87: warning: initialization from incompatible pointer type
au_audio.c: In function `au_audio_read':
au_audio.c:193: warning: passing arg 1 of `interruptible_sleep_on' from incompatible pointer type
au_audio.c: In function `au_audio_write':
au_audio.c:261: warning: passing arg 1 of `interruptible_sleep_on' from incompatible pointer type
au_audio.c: In function `au_audio_poll':
au_audio.c:311: warning: passing arg 2 of `poll_wait' from incompatible pointer type
au_audio.c:313: warning: passing arg 2 of `poll_wait' from incompatible pointer type
au_audio.c:606:41: missing binary operator before '('
au_audio.c: In function `au_audio_mmap':
au_audio.c:609: structure has no member named `vm_offset'
au_audio.c:666:40: missing binary operator before '('
au_audio.c:690:40: missing binary operator before '('
au_audio.c: In function `drain_playback':
au_audio.c:724: warning: passing arg 1 of `interruptible_sleep_on' from incompatible pointer type
au_audio.c:767:41: missing binary operator before '('
au_audio.c: In function `add_wave_device':
au_audio.c:771: warning: implicit declaration of function `init_waitqueue'
au_audio.c:825:41: missing binary operator before '('
au_audio.c:838:41: missing binary operator before '('
au_audio.c: In function `get_frags':
au_audio.c:843: warning: implicit declaration of function `MAP_NR'
au_audio.c:859:41: missing binary operator before '('
au_audio.c:867:41: missing binary operator before '('
au_audio.c:879:41: missing binary operator before '('
au_audio.c: In function `set_data_format':
au_audio.c:962: warning: deprecated use of label at end of compound statement
au_audio.c: In function `au_handle_timer':
au_audio.c:1121: warning: passing arg 1 of `__wake_up' from incompatible pointer type
au_audio.c:1143: warning: passing arg 1 of `__wake_up' from incompatible pointer type
au_audio.c:1173: warning: passing arg 1 of `__wake_up' from incompatible pointer type
make[1]: *** [au_audio.o] Erreur 1
make[1]: Leaving directory `/home/thomas/drivers'
make: *** [install20] Erreur 2

 
Quelqu'un peut m'aider

Reply

Marsh Posté le 29-10-2003 à 13:29:12   

Reply

Marsh Posté le 29-10-2003 à 15:12:16    

Mon PC est basé sur un celeron 400MHZ, carte mère BH6, 128 MO de RAM


 
Il aurait peut être mieux fallut indiquer ton type de carte son.
Tu a déjà entendu parler d'ALSA ?
 
--> http://www.alsa-project.org/
Cherche ta carte son, regarde le module associer et suis la procédure.
 
(Avec les SB généralement pas de soucis, sinon ça dépend ;-) )

Reply

Marsh Posté le 29-10-2003 à 16:00:06    

Ma carte son est une "Vortex 1"Pour ce qui est des autres infos dessus. Je n'en ai pas bcp... je consulte alsa

Reply

Marsh Posté le 29-10-2003 à 16:04:33    

J'ai retrouvé la référence : c'est une diamond sonic impact s90
Pas d'infos sur le net pour des pilotes linux

Reply

Sujets relatifs:

Leave a Replay

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