LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-26-2003, 09:40 PM   #1
tommycat
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake 9.1
Posts: 15

Rep: Reputation: 0
Big suprise Aureal not working w/Mandrake 9.1


Yay, I have one of the worst sound cards for Linux.
I'm having troubles installing the drivers for my Aureal Vortex

[aureal]# make install-all
gcc -M -I/lib/modules/2.4.21-0.13mdk/build/include au_vortex.c > au_vortex.dep
gcc -M -I/lib/modules/2.4.21-0.13mdk/build/include au_vortex.c | sed s/\\.o/.dep/ >> au_vortex.dep
gcc -M -I/lib/modules/2.4.21-0.13mdk/build/include au_utils.c > au_utils.dep
gcc -M -I/lib/modules/2.4.21-0.13mdk/build/include au_utils.c | sed s/\\.o/.dep/ >> au_utils.dep
gcc -M -I/lib/modules/2.4.21-0.13mdk/build/include au_sndstat.c > au_sndstat.dep
gcc -M -I/lib/modules/2.4.21-0.13mdk/build/include au_sndstat.c | sed s/\\.o/.dep/ >> au_sndstat.dep
gcc -M -I/lib/modules/2.4.21-0.13mdk/build/include au_mixer.c > au_mixer.dep
gcc -M -I/lib/modules/2.4.21-0.13mdk/build/include au_mixer.c | sed s/\\.o/.dep/ >> au_mixer.dep
gcc -M -I/lib/modules/2.4.21-0.13mdk/build/include au_midi.c > au_midi.dep
gcc -M -I/lib/modules/2.4.21-0.13mdk/build/include au_midi.c | sed s/\\.o/.dep/ >> au_midi.dep
gcc -M -I/lib/modules/2.4.21-0.13mdk/build/include au_core.c > au_core.dep
gcc -M -I/lib/modules/2.4.21-0.13mdk/build/include au_core.c | sed s/\\.o/.dep/ >> au_core.dep
gcc -M -I/lib/modules/2.4.21-0.13mdk/build/include au_audio.c > au_audio.dep
gcc -M -I/lib/modules/2.4.21-0.13mdk/build/include au_audio.c | sed s/\\.o/.dep/ >> au_audio.dep
gcc -D__KERNEL__ -DMODULE -DAU8810 -mpentiumpro -O6 -fomit-frame-pointer -Wall -pipe -I/lib/modules/2.4.21-0.13mdk/build/include -c -o au_audio.o au_audio.c
`-mpentiumpro' is deprecated. Use `-march=pentiumpro' or `-mcpu=pentiumpro' instead.
In file included from au_vortex.h:39,
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:40:40: missing binary operator before '('
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 au_vortex.h:54,
from au_audio.c:49:
/usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:55: requested alignment is not a constant
In file included from /usr/include/linux/module.h:297,
from au_vortex.h:54,
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:54,
from au_audio.c:49:
/usr/include/linux/module.h:299: parse error before "UTS_RELEASE"
/usr/include/linux/module.h: In function `print_symbol':
/usr/include/linux/module.h:433: `ESRCH' undeclared (first use in this function)
/usr/include/linux/module.h:433: (Each undeclared identifier is reported only once
/usr/include/linux/module.h:433: for each function it appears in.)
In file included from au_vortex.h:55,
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:70:41: missing binary operator before '('
In file included from au_vortex.h:73,
from au_audio.c:49:
/usr/include/asm/spinlock.h: At top level:
/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:76:41: missing binary operator before '('
au_vortex.h:120:41: missing binary operator before '('
au_vortex.h:126:41: missing binary operator before '('
au_vortex.h:154:41: missing binary operator before '('
au_vortex.h:205: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:310: warning: passing arg 2 of `poll_wait' from incompatible pointer type
au_audio.c:312: warning: passing arg 2 of `poll_wait' from incompatible pointer type
au_audio.c:604:41: missing binary operator before '('
au_audio.c: In function `au_audio_mmap':
au_audio.c:607: structure has no member named `vm_offset'
au_audio.c:623:41: missing binary operator before '('
au_audio.c:645:41: missing binary operator before '('
au_audio.c:688:40: missing binary operator before '('
au_audio.c:712:40: missing binary operator before '('
au_audio.c: In function `drain_playback':
au_audio.c:746: warning: passing arg 1 of `interruptible_sleep_on' from incompatible pointer type
au_audio.c:789:41: missing binary operator before '('
au_audio.c: In function `add_wave_device':
au_audio.c:793: warning: implicit declaration of function `init_waitqueue'
au_audio.c:847:41: missing binary operator before '('
au_audio.c:860:41: missing binary operator before '('
au_audio.c: In function `get_frags':
au_audio.c:865: warning: implicit declaration of function `MAP_NR'
au_audio.c:881:41: missing binary operator before '('
au_audio.c:889:41: missing binary operator before '('
au_audio.c:901:41: missing binary operator before '('
au_audio.c: In function `au_handle_timer':
au_audio.c:1144: warning: passing arg 1 of `__wake_up' from incompatible pointer type
au_audio.c:1166: warning: passing arg 1 of `__wake_up' from incompatible pointer type
au_audio.c:1196: warning: passing arg 1 of `__wake_up' from incompatible pointer type
make: *** [au_audio.o] Error 1

I love how the error code REALLY helps at figuring what's wrong. Not to mention it doesn't appear to really say where the error is. at any rate I was wondering if anybody has gotten this to work

uname -r
2.4.21-0.13mdk

Last edited by tommycat; 07-26-2003 at 09:41 PM.
 
Old 07-27-2003, 11:45 AM   #2
tommycat
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
Ok I got it to compile(silly me I forgot the kernel sources).

Still doesn't seem to like it

here's the output from Modprobe
Quote:
modprobe au8810
/lib/modules/2.4.21-0.13mdk/drivers/sound/au8810.o: The module you are trying to load (/lib/modules/2.4.21-0.13mdk/drivers/sound/au8810.o) is compiled with a gcc version 2 compiler, while the kernel you are running is compiled with a gcc version 3 compiler. This is known to not work.
modprobe: insmod /lib/modules/2.4.21-0.13mdk/drivers/sound/au8810.o failed
modprobe: insmod au8810 failed

Any ideas would be appreciated

Last edited by tommycat; 07-27-2003 at 11:46 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Aureal AU8820 sound card working... ExCIA Debian 2 05-19-2005 04:09 AM
Aureal AU8810 Sound Card not working (using ALSA with Kernel 2.6.5-rc2) linchip Linux - Hardware 30 10-19-2004 02:16 PM
Aureal and Mandrake 9.1 Noob Help kcnelson541 Linux - Newbie 1 08-24-2003 10:43 PM
Mandrake 9.1 w/Aureal(8810) tommycat Linux - Newbie 0 07-27-2003 12:10 PM
Aureal Sound in Mandrake 8.0 klausB Linux - Software 1 05-24-2001 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration