Menu

#41 Can't get install working

closed-rejected
nobody
None
5
2014-07-12
2002-06-30
Anonymous
No

I have a Turtle Beach Montegro II w/ the 8830, and I
need some help getting these drivers to work. If
anyone knows how to fix this please email me at
brad.bressler@vanderbilt.edu. Here's what I get when I
run make install:

cc -D__KERNEL__ -DMODULE -DAU8830 -mpentium -O6
-fomit-frame-pointer -Wall -pipe -I/usr/include/ -c
-o au_audio.o au_audio.c
In file included from au_vortex.h:50,
from au_audio.c:49:
/usr/include/linux/autoconf.h:1:2: #error Invalid
kernel header included in userspace
In file included from au_vortex.h:58,
from au_audio.c:49:
/usr/include/linux/module.h:60: parse error before
`atomic_t'
/usr/include/linux/module.h:60: warning: no semicolon
at end of struct or union
/usr/include/linux/module.h:60: warning: no semicolon
at end of struct or union
/usr/include/linux/module.h:62: parse error before `}'
/usr/include/linux/module.h:62: warning: type defaults
to `int' in declaration of `uc'
/usr/include/linux/module.h:62: warning: data
definition has no type or storage class
/usr/include/linux/module.h:91: parse error before `}'
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/timex.h:152,
from /usr/include/linux/sched.h:14,
from au_vortex.h:63,
from au_audio.c:49:
/usr/include/asm/timex.h:10:21: asm/msr.h: No such file
or directory
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:107: warning: no semicolon at
end of struct or union
/usr/include/asm/signal.h:110: parse error before `}'
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 /usr/include/linux/timer.h:18,
from /usr/include/linux/sched.h:81,
from au_vortex.h:63,
from au_audio.c:49:
/usr/include/linux/spinlock.h:131: parse error before `*'
In file included from au_vortex.h:65,
from au_audio.c:49:
/usr/include/linux/sound.h:30: warning: `struct
file_operations' declared inside parameter list
/usr/include/linux/sound.h:30: warning: its scope is
only this definition or declaration, which is probably
not what you want.
/usr/include/linux/sound.h:31: warning: `struct
file_operations' declared inside parameter list
/usr/include/linux/sound.h:32: warning: `struct
file_operations' declared inside parameter list
/usr/include/linux/sound.h:33: warning: `struct
file_operations' declared inside parameter list
/usr/include/linux/sound.h:34: warning: `struct
file_operations' declared inside parameter list
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: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 `:'
au_vortex.h:165: parse error before `:'
au_vortex.h:166: parse error before `:'
au_vortex.h:167: parse error before `:'
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 `}'
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:226: parse error before `wave_device_t'
au_vortex.h:226: warning: no semicolon at end of struct
or union
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 `:'
au_vortex.h:230: parse error before `:'
au_vortex.h:231: parse error before `:'
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 `*'
au_vortex.h:254: parse error before `*'
au_vortex.h:255: parse error before `*'
au_vortex.h:256: parse error before `*'
au_vortex.h:257: parse error before `*'
au_vortex.h:261: parse error before `*'
au_vortex.h:262: parse error before `*'
au_vortex.h:263: parse error before `*'
au_vortex.h:267: parse error before `*'
au_vortex.h:268: parse error before `*'
au_vortex.h:269: warning: `struct inode' declared
inside parameter list
au_vortex.h:273: parse error before `*'
au_vortex.h:274: parse error before `*'
au_vortex.h:278: parse error before `*'
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 `*'
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 `*'
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 `*'
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 `*'
au_vortex.h:285: parse error before `*'
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:59: parse error before `*'
au_audio.c:64: variable `audio_fops' has initializer
but incomplete type
au_audio.c:66: unknown field `owner' 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 `llseek' 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 `read' 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 `write' 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 `poll' 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 `ioctl' 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 `mmap' 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 `open' 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:74: unknown field `release' specified in
initializer
au_audio.c:74: warning: excess elements in struct
initializer
au_audio.c:74: warning: (near initialization for
`audio_fops')
au_audio.c:96: parse error before `*'
au_audio.c:97: parse error before `*'
au_audio.c:98: parse error before `*'
au_audio.c:99: parse error before `*'
au_audio.c:99: parse error before `*'
au_audio.c:99: warning: type defaults to `int' in
declaration of `find_wave_device'
au_audio.c:99: warning: data definition has no type or
storage class
au_audio.c:100: parse error before `*'
au_audio.c:101: parse error before `*'
au_audio.c:102: parse error before `*'
au_audio.c:103: parse error before `*'
au_audio.c:104: parse error before `*'
au_audio.c:105: parse error before `*'
au_audio.c:106: parse error before `*'
au_audio.c:113: parse error before `*'
au_audio.c: In function `au_dsp_register':
au_audio.c:119: `dev' undeclared (first use in this
function)
au_audio.c:119: (Each undeclared identifier is reported
only once
au_audio.c:119: for each function it appears in.)
au_audio.c:119: warning: passing arg 1 of
`register_sound_dsp' from incompatible pointer type
au_audio.c: At top level:
au_audio.c:123: parse error before `*'
au_audio.c: In function `au_dsp_unregister':
au_audio.c:126: `dev' undeclared (first use in this
function)
au_audio.c: At top level:
au_audio.c:130: parse error before `*'
au_audio.c: In function `au_audio_register':
au_audio.c:136: `dev' undeclared (first use in this
function)
au_audio.c:136: warning: passing arg 1 of
`register_sound_special' from incompatible pointer type
au_audio.c: At top level:
au_audio.c:140: parse error before `*'
au_audio.c: In function `au_audio_unregister':
au_audio.c:142: `dev' undeclared (first use in this
function)
au_audio.c: In function `au_audio_read':
au_audio.c:148: `dev' undeclared (first use in this
function)
au_audio.c:148: dereferencing pointer to incomplete type
au_audio.c:149: `wdev' undeclared (first use in this
function)
au_audio.c:149: warning: statement with no effect
au_audio.c:150: `stream' undeclared (first use in this
function)
au_audio.c:150: warning: statement with no effect
au_audio.c:151: parse error before `received'
au_audio.c:158: warning: implicit declaration of
function `printk'
au_audio.c:158: `KERN_WARNING' undeclared (first use in
this function)
au_audio.c:158: parse error before string constant
au_audio.c:159: `ENXIO' undeclared (first use in this
function)
au_audio.c:163: dereferencing pointer to incomplete type
au_audio.c:164: `ESPIPE' undeclared (first use in this
function)
au_audio.c:167: warning: implicit declaration of
function `access_ok'
au_audio.c:167: `VERIFY_WRITE' undeclared (first use in
this function)
au_audio.c:168: `EFAULT' undeclared (first use in this
function)
au_audio.c:175: `received' undeclared (first use in
this function)
au_audio.c:181: `xfer' undeclared (first use in this
function)
au_audio.c:191: dereferencing pointer to incomplete type
au_audio.c:191: `O_NONBLOCK' undeclared (first use in
this function)
au_audio.c:192: `EAGAIN' undeclared (first use in this
function)
au_audio.c:193: warning: implicit declaration of
function `interruptible_sleep_on'
au_audio.c:194: warning: implicit declaration of
function `signal_pending'
au_audio.c:194: `current' undeclared (first use in this
function)
au_audio.c:195: `ERESTARTSYS' undeclared (first use in
this function)
au_audio.c:199: warning: control reaches end of
non-void function
au_audio.c: In function `au_audio_write':
au_audio.c:203: `dev' undeclared (first use in this
function)
au_audio.c:203: dereferencing pointer to incomplete type
au_audio.c:204: `wdev' undeclared (first use in this
function)
au_audio.c:204: warning: statement with no effect
au_audio.c:205: `stream' undeclared (first use in this
function)
au_audio.c:205: warning: statement with no effect
au_audio.c:206: parse error before `unsigned'
au_audio.c:212: `KERN_WARNING' undeclared (first use in
this function)
au_audio.c:212: parse error before string constant
au_audio.c:213: `ENXIO' undeclared (first use in this
function)
au_audio.c:218: dereferencing pointer to incomplete type
au_audio.c:219: `ESPIPE' undeclared (first use in this
function)
au_audio.c:223: `VERIFY_READ' undeclared (first use in
this function)
au_audio.c:224: `EFAULT' undeclared (first use in this
function)
au_audio.c:231: `sent' undeclared (first use in this
function)
au_audio.c:248: `EAGAIN' undeclared (first use in this
function)
au_audio.c:257: dereferencing pointer to incomplete type
au_audio.c:257: `O_NONBLOCK' undeclared (first use in
this function)
au_audio.c:262: `current' undeclared (first use in this
function)
au_audio.c:265: `ERESTARTSYS' undeclared (first use in
this function)
au_audio.c:292: warning: control reaches end of
non-void function
au_audio.c: In function `au_audio_poll':
au_audio.c:296: `dev' undeclared (first use in this
function)
au_audio.c:296: dereferencing pointer to incomplete type
au_audio.c:297: `wdev' undeclared (first use in this
function)
au_audio.c:297: warning: statement with no effect
au_audio.c:298: parse error before `unsigned'
au_audio.c:306: `KERN_WARNING' undeclared (first use in
this function)
au_audio.c:306: parse error before string constant
au_audio.c:307: `ENXIO' undeclared (first use in this
function)
au_audio.c:310: dereferencing pointer to incomplete type
au_audio.c:311: warning: implicit declaration of
function `poll_wait'
au_audio.c:312: dereferencing pointer to incomplete type
au_audio.c:316: dereferencing pointer to incomplete type
au_audio.c:317: `i' undeclared (first use in this function)
au_audio.c:319: `mask' undeclared (first use in this
function)
au_audio.c:325: `b_count' undeclared (first use in this
function)
au_audio.c:326: dereferencing pointer to incomplete type
au_audio.c:337: warning: control reaches end of
non-void function
au_audio.c: At top level:
au_audio.c:339: warning: `struct inode' declared inside
parameter list
au_audio.c:340: 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:341: `dev' undeclared (first use in this
function)
au_audio.c:341: dereferencing pointer to incomplete type
au_audio.c:342: `wdev' undeclared (first use in this
function)
au_audio.c:342: warning: statement with no effect
au_audio.c:343: `stream' undeclared (first use in this
function)
au_audio.c:343: warning: statement with no effect
au_audio.c:344: parse error before `abinfo'
au_audio.c:352: `KERN_WARNING' undeclared (first use in
this function)
au_audio.c:352: parse error before string constant
au_audio.c:353: `ENXIO' undeclared (first use in this
function)
au_audio.c:358: warning: implicit declaration of
function `put_user'
au_audio.c:362: `EINVAL' undeclared (first use in this
function)
au_audio.c:364: dereferencing pointer to incomplete type
au_audio.c:364: `O_NONBLOCK' undeclared (first use in
this function)
au_audio.c:371: dereferencing pointer to incomplete type
au_audio.c:394: warning: implicit declaration of
function `get_user'
au_audio.c:394: `val' undeclared (first use in this
function)
au_audio.c:395: `EFAULT' undeclared (first use in this
function)
au_audio.c:440: dereferencing pointer to incomplete type
au_audio.c:448: `i' undeclared (first use in this function)
au_audio.c:465: dereferencing pointer to incomplete type
au_audio.c:499: `abinfo' undeclared (first use in this
function)
au_audio.c:514: warning: implicit declaration of
function `copy_to_user'
au_audio.c:536: dereferencing pointer to incomplete type
au_audio.c:548: `cinfo' undeclared (first use in this
function)
au_audio.c:589: warning: passing arg 1 of
`au_mixer_ioctl' from incompatible pointer type
au_audio.c: At top level:
au_audio.c:592: warning: `struct vm_area_struct'
declared inside parameter list
au_audio.c:593: 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:594: `dev' undeclared (first use in this
function)
au_audio.c:594: dereferencing pointer to incomplete type
au_audio.c:595: `wdev' undeclared (first use in this
function)
au_audio.c:595: warning: statement with no effect
au_audio.c:596: parse error before `unsigned'
au_audio.c:602: `KERN_WARNING' undeclared (first use in
this function)
au_audio.c:602: parse error before string constant
au_audio.c:603: `ENODEV' undeclared (first use in this
function)
au_audio.c:607: dereferencing pointer to incomplete type
au_audio.c:611: `EINVAL' undeclared (first use in this
function)
au_audio.c:612: `size' undeclared (first use in this
function)
au_audio.c:612: dereferencing pointer to incomplete type
au_audio.c:612: dereferencing pointer to incomplete type
au_audio.c:614: dereferencing pointer to incomplete type
au_audio.c:614: `VM_WRITE' undeclared (first use in
this function)
au_audio.c:615: `stream' undeclared (first use in this
function)
au_audio.c:620: warning: implicit declaration of
function `remap_page_range'
au_audio.c:620: dereferencing pointer to incomplete type
au_audio.c:620: warning: implicit declaration of
function `virt_to_phys'
au_audio.c:620: dereferencing pointer to incomplete type
au_audio.c:621: `EAGAIN' undeclared (first use in this
function)
au_audio.c:624: dereferencing pointer to incomplete type
au_audio.c:624: `VM_READ' undeclared (first use in this
function)
au_audio.c:630: dereferencing pointer to incomplete type
au_audio.c:630: dereferencing pointer to incomplete type
au_audio.c: At top level:
au_audio.c:647: warning: `struct inode' declared inside
parameter list
au_audio.c:648: 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:649: `dev' undeclared (first use in this
function)
au_audio.c:649: warning: statement with no effect
au_audio.c:650: parse error before `int'
au_audio.c:654: `minor_num' undeclared (first use in
this function)
au_audio.c:656: `KERN_WARNING' undeclared (first use in
this function)
au_audio.c:656: parse error before string constant
au_audio.c:657: `ENODEV' undeclared (first use in this
function)
au_audio.c:660: `status' undeclared (first use in this
function)
au_audio.c:660: `dev_type' undeclared (first use in
this function)
au_audio.c:662: parse error before string constant
au_audio.c:665: dereferencing pointer to incomplete type
au_audio.c: At top level:
au_audio.c:672: warning: `struct inode' declared inside
parameter list
au_audio.c:673: 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:674: `dev' undeclared (first use in this
function)
au_audio.c:674: dereferencing pointer to incomplete type
au_audio.c:675: `wdev' undeclared (first use in this
function)
au_audio.c:675: warning: statement with no effect
au_audio.c:679: `KERN_WARNING' undeclared (first use in
this function)
au_audio.c:679: parse error before string constant
au_audio.c:680: `ENODEV' undeclared (first use in this
function)
au_audio.c:683: dereferencing pointer to incomplete type
au_audio.c:683: `O_NONBLOCK' undeclared (first use in
this function)
au_audio.c: At top level:
au_audio.c:696: parse error before `*'
au_audio.c: In function `drain_playback':
au_audio.c:699: `wdev' undeclared (first use in this
function)
au_audio.c:709: `dev' undeclared (first use in this
function)
au_audio.c:722: `nonblock' undeclared (first use in
this function)
au_audio.c:725: `current' undeclared (first use in this
function)
au_audio.c: At top level:
au_audio.c:733: parse error before `*'
au_audio.c: In function `add_wave_device':
au_audio.c:735: `wdev' undeclared (first use in this
function)
au_audio.c:735: warning: statement with no effect
au_audio.c:736: parse error before `int'
au_audio.c:743: `enable_record' undeclared (first use
in this function)
au_audio.c:743: `dev' undeclared (first use in this
function)
au_audio.c:744: `EBUSY' undeclared (first use in this
function)
au_audio.c:745: parse error before `)'
au_audio.c:747: `ENOMEM' undeclared (first use in this
function)
au_audio.c:754: `dev_type' undeclared (first use in
this function)
au_audio.c:755: case label not within a switch statement
au_audio.c:756: default label not within a switch statement
au_audio.c:759: break statement not within loop or switch
au_audio.c:760: case label not within a switch statement
au_audio.c:763: break statement not within loop or switch
au_audio.c:766: `file' undeclared (first use in this
function)
au_audio.c:768: warning: implicit declaration of
function `init_waitqueue_head'
au_audio.c:781: `enable_playback' undeclared (first use
in this function)
au_audio.c:783: `KERN_WARNING' undeclared (first use in
this function)
au_audio.c:783: parse error before string constant
au_audio.c:787: `status' undeclared (first use in this
function)
au_audio.c:787: `fmt' undeclared (first use in this
function)
au_audio.c:789: parse error before string constant
au_audio.c:796: parse error before string constant
au_audio.c:802: parse error before string constant
au_audio.c: At top level:
au_audio.c:821: parse error before `*'
au_audio.c: In function `get_frags':
au_audio.c:832: `stream' undeclared (first use in this
function)
au_audio.c:832: warning: implicit declaration of
function `__get_free_pages'
au_audio.c:832: `GFP_KERNEL' undeclared (first use in
this function)
au_audio.c:834: `ENOMEM' undeclared (first use in this
function)
au_audio.c:839: warning: implicit declaration of
function `virt_to_page'
au_audio.c:839: warning: assignment makes pointer from
integer without a cast
au_audio.c:840: warning: assignment makes pointer from
integer without a cast
au_audio.c:840: increment of pointer to unknown structure
au_audio.c:840: arithmetic on pointer to an incomplete type
au_audio.c:841: `PG_reserved' undeclared (first use in
this function)
au_audio.c:841: dereferencing pointer to incomplete type
au_audio.c:848: `count' undeclared (first use in this
function)
au_audio.c: At top level:
au_audio.c:856: parse error before `*'
au_audio.c: In function `free_wave_device':
au_audio.c:865: `wdev' undeclared (first use in this
function)
au_audio.c:868: warning: assignment makes pointer from
integer without a cast
au_audio.c:869: warning: assignment makes pointer from
integer without a cast
au_audio.c:869: increment of pointer to unknown structure
au_audio.c:869: arithmetic on pointer to an incomplete type
au_audio.c:870: `PG_reserved' undeclared (first use in
this function)
au_audio.c:870: dereferencing pointer to incomplete type
au_audio.c:876: warning: implicit declaration of
function `free_pages'
au_audio.c:880: warning: assignment makes pointer from
integer without a cast
au_audio.c:881: warning: assignment makes pointer from
integer without a cast
au_audio.c:881: increment of pointer to unknown structure
au_audio.c:881: arithmetic on pointer to an incomplete type
au_audio.c:882: dereferencing pointer to incomplete type
au_audio.c:891: `dev' undeclared (first use in this
function)
au_audio.c:900: warning: implicit declaration of
function `kfree'
au_audio.c: At top level:
au_audio.c:903: parse error before `*'
au_audio.c:903: parse error before `*'
au_audio.c:904: warning: return type defaults to `int'
au_audio.c: In function `find_wave_device':
au_audio.c:906: `wdev' undeclared (first use in this
function)
au_audio.c:906: warning: statement with no effect
au_audio.c:909: `dev' undeclared (first use in this
function)
au_audio.c:913: `file' undeclared (first use in this
function)
au_audio.c:920: warning: control reaches end of
non-void function
au_audio.c: At top level:
au_audio.c:922: parse error before `*'
au_audio.c: In function `remove_wave_device':
au_audio.c:925: `dev' undeclared (first use in this
function)
au_audio.c:927: `wdev' undeclared (first use in this
function)
au_audio.c: At top level:
au_audio.c:945: parse error before `*'
au_audio.c: In function `set_data_format':
au_audio.c:947: `val' undeclared (first use in this
function)
au_audio.c:948: case label not within a switch statement
au_audio.c:949: case label not within a switch statement
au_audio.c:950: case label not within a switch statement
au_audio.c:951: case label not within a switch statement
au_audio.c:952: `stream' undeclared (first use in this
function)
au_audio.c:953: break statement not within loop or switch
au_audio.c:954: case label not within a switch statement
au_audio.c:955: case label not within a switch statement
au_audio.c:956: case label not within a switch statement
au_audio.c:957: case label not within a switch statement
au_audio.c:958: case label not within a switch statement
au_audio.c:960: default label not within a switch statement
au_audio.c: At top level:
au_audio.c:965: parse error before `*'
au_audio.c: In function `set_asp_format':
au_audio.c:969: `stream' undeclared (first use in this
function)
au_audio.c:970: case label not within a switch statement
au_audio.c:971: default label not within a switch statement
au_audio.c:974: break statement not within loop or switch
au_audio.c:975: case label not within a switch statement
au_audio.c:978: break statement not within loop or switch
au_audio.c:979: case label not within a switch statement
au_audio.c:982: break statement not within loop or switch
au_audio.c:983: case label not within a switch statement
au_audio.c:986: break statement not within loop or switch
au_audio.c: At top level:
au_audio.c:994: parse error before `*'
au_audio.c: In function `stop_wave':
au_audio.c:999: `stream' undeclared (first use in this
function)
au_audio.c:1000: `dev' undeclared (first use in this
function)
au_audio.c: At top level:
au_audio.c:1013: parse error before `*'
au_audio.c: In function `receive_mem':
au_audio.c:1023: `stream' undeclared (first use in this
function)
au_audio.c:1024: `dev' undeclared (first use in this
function)
au_audio.c:1034: `max_size' undeclared (first use in
this function)
au_audio.c:1036: `mem' undeclared (first use in this
function)
au_audio.c: At top level:
au_audio.c:1056: parse error before `*'
au_audio.c: In function `send_mem':
au_audio.c:1061: `stream' undeclared (first use in this
function)
au_audio.c:1067: `size' undeclared (first use in this
function)
au_audio.c:1070: warning: implicit declaration of
function `copy_from_user'
au_audio.c:1070: `mem' undeclared (first use in this
function)
au_audio.c:1083: `dev' undeclared (first use in this
function)
au_audio.c: At top level:
au_audio.c:1105: parse error before `*'
au_audio.c: In function `au_handle_timer':
au_audio.c:1107: `wdev' undeclared (first use in this
function)
au_audio.c:1107: `dev' undeclared (first use in this
function)
au_audio.c:1108: `stream' undeclared (first use in this
function)
au_audio.c:1108: warning: statement with no effect
au_audio.c:1109: parse error before `*'
au_audio.c:1115: `count' undeclared (first use in this
function)
au_audio.c:1121: warning: implicit declaration of
function `wake_up_interruptible'
au_audio.c:1125: `cur' undeclared (first use in this
function)
au_audio.c:1128: `remaining' undeclared (first use in
this function)
au_audio.c: In function `au_dsp_register':
au_audio.c:115: warning: `status' might be used
uninitialized in this function
au_audio.c: In function `au_audio_register':
au_audio.c:132: warning: `status' might be used
uninitialized in this function
make: *** [au_audio.o] Error 1

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I guess I should also state that I'm using Red Hat 7.3 and
    have tried the 1.1.1 and 1.1.2 drivers

     
  • Bogdan Stancescu

    Logged In: YES
    user_id=341406

    Didn't want to submit a new bug because I think my problem
    is somehow related to this bug: I use Mandrake 8.1 and have
    an Aureal Vortex 2. When trying to make, I get the following:

    gcc -D__KERNEL__ -DMODULE -DAU8830 -mpentiumpro -O6
    -fomit-frame-pointer -Wall -pipe
    -I/lib/modules/2.4.8-26mdk/build/include -c -o au_audio.o
    au_audio.c
    In file included from au_vortex.h:50,
    from au_audio.c:49:
    /usr/include/linux/modversions.h:1:2: #error Modules should
    never use kernel-headers system headers,
    /usr/include/linux/modversions.h:2:2: #error but headers
    from an appropriate kernel-source
    make: *** [au_audio.o] Error 1

    Using the cvs version (module aureal).

     
  • Jon Wood

    Jon Wood - 2002-07-14

    Logged In: YES
    user_id=246336

    I'm also getting a similar bug, but with a different error message...

    /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 "======================================================="

     
  • Nobody/Anonymous

    Logged In: NO

    I had the same issues with the 1.1.2 version
    but the CVS version worked fine on RH 7.3
    for au8830

     
  • Nobody/Anonymous

    Logged In: NO

    I was about the same set of errors, however, switching to
    the most recent kernel for some reason fixed the problem

     
  • Warren Chartier

    Warren Chartier - 2003-07-24

    Logged In: YES
    user_id=22025

    Install some kernel sources.

     
  • Warren Chartier

    Warren Chartier - 2003-07-24
    • status: open --> closed-rejected
     

Log in to post a comment.