PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : probleme beim installieren von alsa treiber



radelt
04.10.03, 18:12
hi,

also
./configure ..... funktioniert gut
aber bei make install kommt dann diese Fehlermeldung(en):

(sorry für die größe, aber ich weiß nicht weiter)

make[1]: Entering directory `/tools/alsa-driver-0.9.7a/support'
make[1]: Nothing to be done for `first_rule'.
make[1]: Leaving directory `/tools/alsa-driver-0.9.7a/support'
make[1]: Entering directory `/tools/alsa-driver-0.9.7a/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/tools/alsa-driver-0.9.7a/include -I/usr//include -O2 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -DEXPORT_SYMTAB -c memalloc.c
In file included from memalloc.inc:2,
from memalloc.c:1:
/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 /tools/alsa-driver-0.9.7a/include/adriver.h:25,
from memalloc.inc:11,
from memalloc.c:1:
/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 memalloc.inc:11,
from memalloc.c:1:
/tools/alsa-driver-0.9.7a/include/adriver.h:27:40: missing binary operator before token "("
/tools/alsa-driver-0.9.7a/include/adriver.h:30:41: missing binary operator before token "("
/tools/alsa-driver-0.9.7a/include/adriver.h:35:43: missing binary operator before token "("
In file included from /tools/alsa-driver-0.9.7a/include/adriver.h:51,
from memalloc.inc:11,
from memalloc.c:1:
/usr/include/linux/module.h:20:34: linux/modversions.h: No such file or directory
In file included from /usr/include/linux/module.h:297,
from /tools/alsa-driver-0.9.7a/include/adriver.h:51,
from memalloc.inc:11,
from memalloc.c:1:
/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 /tools/alsa-driver-0.9.7a/include/adriver.h:51,
from memalloc.inc:11,
from memalloc.c:1:
/usr/include/linux/module.h:299: error: parse error before "UTS_RELEASE"
In file included from memalloc.inc:11,
from memalloc.c:1:
/tools/alsa-driver-0.9.7a/include/adriver.h:127:40: missing binary operator before token "("
/tools/alsa-driver-0.9.7a/include/adriver.h:130:40: missing binary operator before token "("
/tools/alsa-driver-0.9.7a/include/adriver.h:165:40: missing binary operator before token "("
/tools/alsa-driver-0.9.7a/include/adriver.h:193:62: missing binary operator before token "("
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:45,
from /tools/alsa-driver-0.9.7a/include/adriver.h:205,
from memalloc.inc:11,
from memalloc.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 /usr/include/linux/interrupt.h:45,
from /tools/alsa-driver-0.9.7a/include/adriver.h:205,
from memalloc.inc:11,
from memalloc.c:1:
/usr/include/asm/hardirq.h:16: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:16: error: requested alignment is not a constant
In file included from /tools/alsa-driver-0.9.7a/include/adriver.h:205,
from memalloc.inc:11,
from memalloc.c:1:
/usr/include/linux/interrupt.h:128: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/interrupt.h:128: error: requested alignment is not a constant
/tools/alsa-driver-0.9.7a/include/adriver.h:206:40: missing binary operator before token "("
/tools/alsa-driver-0.9.7a/include/adriver.h:279:40: missing binary operator before token "("
/tools/alsa-driver-0.9.7a/include/adriver.h:347:40: missing binary operator before token "("
/tools/alsa-driver-0.9.7a/include/adriver.h:368:40: missing binary operator before token "("
/tools/alsa-driver-0.9.7a/include/adriver.h:378:40: missing binary operator before token "("
/tools/alsa-driver-0.9.7a/include/adriver.h:393:41: missing binary operator before token "("
/tools/alsa-driver-0.9.7a/include/adriver.h:403:41: missing binary operator before token "("
In file included from memalloc.c:1:
memalloc.inc:13:40: missing binary operator before token "("
memalloc.c:77:41: missing binary operator before token "("
memalloc.c: In function `preallocate_cards':
memalloc.c:846: warning: implicit declaration of function `snd_dma_device_pci'
memalloc.c: At top level:
memalloc.c:973: error: parse error before "config_must_be_included_before_module"
memalloc.c:973: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
memalloc.c:973: warning: data definition has no type or storage class
memalloc.c:974: error: parse error before "config_must_be_included_before_module"
memalloc.c:974: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
memalloc.c:974: warning: data definition has no type or storage class
memalloc.c:975: error: parse error before "config_must_be_included_before_module"
memalloc.c:975: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
memalloc.c:975: warning: data definition has no type or storage class
memalloc.c:976: error: parse error before "config_must_be_included_before_module"
memalloc.c:976: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
memalloc.c:976: warning: data definition has no type or storage class
memalloc.c:977: error: parse error before "config_must_be_included_before_module"
memalloc.c:977: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
memalloc.c:977: warning: data definition has no type or storage class
memalloc.c:979: error: parse error before "config_must_be_included_before_module"
memalloc.c:979: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
memalloc.c:979: warning: data definition has no type or storage class
memalloc.c:980: error: parse error before "config_must_be_included_before_module"
memalloc.c:980: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
memalloc.c:980: warning: data definition has no type or storage class
memalloc.c:981: error: parse error before "config_must_be_included_before_module"
memalloc.c:981: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
memalloc.c:981: warning: data definition has no type or storage class
In file included from memalloc.c:1000:
memalloc.inc1:2:40: missing binary operator before token "("
memalloc.c:37: warning: `__module_license' defined but not used
make[1]: *** [memalloc.o] Error 1
make[1]: Leaving directory `/tools/alsa-driver-0.9.7a/acore'
make: *** [compile] Error 1

ich denke ich muß einen link für eine datei erstellen, aber wie und welche.
danke für eure hilfe!

phm
05.10.03, 19:23
Ich weiss zwar nicht ob dir das was bringt, aber mach einfach mal was da steht:

To build kernel modules please do the following:"

o Have the kernel sources installed"

o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: " /lib/modules/`uname -r`/build exists and points to"
" the matching kernel source directory"
o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2:" /lib/modules/`uname -r`/build/include/linux/version.h"o When compiling, make sure to use the following"
compiler option to use the correct include files:"

-I/lib/modules/`uname -r`/build/include"

/usr/include/linux/version.h:30:2: #error " instead of"

-I/usr/include/linux"

Please adjust the Makefile accordingly."

Mehr kann ich dir da im Moment auch nicht sagen...

radelt
05.10.03, 21:02
danke,
aber durch das viele rumspielen habe ich mal wieder neu installiert.
erst ging kein sound (mit der normalen installation)
dann habe ich noch mandrake 9.1 raufgemacht (nebenbei)
und das kann nicht mit meiner usb maus, also andere ran (aber usb gellassen)
und nu - aufeinmal ist ton da....

also ich weiß ja nicht, bin ja umsteiger - aber sowas - wie soll
man das beim nächsten mal nachvollziehen?

phm
07.10.03, 14:18
Original geschrieben von radelt

also ich weiß ja nicht, bin ja umsteiger - aber sowas - wie soll
man das beim nächsten mal nachvollziehen?

Ich versteh irgendwie die Frage nicht...