Bonjour,
je suis sous la mandrake 9.2.
J'ai une carte mère MSI 865PE Neo2 avec chipset son.
le chipset audio est le cmedia cmi 9739/a.
K'ai télécharger les drivers sur le site cmedia.
je le décompresse. puis dans le readme.txt il est dit de faire un make et un
make install.
Apres avoir fait le make:
code:
[root@poste1 julien]# cd Documents/
[root@poste1 Documents]# tar xzf cmaudio-041.tar.gz
[root@poste1 Documents]# cd cm
cmaudio cmaudio-041.tar.gz
[root@poste1 Documents]# cd cmaudio
[root@poste1 cmaudio]# make
cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O -
fno-
strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4
-DM
ODULE -c -o main.o main.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 cmaudio.h:1,
from main.c:1:
/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:297,
from cmaudio.h:1,
from main.c:1:
/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 cmaudio.h:1,
from main.c:1:
/usr/include/linux/module.h:299: error: syntax error before "UTS_RELEASE"
In file included from cmaudio.h:2,
from main.c:1:
/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 /usr/include/linux/mm.h:12,
from /usr/include/linux/slab.h:14,
from cmaudio.h:9,
from main.c:1:
/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 cmaudio.h:21,
from main.c:1:
/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 cmaudio.h:21,
from main.c:1:
/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
make: *** [main.o] Erreur 1
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Hervé Riboulot
julien fougery wrote:
Bonjour, je suis sous la mandrake 9.2. J'ai une carte mère MSI 865PE Neo2 avec chipset son.
le chipset audio est le cmedia cmi 9739/a.
K'ai télécharger les drivers sur le site cmedia.
je le décompresse. puis dans le readme.txt il est dit de faire un make et un make install.
Apres avoir fait le make:
code:
[ julien]# cd Documents/ [ Documents]# tar xzf cmaudio-041.tar.gz [ Documents]# cd cm cmaudio cmaudio-041.tar.gz [ Documents]# cd cmaudio [ cmaudio]# make
cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O - fno-
strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DM ODULE -c -o main.o main.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 cmaudio.h:1, from main.c:1: /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:297, from cmaudio.h:1, from main.c:1: /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 cmaudio.h:1, from main.c:1: /usr/include/linux/module.h:299: error: syntax error before "UTS_RELEASE" In file included from cmaudio.h:2, from main.c:1: /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 /usr/include/linux/mm.h:12, from /usr/include/linux/slab.h:14, from cmaudio.h:9, from main.c:1: /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 cmaudio.h:21, from main.c:1: /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 cmaudio.h:21, from main.c:1: /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 make: *** [main.o] Erreur 1
Est ce que qqun comprend toute c erreurs???
merci
En préalable, avant make, y-a-t-il eu un ./configure?
julien fougery wrote:
Bonjour,
je suis sous la mandrake 9.2.
J'ai une carte mère MSI 865PE Neo2 avec chipset son.
le chipset audio est le cmedia cmi 9739/a.
K'ai télécharger les drivers sur le site cmedia.
je le décompresse. puis dans le readme.txt il est dit de faire un make et
un make install.
Apres avoir fait le make:
code:
[root@poste1 julien]# cd Documents/
[root@poste1 Documents]# tar xzf cmaudio-041.tar.gz
[root@poste1 Documents]# cd cm
cmaudio cmaudio-041.tar.gz
[root@poste1 Documents]# cd cmaudio
[root@poste1 cmaudio]# make
cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O
- fno-
strict-aliasing -mpreferred-stack-boundary=2 -march=i686
-falign-functions=4
-DM
ODULE -c -o main.o main.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 cmaudio.h:1,
from main.c:1:
/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:297,
from cmaudio.h:1,
from main.c:1:
/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 cmaudio.h:1,
from main.c:1:
/usr/include/linux/module.h:299: error: syntax error before
"UTS_RELEASE" In file included from cmaudio.h:2,
from main.c:1:
/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 /usr/include/linux/mm.h:12,
from /usr/include/linux/slab.h:14,
from cmaudio.h:9,
from main.c:1:
/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 cmaudio.h:21,
from main.c:1:
/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 cmaudio.h:21,
from main.c:1:
/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
make: *** [main.o] Erreur 1
Est ce que qqun comprend toute c erreurs???
merci
En préalable, avant make, y-a-t-il eu un ./configure?
Bonjour, je suis sous la mandrake 9.2. J'ai une carte mère MSI 865PE Neo2 avec chipset son.
le chipset audio est le cmedia cmi 9739/a.
K'ai télécharger les drivers sur le site cmedia.
je le décompresse. puis dans le readme.txt il est dit de faire un make et un make install.
Apres avoir fait le make:
code:
[ julien]# cd Documents/ [ Documents]# tar xzf cmaudio-041.tar.gz [ Documents]# cd cm cmaudio cmaudio-041.tar.gz [ Documents]# cd cmaudio [ cmaudio]# make
cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O - fno-
strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DM ODULE -c -o main.o main.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 cmaudio.h:1, from main.c:1: /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:297, from cmaudio.h:1, from main.c:1: /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 cmaudio.h:1, from main.c:1: /usr/include/linux/module.h:299: error: syntax error before "UTS_RELEASE" In file included from cmaudio.h:2, from main.c:1: /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 /usr/include/linux/mm.h:12, from /usr/include/linux/slab.h:14, from cmaudio.h:9, from main.c:1: /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 cmaudio.h:21, from main.c:1: /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 cmaudio.h:21, from main.c:1: /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 make: *** [main.o] Erreur 1
Est ce que qqun comprend toute c erreurs???
merci
En préalable, avant make, y-a-t-il eu un ./configure?
J. Mayer
On Sat, 22 Nov 2003 18:43:04 +0100, julien fougery wrote:
Bonjour, je suis sous la mandrake 9.2. J'ai une carte mère MSI 865PE Neo2 avec chipset son.
le chipset audio est le cmedia cmi 9739/a.
K'ai télécharger les drivers sur le site cmedia.
je le décompresse. puis dans le readme.txt il est dit de faire un make et un make install.
Apres avoir fait le make:
code:
[ julien]# cd Documents/ [ Documents]# tar xzf cmaudio-041.tar.gz [ Documents]# cd cm cmaudio cmaudio-041.tar.gz [ Documents]# cd cmaudio [ cmaudio]# make
cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O - fno-
strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DM ODULE -c -o main.o main.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 cmaudio.h:1, from main.c:1: /usr/include/asm/processor.h:55: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared h ere (not in a function)
Les sources du kernel ne sont pas configurés.
cd /usr/src/linux-2.4 && make oldconfig Ce n'est pas top, mais ça résoudra le problème.
On Sat, 22 Nov 2003 18:43:04 +0100, julien fougery wrote:
Bonjour,
je suis sous la mandrake 9.2.
J'ai une carte mère MSI 865PE Neo2 avec chipset son.
le chipset audio est le cmedia cmi 9739/a.
K'ai télécharger les drivers sur le site cmedia.
je le décompresse. puis dans le readme.txt il est dit de faire un make et un
make install.
Apres avoir fait le make:
code:
[root@poste1 julien]# cd Documents/
[root@poste1 Documents]# tar xzf cmaudio-041.tar.gz
[root@poste1 Documents]# cd cm
cmaudio cmaudio-041.tar.gz
[root@poste1 Documents]# cd cmaudio
[root@poste1 cmaudio]# make
cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O -
fno-
strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4
-DM
ODULE -c -o main.o main.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 cmaudio.h:1,
from main.c:1:
/usr/include/asm/processor.h:55: error: `CONFIG_X86_L1_CACHE_SHIFT'
undeclared h
ere (not in a function)
Les sources du kernel ne sont pas configurés.
cd /usr/src/linux-2.4 && make oldconfig
Ce n'est pas top, mais ça résoudra le problème.
On Sat, 22 Nov 2003 18:43:04 +0100, julien fougery wrote:
Bonjour, je suis sous la mandrake 9.2. J'ai une carte mère MSI 865PE Neo2 avec chipset son.
le chipset audio est le cmedia cmi 9739/a.
K'ai télécharger les drivers sur le site cmedia.
je le décompresse. puis dans le readme.txt il est dit de faire un make et un make install.
Apres avoir fait le make:
code:
[ julien]# cd Documents/ [ Documents]# tar xzf cmaudio-041.tar.gz [ Documents]# cd cm cmaudio cmaudio-041.tar.gz [ Documents]# cd cmaudio [ cmaudio]# make
cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O - fno-
strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DM ODULE -c -o main.o main.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 cmaudio.h:1, from main.c:1: /usr/include/asm/processor.h:55: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared h ere (not in a function)
Les sources du kernel ne sont pas configurés.
cd /usr/src/linux-2.4 && make oldconfig Ce n'est pas top, mais ça résoudra le problème.
julien fougery
merci beaucoup je vais essayer "J. Mayer" a écrit dans le message de news:
On Sat, 22 Nov 2003 18:43:04 +0100, julien fougery wrote:
Bonjour, je suis sous la mandrake 9.2. J'ai une carte mère MSI 865PE Neo2 avec chipset son.
le chipset audio est le cmedia cmi 9739/a.
K'ai télécharger les drivers sur le site cmedia.
je le décompresse. puis dans le readme.txt il est dit de faire un make et un
make install.
Apres avoir fait le make:
code:
[ julien]# cd Documents/ [ Documents]# tar xzf cmaudio-041.tar.gz [ Documents]# cd cm cmaudio cmaudio-041.tar.gz [ Documents]# cd cmaudio [ cmaudio]# make
cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O -
-DM ODULE -c -o main.o main.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 cmaudio.h:1, from main.c:1: /usr/include/asm/processor.h:55: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared h ere (not in a function)
Les sources du kernel ne sont pas configurés.
cd /usr/src/linux-2.4 && make oldconfig Ce n'est pas top, mais ça résoudra le problème.
merci beaucoup je vais essayer
"J. Mayer" <l_indien_no_more_spams@magic.fr> a écrit dans le message de
news:pan.2003.11.23.16.30.38.953139@magic.fr...
On Sat, 22 Nov 2003 18:43:04 +0100, julien fougery wrote:
Bonjour,
je suis sous la mandrake 9.2.
J'ai une carte mère MSI 865PE Neo2 avec chipset son.
le chipset audio est le cmedia cmi 9739/a.
K'ai télécharger les drivers sur le site cmedia.
je le décompresse. puis dans le readme.txt il est dit de faire un make
et un
make install.
Apres avoir fait le make:
code:
[root@poste1 julien]# cd Documents/
[root@poste1 Documents]# tar xzf cmaudio-041.tar.gz
[root@poste1 Documents]# cd cm
cmaudio cmaudio-041.tar.gz
[root@poste1 Documents]# cd cmaudio
[root@poste1 cmaudio]# make
cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O -
-DM
ODULE -c -o main.o main.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 cmaudio.h:1,
from main.c:1:
/usr/include/asm/processor.h:55: error: `CONFIG_X86_L1_CACHE_SHIFT'
undeclared h
ere (not in a function)
Les sources du kernel ne sont pas configurés.
cd /usr/src/linux-2.4 && make oldconfig
Ce n'est pas top, mais ça résoudra le problème.
merci beaucoup je vais essayer "J. Mayer" a écrit dans le message de news:
On Sat, 22 Nov 2003 18:43:04 +0100, julien fougery wrote:
Bonjour, je suis sous la mandrake 9.2. J'ai une carte mère MSI 865PE Neo2 avec chipset son.
le chipset audio est le cmedia cmi 9739/a.
K'ai télécharger les drivers sur le site cmedia.
je le décompresse. puis dans le readme.txt il est dit de faire un make et un
make install.
Apres avoir fait le make:
code:
[ julien]# cd Documents/ [ Documents]# tar xzf cmaudio-041.tar.gz [ Documents]# cd cm cmaudio cmaudio-041.tar.gz [ Documents]# cd cmaudio [ cmaudio]# make
cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O -
-DM ODULE -c -o main.o main.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 cmaudio.h:1, from main.c:1: /usr/include/asm/processor.h:55: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared h ere (not in a function)
Les sources du kernel ne sont pas configurés.
cd /usr/src/linux-2.4 && make oldconfig Ce n'est pas top, mais ça résoudra le problème.
Fougery julien
J. Mayer wrote:
On Sat, 22 Nov 2003 18:43:04 +0100, julien fougery wrote:
Bonjour, je suis sous la mandrake 9.2. J'ai une carte mère MSI 865PE Neo2 avec chipset son.
le chipset audio est le cmedia cmi 9739/a.
K'ai télécharger les drivers sur le site cmedia.
je le décompresse. puis dans le readme.txt il est dit de faire un make et un make install.
Apres avoir fait le make:
code:
[ julien]# cd Documents/ [ Documents]# tar xzf cmaudio-041.tar.gz [ Documents]# cd cm cmaudio cmaudio-041.tar.gz [ Documents]# cd cmaudio [ cmaudio]# make
cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O - fno-
strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DM ODULE -c -o main.o main.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 cmaudio.h:1, from main.c:1: /usr/include/asm/processor.h:55: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared h ere (not in a function)
Les sources du kernel ne sont pas configurés.
cd /usr/src/linux-2.4 && make oldconfig Ce n'est pas top, mais ça résoudra le problème.
il me met qu'il ne trouve pas le dossier linux-2.4
J. Mayer wrote:
On Sat, 22 Nov 2003 18:43:04 +0100, julien fougery wrote:
Bonjour,
je suis sous la mandrake 9.2.
J'ai une carte mère MSI 865PE Neo2 avec chipset son.
le chipset audio est le cmedia cmi 9739/a.
K'ai télécharger les drivers sur le site cmedia.
je le décompresse. puis dans le readme.txt il est dit de faire un make et un
make install.
Apres avoir fait le make:
code:
[root@poste1 julien]# cd Documents/
[root@poste1 Documents]# tar xzf cmaudio-041.tar.gz
[root@poste1 Documents]# cd cm
cmaudio cmaudio-041.tar.gz
[root@poste1 Documents]# cd cmaudio
[root@poste1 cmaudio]# make
cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O -
fno-
strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4
-DM
ODULE -c -o main.o main.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 cmaudio.h:1,
from main.c:1:
/usr/include/asm/processor.h:55: error: `CONFIG_X86_L1_CACHE_SHIFT'
undeclared h
ere (not in a function)
Les sources du kernel ne sont pas configurés.
cd /usr/src/linux-2.4 && make oldconfig
Ce n'est pas top, mais ça résoudra le problème.
il me met qu'il ne trouve pas le dossier linux-2.4
On Sat, 22 Nov 2003 18:43:04 +0100, julien fougery wrote:
Bonjour, je suis sous la mandrake 9.2. J'ai une carte mère MSI 865PE Neo2 avec chipset son.
le chipset audio est le cmedia cmi 9739/a.
K'ai télécharger les drivers sur le site cmedia.
je le décompresse. puis dans le readme.txt il est dit de faire un make et un make install.
Apres avoir fait le make:
code:
[ julien]# cd Documents/ [ Documents]# tar xzf cmaudio-041.tar.gz [ Documents]# cd cm cmaudio cmaudio-041.tar.gz [ Documents]# cd cmaudio [ cmaudio]# make
cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O - fno-
strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DM ODULE -c -o main.o main.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 cmaudio.h:1, from main.c:1: /usr/include/asm/processor.h:55: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared h ere (not in a function)
Les sources du kernel ne sont pas configurés.
cd /usr/src/linux-2.4 && make oldconfig Ce n'est pas top, mais ça résoudra le problème.
il me met qu'il ne trouve pas le dossier linux-2.4
nicolas.salguero
Fougery julien wrote in message news:<bpslh3$pm4$...
[...]
il me met qu'il ne trouve pas le dossier linux-2.4
Les sources du noyau se trouvent dans /usr/src/linux-2.4.22-10mdk ou bien /usr/src/linux-2.4.22-21mdk (cela dépend si les sources du noyau ont été mises à jour via MandrakeUpdate).
S'il n'y a pas un tel répertoire, c'est que les sources du noyau ne sont pas installées. Il faut faire en tant que root : urpmi kernel-source.
Le plus simple pour que la compilation marche est de faire : ln -s /usr/src/linux-2.4 /usr/src/linux (car c'est un lien qui pointe sur le bon répertoire).
Nico.
Fougery julien <j.fougery@wanadoo.fr> wrote in message news:<bpslh3$pm4$2@news-reader5.wanadoo.fr>...
[...]
il me met qu'il ne trouve pas le dossier linux-2.4
Les sources du noyau se trouvent dans /usr/src/linux-2.4.22-10mdk ou
bien /usr/src/linux-2.4.22-21mdk (cela dépend si les sources du noyau
ont été mises à jour via MandrakeUpdate).
S'il n'y a pas un tel répertoire, c'est que les sources du noyau ne
sont pas installées. Il faut faire en tant que root : urpmi
kernel-source.
Le plus simple pour que la compilation marche est de faire :
ln -s /usr/src/linux-2.4 /usr/src/linux (car c'est un lien qui pointe
sur le bon répertoire).
Fougery julien wrote in message news:<bpslh3$pm4$...
[...]
il me met qu'il ne trouve pas le dossier linux-2.4
Les sources du noyau se trouvent dans /usr/src/linux-2.4.22-10mdk ou bien /usr/src/linux-2.4.22-21mdk (cela dépend si les sources du noyau ont été mises à jour via MandrakeUpdate).
S'il n'y a pas un tel répertoire, c'est que les sources du noyau ne sont pas installées. Il faut faire en tant que root : urpmi kernel-source.
Le plus simple pour que la compilation marche est de faire : ln -s /usr/src/linux-2.4 /usr/src/linux (car c'est un lien qui pointe sur le bon répertoire).