Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-28-2002, 09:40 AM
|
#1
|
LQ Newbie
Registered: Sep 2002
Posts: 6
Rep:
|
Mandrake 9.0 and Turtle Beach Montego
Ok, I just got Mandrake 9.0, but I also had this problem in 8.2. I have a Turtle Beach Montego sound card, and i've tried the Aureal drivers from sourceforge. I can't quite get it to install, i get a huge list of error messages when i run the makefile... I'm not sure how to paste in the console log so i'll just tell you..
It says mostly about how you can't include certain libraries and how i should make symbolic links and modify the makefile...
So I ask, has anybody gotten Mandrake9 and an Aureal sound card to work?
|
|
|
03-29-2003, 02:21 PM
|
#2
|
LQ Newbie
Registered: Mar 2003
Distribution: Red Hat 8.0
Posts: 3
Rep:
|
My system has a Turtle Beach Montego II soundcard that came with the system (Dell Dimension XPS T 450). I installed Red Hat 8 about a week ago on this system after my laptop, which was my primary linux box came back from a repair shop destroyed.
I have not been able to get any sound working under Red Hat 8. The Montego II uses the same chip (8830) as the Aureal Vortex 2. The Red Hat soundcard configuration tool reports the card is an Aureal Vortex 2. When this machine ran Windows 200 Professional (glad those days are over!), I had to use a Vortex 2 driver to make sound work. No luck with the drivers on sourceforge for Aureal cards. When I try to compile the driver, I get errors. I'll post the errors as a reply to this post, since it's too long otherwise.
The readme that comes with the Aureal drivers states that "if you get "unresolved symbol" errors during the install,
rebuild your kernel with sound support (soundcore) built in
(not a module)." I don't know whether or not the Red Hat 8 2.4.18-27.8.0 kernel includes the soundcore. I installed the kernel recompilation tools, but don't know how to use them. Would recompiling the kernel help? Has anyone made an OEM Turtle Beach Montego II work under Red Hat 8 or any other linux distribution?
|
|
|
03-29-2003, 02:22 PM
|
#3
|
LQ Newbie
Registered: Mar 2003
Distribution: Red Hat 8.0
Posts: 3
Rep:
|
Errors when compiling Vortex 2 drivers
Code:
[root@chris aureal]# make install
cc -D__KERNEL__ -DMODULE -DAU8830 -mpentiumpro -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/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:61,
from au_audio.c:49:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/sched.h:14,
from au_vortex.h:63,
from au_audio.c:49:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from au_vortex.h:63,
from au_audio.c:49:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from au_vortex.h:63,
from au_audio.c:49:
/usr/include/asm/signal.h:107: parse error before "sigset_t"
/usr/include/asm/signal.h:110: parse error before '}' token
In file included from /usr/include/linux/sched.h:81,
from au_vortex.h:63,
from au_audio.c:49:
/usr/include/linux/timer.h:45: parse error before "spinlock_t"
/usr/include/linux/timer.h:53: parse error before '}' token
/usr/include/linux/timer.h:67: parse error before "tvec_base_t"
/usr/include/linux/timer.h:101: parse error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: dereferencing pointer to incomplete type
In file included from au_vortex.h:64,
from au_audio.c:49:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
In file included from au_vortex.h:66,
from au_audio.c:49:
/usr/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is deprecated, use linux/slab.h
In file included from au_audio.c:49:
au_vortex.h:71:25: asm/uaccess.h: No such file or directory
In file included from au_audio.c:49:
au_vortex.h: At top level:
au_vortex.h:147: parse error before "wait_queue_head_t"
au_vortex.h:147: warning: no semicolon at end of struct or union
au_vortex.h:164: parse error before ':' token
au_vortex.h:165: parse error before ':' token
au_vortex.h:166: parse error before ':' token
au_vortex.h:167: parse error before ':' token
au_vortex.h:168: warning: type defaults to `int' in declaration of `wave_stream_t'
au_vortex.h:168: warning: data definition has no type or storage class
au_vortex.h:178: parse error before "wave_stream_t"
au_vortex.h:178: warning: no semicolon at end of struct or union
au_vortex.h:179: warning: type defaults to `int' in declaration of `record_stream'
au_vortex.h:179: warning: data definition has no type or storage class
au_vortex.h:180: warning: type defaults to `int' in declaration of `wave_device_t'
au_vortex.h:180: warning: data definition has no type or storage class
au_vortex.h:198: parse error before "wait_queue_head_t"
au_vortex.h:198: warning: no semicolon at end of struct or union
au_vortex.h:199: warning: type defaults to `int' in declaration of `owait'
au_vortex.h:199: warning: data definition has no type or storage class
au_vortex.h:206: parse error before '}' token
au_vortex.h:206: warning: type defaults to `int' in declaration of `midi_device_t'
au_vortex.h:206: warning: data definition has no type or storage class
au_vortex.h:225: parse error before "spinlock_t"
au_vortex.h:225: warning: no semicolon at end of struct or union
au_vortex.h:226: warning: type defaults to `int' in declaration of `wave_head'
au_vortex.h:226: warning: data definition has no type or storage class
au_vortex.h:227: parse error before '*' token
au_vortex.h:227: warning: type defaults to `int' in declaration of `wave_tail'
au_vortex.h:227: warning: data definition has no type or storage class
au_vortex.h:228: parse error before "midi"
au_vortex.h:228: warning: type defaults to `int' in declaration of `midi'
au_vortex.h:228: warning: data definition has no type or storage class
au_vortex.h:229: parse error before ':' token
au_vortex.h:230: parse error before ':' token
au_vortex.h:231: parse error before ':' token
au_vortex.h:232: warning: type defaults to `int' in declaration of `au_device_t'
au_vortex.h:232: warning: data definition has no type or storage class
au_vortex.h:253: parse error before '*' token
au_vortex.h:254: parse error before '*' token
au_vortex.h:255: parse error before '*' token
au_vortex.h:256: parse error before '*' token
au_vortex.h:257: parse error before '*' token
au_vortex.h:261: parse error before '*' token
au_vortex.h:262: parse error before '*' token
au_vortex.h:263: parse error before '*' token
au_vortex.h:267: parse error before '*' token
au_vortex.h:268: parse error before '*' token
au_vortex.h:269: warning: `struct inode' declared inside parameter list
au_vortex.h:273: parse error before '*' token
au_vortex.h:274: parse error before '*' token
au_vortex.h:278: parse error before '*' token
au_vortex.h:278: warning: type defaults to `int' in declaration of `dev_head'
au_vortex.h:278: warning: data definition has no type or storage class
au_vortex.h:279: parse error before '*' token
au_vortex.h:279: warning: type defaults to `int' in declaration of `dev_tail'
au_vortex.h:279: warning: data definition has no type or storage class
au_vortex.h:282: parse error before '*' token
au_vortex.h:282: warning: type defaults to `int' in declaration of `find_device'
au_vortex.h:282: warning: data definition has no type or storage class
au_vortex.h:283: parse error before '*' token
au_vortex.h:283: warning: type defaults to `int' in declaration of `find_device_by_pcidev'
au_vortex.h:283: warning: data definition has no type or storage class
au_vortex.h:284: parse error before '*' token
au_vortex.h:285: parse error before '*' token
au_vortex.h:392: parse error before "au_device_t"
au_audio.c:55: warning: `struct inode' declared inside parameter list
au_audio.c:56: warning: `struct vm_area_struct' declared inside parameter list
au_audio.c:57: warning: `struct inode' declared inside parameter list
au_audio.c:58: warning: `struct inode' declared inside parameter list
au_audio.c:63: variable `audio_fops' has initializer but incomplete type
au_audio.c:65: unknown field `owner' specified in initializer
au_audio.c:65: warning: excess elements in struct initializer
au_audio.c:65: warning: (near initialization for `audio_fops')
au_audio.c:66: unknown field `llseek' specified in initializer
au_audio.c:66: warning: excess elements in struct initializer
au_audio.c:66: warning: (near initialization for `audio_fops')
au_audio.c:67: unknown field `read' specified in initializer
au_audio.c:67: warning: excess elements in struct initializer
au_audio.c:67: warning: (near initialization for `audio_fops')
au_audio.c:68: unknown field `write' specified in initializer
au_audio.c:68: warning: excess elements in struct initializer
au_audio.c:68: warning: (near initialization for `audio_fops')
au_audio.c:69: unknown field `poll' specified in initializer
au_audio.c:69: warning: excess elements in struct initializer
au_audio.c:69: warning: (near initialization for `audio_fops')
au_audio.c:70: unknown field `ioctl' specified in initializer
au_audio.c:70: warning: excess elements in struct initializer
au_audio.c:70: warning: (near initialization for `audio_fops')
au_audio.c:71: unknown field `mmap' specified in initializer
au_audio.c:71: warning: excess elements in struct initializer
au_audio.c:71: warning: (near initialization for `audio_fops')
au_audio.c:72: unknown field `open' specified in initializer
au_audio.c:72: warning: excess elements in struct initializer
au_audio.c:72: warning: (near initialization for `audio_fops')
au_audio.c:73: unknown field `release' specified in initializer
au_audio.c:73: warning: excess elements in struct initializer
au_audio.c:73: warning: (near initialization for `audio_fops')
au_audio.c:95: parse error before '*' token
au_audio.c:96: parse error before '*' token
au_audio.c:97: parse error before '*' token
au_audio.c:98: parse error before '*' token
au_audio.c:98: parse error before '*' token
au_audio.c:98: warning: type defaults to `int' in declaration of `find_wave_device'
au_audio.c:98: warning: data definition has no type or storage class
au_audio.c:99: parse error before '*' token
au_audio.c:100: parse error before '*' token
au_audio.c:101: parse error before '*' token
au_audio.c:102: parse error before '*' token
au_audio.c:103: parse error before '*' token
au_audio.c:104: parse error before '*' token
au_audio.c:105: parse error before '*' token
au_audio.c:112: parse error before '*' token
au_audio.c: In function `au_dsp_register':
au_audio.c:118: `dev' undeclared (first use in this function)
au_audio.c:118: (Each undeclared identifier is reported only once
au_audio.c:118: for each function it appears in.)
au_audio.c:118: warning: passing arg 1 of `register_sound_dsp' from incompatible pointer type
au_audio.c: At top level:
au_audio.c:122: parse error before '*' token
au_audio.c: In function `au_dsp_unregister':
au_audio.c:125: `dev' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:129: parse error before '*' token
au_audio.c: In function `au_audio_register':
au_audio.c:135: `dev' undeclared (first use in this function)
au_audio.c:135: warning: passing arg 1 of `register_sound_special' from incompatible pointer type
au_audio.c: At top level:
au_audio.c:139: parse error before '*' token
au_audio.c: In function `au_audio_unregister':
au_audio.c:141: `dev' undeclared (first use in this function)
au_audio.c: In function `au_audio_read':
au_audio.c:147: `dev' undeclared (first use in this function)
au_audio.c:147: dereferencing pointer to incomplete type
au_audio.c:148: `wdev' undeclared (first use in this function)
au_audio.c:149: `stream' undeclared (first use in this function)
au_audio.c:157: warning: implicit declaration of function `printk'
au_audio.c:157: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:157: parse error before string constant
au_audio.c:158: `ENXIO' undeclared (first use in this function)
au_audio.c:162: dereferencing pointer to incomplete type
au_audio.c:163: `ESPIPE' undeclared (first use in this function)
au_audio.c:166: warning: implicit declaration of function `access_ok'
au_audio.c:166: `VERIFY_WRITE' undeclared (first use in this function)
au_audio.c:167: `EFAULT' undeclared (first use in this function)
au_audio.c:180: warning: implicit declaration of function `spin_lock_irqsave'
au_audio.c:187: dereferencing pointer to incomplete type
au_audio.c:187: `O_NONBLOCK' undeclared (first use in this function)
au_audio.c:188: `EAGAIN' undeclared (first use in this function)
au_audio.c:189: warning: implicit declaration of function `interruptible_sleep_on'
au_audio.c:190: warning: implicit declaration of function `signal_pending'
au_audio.c:190: `current' undeclared (first use in this function)
au_audio.c:191: `ERESTARTSYS' undeclared (first use in this function)
au_audio.c: In function `au_audio_write':
au_audio.c:199: `dev' undeclared (first use in this function)
au_audio.c:199: dereferencing pointer to incomplete type
au_audio.c:200: `wdev' undeclared (first use in this function)
au_audio.c:201: `stream' undeclared (first use in this function)
au_audio.c:208: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:208: parse error before string constant
au_audio.c:209: `ENXIO' undeclared (first use in this function)
au_audio.c:214: dereferencing pointer to incomplete type
au_audio.c:215: `ESPIPE' undeclared (first use in this function)
au_audio.c:219: `VERIFY_READ' undeclared (first use in this function)
au_audio.c:220: `EFAULT' undeclared (first use in this function)
au_audio.c:244: `EAGAIN' undeclared (first use in this function)
au_audio.c:253: dereferencing pointer to incomplete type
au_audio.c:253: `O_NONBLOCK' undeclared (first use in this function)
au_audio.c:258: `current' undeclared (first use in this function)
au_audio.c:261: `ERESTARTSYS' undeclared (first use in this function)
au_audio.c:273: warning: implicit declaration of function `spin_unlock_irqrestore'
au_audio.c: In function `au_audio_poll':
au_audio.c:292: `dev' undeclared (first use in this function)
au_audio.c:292: dereferencing pointer to incomplete type
au_audio.c:293: `wdev' undeclared (first use in this function)
au_audio.c:301: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:301: parse error before string constant
au_audio.c:302: `ENXIO' undeclared (first use in this function)
au_audio.c:305: dereferencing pointer to incomplete type
au_audio.c:306: warning: implicit declaration of function `poll_wait'
au_audio.c:307: dereferencing pointer to incomplete type
au_audio.c:311: dereferencing pointer to incomplete type
au_audio.c:320: dereferencing pointer to incomplete type
au_audio.c: At top level:
au_audio.c:333: warning: `struct inode' declared inside parameter list
au_audio.c:334: conflicting types for `au_audio_ioctl'
au_audio.c:55: previous declaration of `au_audio_ioctl'
au_audio.c: In function `au_audio_ioctl':
au_audio.c:335: `dev' undeclared (first use in this function)
au_audio.c:335: dereferencing pointer to incomplete type
au_audio.c:336: `wdev' undeclared (first use in this function)
au_audio.c:337: `stream' undeclared (first use in this function)
au_audio.c:346: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:346: parse error before string constant
au_audio.c:347: `ENXIO' undeclared (first use in this function)
au_audio.c:352: warning: implicit declaration of function `put_user'
au_audio.c:356: `EINVAL' undeclared (first use in this function)
au_audio.c:358: dereferencing pointer to incomplete type
au_audio.c:358: `O_NONBLOCK' undeclared (first use in this function)
au_audio.c:365: dereferencing pointer to incomplete type
au_audio.c:388: warning: implicit declaration of function `get_user_ret'
au_audio.c:388: `EFAULT' undeclared (first use in this function)
au_audio.c:429: dereferencing pointer to incomplete type
au_audio.c:454: dereferencing pointer to incomplete type
au_audio.c:503: warning: implicit declaration of function `copy_to_user'
au_audio.c:525: dereferencing pointer to incomplete type
au_audio.c:576: warning: passing arg 1 of `au_mixer_ioctl' from incompatible pointer type
au_audio.c: At top level:
au_audio.c:579: warning: `struct vm_area_struct' declared inside parameter list
au_audio.c:580: conflicting types for `au_audio_mmap'
au_audio.c:56: previous declaration of `au_audio_mmap'
au_audio.c: In function `au_audio_mmap':
au_audio.c:581: `dev' undeclared (first use in this function)
au_audio.c:581: dereferencing pointer to incomplete type
au_audio.c:582: `wdev' undeclared (first use in this function)
au_audio.c:589: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:589: parse error before string constant
au_audio.c:590: `ENODEV' undeclared (first use in this function)
au_audio.c:594: dereferencing pointer to incomplete type
au_audio.c:598: `EINVAL' undeclared (first use in this function)
au_audio.c:599: dereferencing pointer to incomplete type
au_audio.c:599: dereferencing pointer to incomplete type
au_audio.c:601: dereferencing pointer to incomplete type
au_audio.c:601: `VM_WRITE' undeclared (first use in this function)
au_audio.c:602: `stream' undeclared (first use in this function)
au_audio.c:607: warning: implicit declaration of function `remap_page_range'
au_audio.c:607: dereferencing pointer to incomplete type
au_audio.c:607: warning: implicit declaration of function `virt_to_phys'
au_audio.c:607: dereferencing pointer to incomplete type
au_audio.c:608: `EAGAIN' undeclared (first use in this function)
au_audio.c:611: dereferencing pointer to incomplete type
au_audio.c:611: `VM_READ' undeclared (first use in this function)
au_audio.c:617: dereferencing pointer to incomplete type
au_audio.c:617: dereferencing pointer to incomplete type
au_audio.c: At top level:
au_audio.c:634: warning: `struct inode' declared inside parameter list
au_audio.c:635: conflicting types for `au_audio_open'
au_audio.c:57: previous declaration of `au_audio_open'
au_audio.c: In function `au_audio_open':
au_audio.c:636: `dev' undeclared (first use in this function)
au_audio.c:637: dereferencing pointer to incomplete type
au_audio.c:643: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:643: parse error before string constant
au_audio.c:644: `ENODEV' undeclared (first use in this function)
au_audio.c:649: parse error before string constant
au_audio.c:652: dereferencing pointer to incomplete type
au_audio.c: At top level:
au_audio.c:659: warning: `struct inode' declared inside parameter list
au_audio.c:660: conflicting types for `au_audio_release'
au_audio.c:58: previous declaration of `au_audio_release'
au_audio.c: In function `au_audio_release':
au_audio.c:661: `dev' undeclared (first use in this function)
au_audio.c:661: dereferencing pointer to incomplete type
au_audio.c:662: `wdev' undeclared (first use in this function)
au_audio.c:666: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:666: parse error before string constant
au_audio.c:667: `ENODEV' undeclared (first use in this function)
au_audio.c:670: dereferencing pointer to incomplete type
au_audio.c:670: `O_NONBLOCK' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:683: parse error before '*' token
au_audio.c: In function `drain_playback':
au_audio.c:686: `wdev' undeclared (first use in this function)
au_audio.c:696: `dev' undeclared (first use in this function)
au_audio.c:709: `nonblock' undeclared (first use in this function)
au_audio.c:712: `current' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:720: parse error before '*' token
au_audio.c: In function `add_wave_device':
au_audio.c:722: `wdev' undeclared (first use in this function)
au_audio.c:725: `file' undeclared (first use in this function)
au_audio.c:730: `dev' undeclared (first use in this function)
au_audio.c:731: `EBUSY' undeclared (first use in this function)
au_audio.c:732: parse error before ')' token
au_audio.c:734: `ENOMEM' undeclared (first use in this function)
au_audio.c:741: `dev_type' undeclared (first use in this function)
au_audio.c:755: warning: implicit declaration of function `init_waitqueue_head'
au_audio.c:770: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:770: parse error before string constant
au_audio.c:776: parse error before string constant
au_audio.c:783: parse error before string constant
au_audio.c:789: parse error before string constant
au_audio.c: At top level:
au_audio.c:808: parse error before '*' token
au_audio.c: In function `get_frags':
au_audio.c:819: `stream' undeclared (first use in this function)
au_audio.c:819: warning: implicit declaration of function `__get_free_pages'
au_audio.c:819: `GFP_KERNEL' undeclared (first use in this function)
au_audio.c:821: `ENOMEM' undeclared (first use in this function)
au_audio.c:826: warning: implicit declaration of function `virt_to_page'
au_audio.c:826: warning: assignment makes pointer from integer without a cast
au_audio.c:827: warning: assignment makes pointer from integer without a cast
au_audio.c:827: increment of pointer to unknown structure
au_audio.c:827: arithmetic on pointer to an incomplete type
au_audio.c:828: `PG_reserved' undeclared (first use in this function)
au_audio.c:828: dereferencing pointer to incomplete type
au_audio.c:835: `count' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:843: parse error before '*' token
au_audio.c: In function `free_wave_device':
au_audio.c:852: `wdev' undeclared (first use in this function)
au_audio.c:855: warning: assignment makes pointer from integer without a cast
au_audio.c:856: warning: assignment makes pointer from integer without a cast
au_audio.c:856: increment of pointer to unknown structure
au_audio.c:856: arithmetic on pointer to an incomplete type
au_audio.c:857: `PG_reserved' undeclared (first use in this function)
au_audio.c:857: dereferencing pointer to incomplete type
au_audio.c:863: warning: implicit declaration of function `free_pages'
au_audio.c:867: warning: assignment makes pointer from integer without a cast
au_audio.c:868: warning: assignment makes pointer from integer without a cast
au_audio.c:868: increment of pointer to unknown structure
au_audio.c:868: arithmetic on pointer to an incomplete type
au_audio.c:869: dereferencing pointer to incomplete type
au_audio.c:878: `dev' undeclared (first use in this function)
au_audio.c:887: warning: implicit declaration of function `kfree'
au_audio.c: At top level:
au_audio.c:890: parse error before '*' token
au_audio.c:890: parse error before '*' token
au_audio.c:891: warning: return type defaults to `int'
au_audio.c: In function `find_wave_device':
au_audio.c:893: `wdev' undeclared (first use in this function)
au_audio.c:896: `dev' undeclared (first use in this function)
au_audio.c:900: `file' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:909: parse error before '*' token
au_audio.c: In function `remove_wave_device':
au_audio.c:912: `dev' undeclared (first use in this function)
au_audio.c:914: `wdev' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:932: parse error before '*' token
au_audio.c: In function `set_data_format':
au_audio.c:934: `val' undeclared (first use in this function)
au_audio.c:939: `stream' undeclared (first use in this function)
au_audio.c:948: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:948: parse error before string constant
au_audio.c: At top level:
au_audio.c:952: parse error before '*' token
au_audio.c: In function `set_asp_format':
au_audio.c:956: `stream' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:981: parse error before '*' token
au_audio.c: In function `stop_wave':
au_audio.c:986: `stream' undeclared (first use in this function)
au_audio.c:987: `dev' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:1000: parse error before '*' token
au_audio.c: In function `receive_mem':
au_audio.c:1010: `stream' undeclared (first use in this function)
au_audio.c:1011: `dev' undeclared (first use in this function)
au_audio.c:1021: `max_size' undeclared (first use in this function)
au_audio.c:1023: `mem' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:1043: parse error before '*' token
au_audio.c: In function `send_mem':
au_audio.c:1048: `stream' undeclared (first use in this function)
au_audio.c:1054: `size' undeclared (first use in this function)
au_audio.c:1057: warning: implicit declaration of function `copy_from_user'
au_audio.c:1057: `mem' undeclared (first use in this function)
au_audio.c:1070: `dev' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:1092: parse error before '*' token
au_audio.c: In function `au_handle_timer':
au_audio.c:1094: `wdev' undeclared (first use in this function)
au_audio.c:1094: `dev' undeclared (first use in this function)
au_audio.c:1095: `stream' undeclared (first use in this function)
au_audio.c:1108: warning: implicit declaration of function `wake_up_interruptible'
au_audio.c: At top level:
au_audio.c:63: storage size of `audio_fops' isn't known
make: *** [au_audio.o] Error 1
|
|
|
06-12-2003, 04:55 PM
|
#4
|
LQ Newbie
Registered: Feb 2002
Location: Vancouver, BC, Canada
Distribution: FC6
Posts: 7
Rep:
|
Having the exact same problem and error messages on RedHat 9 (upgraded from 7.3...which was giving a whole different set of messages).
Can anyone shed some light here about possible solutions? Other than throwing the card as far and high as I can off the roof of my building 
|
|
|
06-12-2003, 10:23 PM
|
#5
|
LQ Newbie
Registered: Mar 2003
Distribution: Red Hat 8.0
Posts: 3
Rep:
|
The way I finally made the drivers work was by getting the latest drivers off the web access to CVS for the sourceforge driver project at http://cvs.sourceforge.net/cgi-bin/v...ureal/aureal/. The non-CVS version doesn't seem to work on newer kernels. An arts driver is in process, buit is far from finished, so use the above URL to go to the old driver's CVS version. If you don't want errors about gcc2 precompiled sections when loading the module, use a hex editor to open the asp30.o file and searching for gcc2 in text mode and changing it to gcc3. If your sound card uses a different aureal chip, you may need to modify one of the other .o files instead. Then compile the files using make, make install, and then make install-all. To load the module, type /sbin/insmod au8830 to load the module. If you didn't hex edit before compiling, you can use the -f switch to force the module to load. It is also possible to hex edit the au8830 module, but remember that you will have to re-edit the new module if you switch kernels and need to recompile. Good luck!
|
|
|
07-29-2003, 03:24 PM
|
#6
|
LQ Newbie
Registered: Jul 2003
Posts: 2
Rep:
|
This is what I had to do to get my Montego II working:
Make sure to have the Kernel development packages installed, then
1. Get drivers from aureal.sourceforge.net
2. Unpack
In au_audio.c there will be 2 lines that say something like (depending on where you got your drivers)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 8)
change the (2, 5, 8) to refer to your kernel version Redhat 9 should be (2, 4, 20) I think)
Leave the lines that say
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0)
alone.
3. Edit the Makefile, replacing -mpentium with -march=pentium and -mpentiumpro with -march=pentiumpro
4. As per bolt in blue's instructions, edit the asp30.o file to read gcc3 instead of gcc2.
5. at a prompt type :
make clean
su
make
make install
make install-all
6. load the module using /sbin/insmod au8830 to load the module.
Alternatively, to load the module automatically at boot up, paste
alias sound-slot-0 aureal
alias sound aureal
alias midi aureal
probeall aureal soundcore au8830
install au8830 insmod -f au8830
into /etc/modules.conf
7. The first thing you'll probably want to try is listening to an mp3 with xmms, but you'll have to get a plugin for it from http://www.xmms.org because Redhat 9 disables mp3 playing for reasons unknown to me.
Last edited by thewaxtadpole; 08-12-2003 at 02:43 PM.
|
|
|
10-07-2003, 03:26 PM
|
#7
|
Member
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600
Rep: 
|
a little late but...
I know this is a little late, but I was searching for help with compiling my own drivers and thought I might shed some light
those compile time errors were because you didn't have the kernel-sources installed. If you'll look you got a lot of errors like:
warning: #warning Using kernel header in userland!
this means that you were using headers found in /usr/include and not in /lib/modules/`uname -r`/build/include
This will actually fix a TON of errors you'll have.
Aaron
|
|
|
All times are GMT -5. The time now is 05:54 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|